From Tracker Software PDF SDK
Revision as of 02:24, 15 June 2015 by Dsbot (Automatic page editing by robot)
Like IPXC_Document_AuthorizeWithPassword method authorize document with specified password, but this function takes password in raw format.
HRESULT AuthorizeWithPassword2([in] UCHAR* nPwd, [in] ULONG nLen, [out, retval] PXC_PermStatus* nStatus);
- [in] Pointer to the BYTE buffer that contains the password.
- [in] Specifies the length in bytes of the nPwd buffer.
- [out, retval] Returns PXC_PermStatus value that indicates if document was successfully authorized.
Returns S_OK if operation was successful or error code in other cases.