IAFS_Inst::CopyFileToStream Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IAFS_Inst::CopyFileToStream Method}} | {{#customTitle:IAFS_Inst::CopyFileToStream Method}} | ||
+ | {{#parentPage:PXV:IAFS_Inst#Methods|CopyFileToStream|method}} | ||
+ | {{ToWrite}} | ||
+ | {{ToReview}} | ||
The method of interface of PDF-XChange Editor SDK. | The method of interface of PDF-XChange Editor SDK. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CopyFileToStream([in] IAFS_File* pSrcFile, [in] IStream* pDstStream, [in, defaultvalue(0)] VARIANT_BOOL bKeepPositions, [in, defaultvalue(NULL)] IAFS_ProgressMon* pProgMon, [in, defaultvalue(NULL)] IString* pErrDetails, [in, defaultvalue(NULL)] IFlag* pCancelFlag);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT CopyFileToStream([in] IAFS_File* pSrcFile, |
+ | [in] IStream* pDstStream, | ||
+ | [in, defaultvalue(0)] VARIANT_BOOL bKeepPositions, | ||
+ | [in, defaultvalue(NULL)] IAFS_ProgressMon* pProgMon, | ||
+ | [in, defaultvalue(NULL)] IString* pErrDetails, | ||
+ | [in, defaultvalue(NULL)] IFlag* pCancelFlag);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pSrcFile |
:[in] Pointer to [[PXV:IAFS_File|IAFS_File]]. | :[in] Pointer to [[PXV:IAFS_File|IAFS_File]]. | ||
− | ; | + | ;pDstStream |
:[in] Pointer to IStream. | :[in] Pointer to IStream. | ||
− | ; | + | ;bKeepPositions |
:[in, defaultvalue(0)] Value of VARIANT_BOOL. | :[in, defaultvalue(0)] Value of VARIANT_BOOL. | ||
− | ; | + | ;pProgMon |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IAFS_ProgressMon|IAFS_ProgressMon]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IAFS_ProgressMon|IAFS_ProgressMon]]. | ||
− | ; | + | ;pErrDetails |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IString|IString]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IString|IString]]. | ||
− | ; | + | ;pCancelFlag |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IFlag|IFlag]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IFlag|IFlag]]. | ||
Line 25: | Line 34: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IAFS_Inst|IAFS_Inst]] |
Latest revision as of 02:10, 15 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT CopyFileToStream([in] IAFS_File* pSrcFile, [in] IStream* pDstStream, [in, defaultvalue(0)] VARIANT_BOOL bKeepPositions, [in, defaultvalue(NULL)] IAFS_ProgressMon* pProgMon, [in, defaultvalue(NULL)] IString* pErrDetails, [in, defaultvalue(NULL)] IFlag* pCancelFlag);
Parameters
- pSrcFile
- [in] Pointer to IAFS_File.
- pDstStream
- [in] Pointer to IStream.
- bKeepPositions
- [in, defaultvalue(0)] Value of VARIANT_BOOL.
- pProgMon
- [in, defaultvalue(NULL)] Pointer to IAFS_ProgressMon.
- pErrDetails
- [in, defaultvalue(NULL)] Pointer to IString.
- pCancelFlag
- [in, defaultvalue(NULL)] Pointer to IFlag.
Return Value
Returns S_OK if operation was successful or error code in other cases.