IPXC_SecurityHandler::Authorize Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Authorize([in] IPXC_Document* pDoc, [in] PXC_RequestObj reqObj, [in] PXC_RequestOper reqOpr, [in] void* authData, [out, retval] PXC_PermStatus* pStatus);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Authorize([in] IPXC_Document* pDoc, [in] PXC_RequestObj nReqObj, [in] PXC_RequestOper nReqOpr, [in] void* pAuthData, [out, retval] PXC_PermStatus* pStatus);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;''pDoc''
 
;''pDoc''
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
;''reqObj''
+
;''nReqObj''
 
:[in]  Value of [[PXV:PXC_RequestObj|PXC_RequestObj]].
 
:[in]  Value of [[PXV:PXC_RequestObj|PXC_RequestObj]].
;''reqOpr''
+
;''nReqOpr''
 
:[in]  Value of [[PXV:PXC_RequestOper|PXC_RequestOper]].
 
:[in]  Value of [[PXV:PXC_RequestOper|PXC_RequestOper]].
;''authData''
+
;''pAuthData''
 
:[in]  Pointer to void.
 
:[in]  Pointer to void.
 
;''pStatus''
 
;''pStatus''

Revision as of 08:19, 21 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Authorize([in] IPXC_Document* pDoc, [in] PXC_RequestObj nReqObj, [in] PXC_RequestOper nReqOpr, [in] void* pAuthData, [out, retval] PXC_PermStatus* pStatus);

Parameters

pDoc
[in] Pointer to IPXC_Document.
nReqObj
[in] Value of PXC_RequestObj.
nReqOpr
[in] Value of PXC_RequestOper.
pAuthData
[in] Pointer to void.
pStatus
[out, retval] Pointer to PXC_PermStatus.

Return Value

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

See Also

See also IPXC_SecurityHandler.