IPXC_Document::AuthorizeWithPassword2 Method

From Tracker Software PDF SDK
Revision as of 02:24, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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*           nPwd,
                               [in]           ULONG            nLen,
                               [out, retval]  PXC_PermStatus*  nStatus);

Parameters

nPwd
[in] Pointer to the BYTE buffer that contains the password.
nLen
[in] Specifies the length in bytes of the nPwd buffer.
nStatus
[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