IPXC_Document::AuthorizeWithPassword2 Method

From PDF XChange PDF SDK
Revision as of 06:59, 12 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


Like IPXC_Document_AuthorizeWithPassword method authorize document with specified password, but this function takes password in raw format.

Syntax

HRESULT AuthorizeWithPassword2([in]           UCHAR*           Pwd,
                               [in]           ULONG            Len,
                               [out, retval]  PXC_PermStatus*  Status);

Parameters

Pwd
[in] Pointer to the BYTE buffer that contains the password.
Len
[in] Specifies the length in bytes of the Pwd buffer.
Status
[out, retval] Returns PXC_PermStatus value that indicates if document was successfully authorized.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_Document