IAFS_Inst::CopyFileToStream Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CopyFileToStream([in] IAFS_File* | + | <pre class="brush:cpp;gutter:false">HRESULT CopyFileToStream([in] IAFS_File* SrcFile, |
− | [in] IStream* | + | [in] IStream* DstStream, |
− | [in, defaultvalue(0)] VARIANT_BOOL | + | [in, defaultvalue(0)] VARIANT_BOOL KeepPositions, |
− | [in, defaultvalue(NULL)] IAFS_ProgressMon* | + | [in, defaultvalue(NULL)] IAFS_ProgressMon* ProgMon, |
− | [in, defaultvalue(NULL)] IString* | + | [in, defaultvalue(NULL)] IString* ErrDetails, |
− | [in, defaultvalue(NULL)] IFlag* | + | [in, defaultvalue(NULL)] IFlag* CancelFlag);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;SrcFile |
:[in] Pointer to [[PXV:IAFS_File|IAFS_File]]. | :[in] Pointer to [[PXV:IAFS_File|IAFS_File]]. | ||
− | ; | + | ;DstStream |
:[in] Pointer to IStream. | :[in] Pointer to IStream. | ||
− | ; | + | ;KeepPositions |
:[in, defaultvalue(0)] Value of VARIANT_BOOL. | :[in, defaultvalue(0)] Value of VARIANT_BOOL. | ||
− | ; | + | ;ProgMon |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IAFS_ProgressMon|IAFS_ProgressMon]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IAFS_ProgressMon|IAFS_ProgressMon]]. | ||
− | ; | + | ;ErrDetails |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IString|IString]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IString|IString]]. | ||
− | ; | + | ;CancelFlag |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IFlag|IFlag]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IFlag|IFlag]]. | ||
Revision as of 08:43, 10 June 2015
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.