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)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT BindToObject([in] IUnknown* pObj, [in, optional, defaultvalue(NULL)] IAFS_BindContext* pCtx, [in, optional, defaultvalue(0)] LONG nFlags, [in, optional, defaultvalue(NULL)] IString* pErrDetails, [in, optional, 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** ppHostName);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Pointer to IUnknown*.
 
:[in]  Pointer to IUnknown*.
 
;''pCtx''
 
;''pCtx''
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IAFS_BindContext|IAFS_BindContext]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IAFS_BindContext|IAFS_BindContext]].
 
;''nFlags''
 
;''nFlags''
:[in, optional, defaultvalue(0)]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
 
;''pErrDetails''
 
;''pErrDetails''
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
 
;''pCancelFlag''
 
;''pCancelFlag''
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IFlag|IFlag]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IFlag|IFlag]].
 
;''ppHostName''
 
;''ppHostName''
 
:[out, retval]  Pointer to [[PXV:IAFS_Name|IAFS_Name]].
 
:[out, retval]  Pointer to [[PXV:IAFS_Name|IAFS_Name]].

Revision as of 12:13, 16 April 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** ppHostName);

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.
ppHostName
[out, retval] Pointer to IAFS_Name.

Return Value

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

See Also

See also IAFS_FileSys.