<< Click to Display Table of Contents >> Navigation: Functions > PXCV_GetPermissions |
PXCV_GetPermissions extracts the encryption level and permission settings of documents.
HRESULT PXCV_GetPermissions(
PXVDocument Doc,
DWORD* enclevel,
DWORD* permFlags
);
Doc
[in] Specifies a document that PXCV_Init created.
enclevel
[out] Specifies a pointer to a DWORD variable that receives the encryption level information of the document. The value will be either 40 or 128.
permFlags
[out] Specifies a pointer to a DWORD variable that receives the permission flag information of the document.
Please note that all functions and parameters are case-sensitive.
If the function fails then the return value is an error code.
If the function succeeds then the return value is DS_OK, or a different value that is not an error code.