IPXC_Document::RequestPermission Method

From Tracker Software PDF SDK
Revision as of 01:36, 2 June 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Gets the requested permission for the needed operation from the document.

Syntax

HRESULT RequestPermission([in]                      PXC_RequestObj   nReqObj,
                          [in]                      PXC_RequestOper  nReqOper,
                          [in, defaultvalue(NULL)]  void*            pAuthData,
                          [out, retval]             PXC_PermStatus*  nStatus);

Parameters

nReqObj
[in] Value of PXC_RequestObj containing the object which permission will be requested.
nReqOper
[in] Value of PXC_RequestOper containing the object's operation that should be checked for permission.
pAuthData
[in, defaultvalue(NULL)] Pointer to void. Currently not implemented
nStatus
[out, retval] Pointer to PXC_PermStatus, containing the resulting permission status.

Return Value

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

See Also

IPXC_Document