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

Revision as of 06:12, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Authorize([in]           IPXC_Document*   Doc,
                  [in]           PXC_RequestObj   ReqObj,
                  [in]           PXC_RequestOper  ReqOpr,
                  [in]           void*            AuthData,
                  [out, retval]  PXC_PermStatus*  Status);

Parameters

Doc
[in] Pointer to IPXC_Document.
ReqObj
[in] Value of PXC_RequestObj.
ReqOpr
[in] Value of PXC_RequestOper.
AuthData
[in] Pointer to void.
Status
[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