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)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::FindDocBySrcFileName2 Method}}
 
{{#customTitle:IPXV_Inst::FindDocBySrcFileName2 Method}}
{{#parentPage:PXV:IPXV_Inst#Methods|FindDocBySrcFileName2 Method|method}}
+
{{#parentPage:PXV:IPXV_Inst#Methods|FindDocBySrcFileName2|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
Line 9: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FindDocBySrcFileName2([in]                  BSTR            pSrcFileName,
+
<pre class="brush:cpp;gutter:false">HRESULT FindDocBySrcFileName2([in]                  BSTR            sSrcFileName,
 
                               [in, defaultvalue(0)]  VARIANT_BOOL    bDIPath,
 
                               [in, defaultvalue(0)]  VARIANT_BOOL    bDIPath,
                               [out, retval]          IPXV_Document**  ppDoc);</pre>
+
                               [out, retval]          IPXV_Document**  pDoc);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pSrcFileName
+
;sSrcFileName
:[in]  Value of BSTR containing the source file name.
+
:[in]  The unicode string containing the source file name.
 
;bDIPath
 
;bDIPath
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  The flag that specifies the input file name is device-independed or not.
;ppDoc
+
;pDoc
:[out, retval]  Pointer to the corresponding [[PXV:IPXV_Document|IPXV_Document]] object pointer.
+
:[out, retval]  Returns pointer to the corresponding [[PXV:IPXV_Document|IPXV_Document]] object, if found.
  
 
== Return Value ==
 
== Return Value ==
Line 25: Line 24:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Document|IPXV_Document]].
+
[[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_FindDocByCoreDoc|IPXV_Inst::FindDocByCoreDoc]], [[PXV:IPXV_Inst_FindDocByID|IPXV_Inst::FindDocByID]], [[PXV:IPXV_Inst_FindDocBySrcFile|IPXV_Inst::FindDocBySrcFile]]

Latest revision as of 03:56, 15 June 2015


Finds opened document by source file name.

Syntax

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

Parameters

sSrcFileName
[in] The unicode string containing the source file name.
bDIPath
[in, defaultvalue(0)] The flag that specifies the input file name is device-independed or not.
pDoc
[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