From Tracker Software PDF SDK
Revision as of 17:38, 25 May 2015 by Socrat
Like IPXC_Document_AuthorizeWithPassword method authorize document with specified password, but this function takes password in raw format.
HRESULT AuthorizeWithPassword2([in] BYTE* pPwd, [in] ULONG nLen, [out, retval] PXC_PermStatus* pStatus);
- [in] Pointer to the BYTE buffer that contains the password.
- [in] Specifies the length in bytes of the pPwd 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.