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)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_SecurityHandler::Authorize Method}}
 
{{#customTitle:IPXC_SecurityHandler::Authorize Method}}
{{#parentPage:PXV:IPXC_SecurityHandler|method}}
+
{{#parentPage:PXV:IPXC_SecurityHandler#Methods|Authorize|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== 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* nStatus);</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''
+
;nStatus
 
:[out, retval]  Pointer to [[PXV:PXC_PermStatus|PXC_PermStatus]].
 
:[out, retval]  Pointer to [[PXV:PXC_PermStatus|PXC_PermStatus]].
  
Line 26: Line 31:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_SecurityHandler|IPXC_SecurityHandler]].
+
[[PXV:IPXC_SecurityHandler|IPXC_SecurityHandler]]

Latest revision as of 02:36, 15 June 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*  nStatus);

Parameters

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

Return Value

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

See Also

IPXC_SecurityHandler