IPXV_MainFrame::OpenDocs Method

From PDF XChange PDF SDK
Jump to: navigation, search


Opens multiple documents from given paths.

Syntax

HRESULT OpenDocs([in]                      IAFS_NamesCollection*  pSrcFileNames,
                 [in, defaultvalue(NULL)]  ICab*                  pOpenParams,
                 [in, defaultvalue(0)]     ULONG                  nFlags,
                 [in, defaultvalue(NULL)]  IPXV_DocList*          pResDocs);

Parameters

pSrcFileNames
[in] Pointer to IAFS_NamesCollection containing the paths to the documents.
pOpenParams
[in, defaultvalue(NULL)] Pointer to ICab containing additional document open parameters.
nFlags
[in, defaultvalue(0)] Value of ULONG containing documents' open flags. If 1 is used then no UI will be used when opening the documents.
pResDocs
[in, defaultvalue(NULL)] Pointer to IPXV_DocList containing the list of the opened documents.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_MainFrame