IAFS_FileSys::BindToObject Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IAFS_FileSys::BindToObject Method}}
 
{{#customTitle:IAFS_FileSys::BindToObject Method}}
{{#parentPage:PXV:IAFS_FileSys|method}}
+
{{#parentPage:PXV:IAFS_FileSys#Methods|BindToObject|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT BindToObject([in] IUnknown* pObj, [in, defaultvalue(NULL)] IAFS_BindContext* pCtx, [in, defaultvalue(0)] LONG nFlags, [in, defaultvalue(NULL)] IString* pErrDetails, [in, defaultvalue(NULL)] IFlag* pCancelFlag, [out, retval] IAFS_Name** ppHostName);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT BindToObject([in]                     IUnknown*         pObj,
 +
                    [in, defaultvalue(NULL)] IAFS_BindContext* pCtx,
 +
                    [in, defaultvalue(0)]     LONG               nFlags,
 +
                    [in, defaultvalue(NULL)] IString*           pErrDetails,
 +
                    [in, defaultvalue(NULL)] IFlag*             pCancelFlag,
 +
                    [out, retval]             IAFS_Name**       pHostName);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pObj''
+
;pObj
 
:[in]  Pointer to IUnknown*.
 
:[in]  Pointer to IUnknown*.
;''pCtx''
+
;pCtx
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IAFS_BindContext|IAFS_BindContext]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IAFS_BindContext|IAFS_BindContext]].
;''nFlags''
+
;nFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''pErrDetails''
+
;pErrDetails
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
;''pCancelFlag''
+
;pCancelFlag
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IFlag|IFlag]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IFlag|IFlag]].
;''ppHostName''
+
;pHostName
 
:[out, retval]  Pointer to [[PXV:IAFS_Name|IAFS_Name]].
 
:[out, retval]  Pointer to [[PXV:IAFS_Name|IAFS_Name]].
  
Line 28: Line 34:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IAFS_FileSys|IAFS_FileSys]].
+
[[PXV:IAFS_FileSys|IAFS_FileSys]]

Latest revision as of 02:10, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT BindToObject([in]                      IUnknown*          pObj,
                     [in, defaultvalue(NULL)]  IAFS_BindContext*  pCtx,
                     [in, defaultvalue(0)]     LONG               nFlags,
                     [in, defaultvalue(NULL)]  IString*           pErrDetails,
                     [in, defaultvalue(NULL)]  IFlag*             pCancelFlag,
                     [out, retval]             IAFS_Name**        pHostName);

Parameters

pObj
[in] Pointer to IUnknown*.
pCtx
[in, defaultvalue(NULL)] Pointer to IAFS_BindContext.
nFlags
[in, defaultvalue(0)] Value of LONG.
pErrDetails
[in, defaultvalue(NULL)] Pointer to IString.
pCancelFlag
[in, defaultvalue(NULL)] Pointer to IFlag.
pHostName
[out, retval] Pointer to IAFS_Name.

Return Value

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

See Also

IAFS_FileSys