IPXV_Inst::FindDocByID Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FindDocByID([in]          ULONG            nDocID,
+
<pre class="brush:cpp;gutter:false">HRESULT FindDocByID([in]          ULONG            DocID,
                     [out, retval]  IPXV_Document**  pDoc);</pre>
+
                     [out, retval]  IPXV_Document**  Doc);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nDocID
+
;DocID
 
:[in]  The unique document ID to search for.
 
:[in]  The unique document ID to search for.
;pDoc
+
;Doc
 
:[out, retval]  Returns pointer to [[PXV:IPXV_Document|IPXV_Document]] object, if found.
 
:[out, retval]  Returns pointer to [[PXV:IPXV_Document|IPXV_Document]] object, if found.
  

Revision as of 07:31, 12 June 2015


Finds opened document by unique identifier.

Syntax

HRESULT FindDocByID([in]           ULONG            DocID,
                    [out, retval]  IPXV_Document**  Doc);

Parameters

DocID
[in] The unique document ID to search for.
Doc
[out, retval] Returns pointer to 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::FindDocBySrcFile, IPXV_Inst::FindDocBySrcFileName, IPXV_Inst::FindDocBySrcFileName2