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 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FindDocBySrcFileName2([in]                  BSTR            sSrcFileName,
+
<pre class="brush:cpp;gutter:false">HRESULT FindDocBySrcFileName2([in]                  BSTR            SrcFileName,
                               [in, defaultvalue(0)]  VARIANT_BOOL    bDIPath,
+
                               [in, defaultvalue(0)]  VARIANT_BOOL    DIPath,
                               [out, retval]          IPXV_Document**  pDoc);</pre>
+
                               [out, retval]          IPXV_Document**  Doc);</pre>
  
 
== Parameters ==
 
== Parameters ==
;sSrcFileName
+
;SrcFileName
 
:[in]  The unicode string containing the source file name.
 
:[in]  The unicode string containing the source file name.
;bDIPath
+
;DIPath
 
:[in, defaultvalue(0)]  The flag that specifies the input file name is device-independed or not.
 
:[in, defaultvalue(0)]  The flag that specifies the input file name is device-independed or not.
;pDoc
+
;Doc
 
:[out, retval]  Returns pointer to the corresponding [[PXV:IPXV_Document|IPXV_Document]] object, if found.
 
:[out, retval]  Returns pointer to the corresponding [[PXV:IPXV_Document|IPXV_Document]] object, if found.
  

Revision as of 07:32, 12 June 2015


Finds opened document by source file name.

Syntax

HRESULT FindDocBySrcFileName2([in]                   BSTR             SrcFileName,
                              [in, defaultvalue(0)]  VARIANT_BOOL     DIPath,
                              [out, retval]          IPXV_Document**  Doc);

Parameters

SrcFileName
[in] The unicode string containing the source file name.
DIPath
[in, defaultvalue(0)] The flag that specifies the input file name is device-independed or not.
Doc
[out, retval] Returns pointer to the corresponding IPXV_Document object, if found.

Return Value

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

See Also

IPXV_Inst, IPXV_Inst::FindDocByCoreDoc, IPXV_Inst::FindDocByID, IPXV_Inst::FindDocBySrcFile