IPXV_Inst::FindDocBySrcFileName Method

From PDF XChange PDF SDK
Jump to: navigation, search


Finds opened document by source file name.

Syntax

HRESULT FindDocBySrcFileName([in]           IAFS_Name*       pSrcFileName,
                             [out, retval]  IPXV_Document**  pDoc);

Parameters

pSrcFileName
[in] Pointer to IAFS_Name 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::FindDocBySrcFile, IPXV_Inst::FindDocBySrcFileName2