IPXV_Inst::FindDocBySrcFile 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 FindDocBySrcFile([in]          IAFS_File*      pSrcFile,
+
<pre class="brush:cpp;gutter:false">HRESULT FindDocBySrcFile([in]          IAFS_File*      SrcFile,
                         [out, retval]  IPXV_Document**  pDoc);</pre>
+
                         [out, retval]  IPXV_Document**  Doc);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pSrcFile
+
;SrcFile
 
:[in]  Pointer to [[PXV:IAFS_File|IAFS_File]] object.
 
:[in]  Pointer to [[PXV:IAFS_File|IAFS_File]] object.
;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 06:31, 12 June 2015


Finds opened document by source file object.

Syntax

HRESULT FindDocBySrcFile([in]           IAFS_File*       SrcFile,
                         [out, retval]  IPXV_Document**  Doc);

Parameters

SrcFile
[in] Pointer to IAFS_File object.
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::FindDocBySrcFileName, IPXV_Inst::FindDocBySrcFileName2