IAFS_Inst::CopyFileToStream Method

From PDF XChange PDF SDK
Revision as of 08:43, 10 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CopyFileToStream([in]                      IAFS_File*         SrcFile,
                         [in]                      IStream*           DstStream,
                         [in, defaultvalue(0)]     VARIANT_BOOL       KeepPositions,
                         [in, defaultvalue(NULL)]  IAFS_ProgressMon*  ProgMon,
                         [in, defaultvalue(NULL)]  IString*           ErrDetails,
                         [in, defaultvalue(NULL)]  IFlag*             CancelFlag);

Parameters

SrcFile
[in] Pointer to IAFS_File.
DstStream
[in] Pointer to IStream.
KeepPositions
[in, defaultvalue(0)] Value of VARIANT_BOOL.
ProgMon
[in, defaultvalue(NULL)] Pointer to IAFS_ProgressMon.
ErrDetails
[in, defaultvalue(NULL)] Pointer to IString.
CancelFlag
[in, defaultvalue(NULL)] Pointer to IFlag.

Return Value

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

See Also

IAFS_Inst