IAFS_Inst::CopyStreamToFile Method

From PDF XChange PDF SDK
Revision as of 09: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 CopyStreamToFile([in]                      IStream*           SrcStream,
                         [in]                      IAFS_File*         DstFile,
                         [in, defaultvalue(0)]     VARIANT_BOOL       KeepPositions,
                         [in, defaultvalue(NULL)]  IAFS_ProgressMon*  ProgMon,
                         [in, defaultvalue(NULL)]  IString*           ErrDetails,
                         [in, defaultvalue(NULL)]  IFlag*             CancelFlag);

Parameters

SrcStream
[in] Pointer to IStream.
DstFile
[in] Pointer to IAFS_File.
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