IPXV_Inst::FindDocBySrcFile Method

From PDF XChange PDF SDK
Jump to: navigation, search


Finds opened document by source file object.

Syntax

HRESULT FindDocBySrcFile([in]           IAFS_File*       pSrcFile,
                         [out, retval]  IPXV_Document**  pDoc);

Parameters

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