IPXV_Inst::FindDocBySrcFileName2 Method

From PDF XChange PDF SDK
Revision as of 17:23, 24 May 2015 by Pifagor (Talk | contribs)

Jump to: navigation, search


Finds opened document by source file name.

Syntax

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

Parameters

pSrcFileName
[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.
ppDoc
[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