IAFS_FileSys::OpenFile Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OpenFile([in]                      IAFS_Name*   pName,
                                           LONG         nOpenFlags,
                 [in, defaultvalue(NULL)]  IString*     pErrDetails,
                 [in, defaultvalue(NULL)]  IFlag*       pCancelFlag,
                 [out, retval]             IAFS_File**  pFile);

Parameters

pName
[in] Pointer to IAFS_Name.
nOpenFlags
Value of LONG.
pErrDetails
[in, defaultvalue(NULL)] Pointer to IString.
pCancelFlag
[in, defaultvalue(NULL)] Pointer to IFlag.
pFile
[out, retval] Pointer to IAFS_File.

Return Value

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

See Also

IAFS_FileSys