IPXV_Inst::FindDocBySrcFileName2 Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::FindDocBySrcFileName2 Method}}
 
{{#customTitle:IPXV_Inst::FindDocBySrcFileName2 Method}}
{{#parentPage:PXV:IPXV_Inst|method}}
+
{{#parentPage:PXV:IPXV_Inst|FindDocBySrcFileName2 Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FindDocBySrcFileName2([in] BSTR pSrcFileName, [in, defaultvalue(0)] 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 ==
;''pSrcFileName''
+
;pSrcFileName
 
:[in]  Value of BSTR containing the source file name.
 
:[in]  Value of BSTR containing the source file name.
;''bDIPath''
+
;bDIPath
 
:[in, defaultvalue(0)]  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 06:25, 23 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.