IPXV_Inst::FindDocBySrcFileName2 Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FindDocBySrcFileName2([in] BSTR pSrcFileName, [in, optional] VARIANT_BOOL bDIPath, [out, retval] IPXV_Document** ppDoc);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT FindDocBySrcFileName2([in] BSTR pSrcFileName, [in, defaultvalue(0)] VARIANT_BOOL bDIPath, [out, retval] IPXV_Document** ppDoc);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Value of BSTR containing the source file name.
 
:[in]  Value of BSTR containing the source file name.
 
;''bDIPath''
 
;''bDIPath''
:[in, optional]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
;''ppDoc''
 
;''ppDoc''
 
:[out, retval]  Pointer to the corresponding [[PXV:IPXV_Document|IPXV_Document]] object pointer.
 
:[out, retval]  Pointer to the corresponding [[PXV:IPXV_Document|IPXV_Document]] object pointer.

Revision as of 01:25, 17 April 2015

Finds opened document by source file name.

Syntax

HRESULT FindDocBySrcFileName2([in] BSTR pSrcFileName, [in, defaultvalue(0)] VARIANT_BOOL bDIPath, [out, retval] IPXV_Document** ppDoc);

Parameters

pSrcFileName
[in] Value of BSTR containing the source file name.
bDIPath
[in, defaultvalue(0)] Value of VARIANT_BOOL.
ppDoc
[out, retval] Pointer to the corresponding IPXV_Document object pointer.

Return Value

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

See Also

See also IPXV_Inst, IPXV_Document.