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 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Authorize([in]          IPXC_Document*  Doc,
+
<pre class="brush:cpp;gutter:false">HRESULT Authorize([in]          IPXC_Document*  pDoc,
                   [in]          PXC_RequestObj  ReqObj,
+
                   [in]          PXC_RequestObj  nReqObj,
                   [in]          PXC_RequestOper  ReqOpr,
+
                   [in]          PXC_RequestOper  nReqOpr,
                   [in]          void*            AuthData,
+
                   [in]          void*            pAuthData,
                   [out, retval]  PXC_PermStatus*  Status);</pre>
+
                   [out, retval]  PXC_PermStatus*  nStatus);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Doc
+
;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.
;Status
+
;nStatus
 
:[out, retval]  Pointer to [[PXV:PXC_PermStatus|PXC_PermStatus]].
 
:[out, retval]  Pointer to [[PXV:PXC_PermStatus|PXC_PermStatus]].
  

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