fpGetRestrictionsStream()

This function gets document restrictions from an input stream. For more information about this feature see Document Restrictions.

Syntax

KVErrorCode pascal fpGetRestrictionsStream(
    void* pContext,
    KVInputStream* pInput,
    KVRestrictions* pRestrictions); 

Arguments

pContext A pointer returned from fpInit() or fpInitWithLicenseData().
pInput A pointer to the input stream.
pRestrictions A pointer to the KVRestrictions structure. Use the macro KVStructInit to initialize the KVStructHead structure before calling this function.

Returns

The return value is an error code. See KVErrorCode.

Discussion