IAFS_Inst::CopyFileToStream Method
From PDF XChange PDF SDK
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.