IAFS_Inst::CopyFile2 Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 5: | Line 5: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CopyFile2([in] IAFS_File* pSrcFile, [in] IAFS_File* pDstFile, [in | + | <pre class="brush:cpp;gutter:false">HRESULT CopyFile2([in] IAFS_File* pSrcFile, [in] IAFS_File* pDstFile, [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 == | ||
Line 13: | Line 13: | ||
:[in] Pointer to [[PXV:IAFS_File|IAFS_File]]. | :[in] Pointer to [[PXV:IAFS_File|IAFS_File]]. | ||
;''bKeepPositions'' | ;''bKeepPositions'' | ||
− | :[in | + | :[in, defaultvalue(0)] Value of VARIANT_BOOL. |
;''pProgMon'' | ;''pProgMon'' | ||
− | :[in | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:IAFS_ProgressMon|IAFS_ProgressMon]]. |
;''pErrDetails'' | ;''pErrDetails'' | ||
− | :[in | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:IString|IString]]. |
;''pCancelFlag'' | ;''pCancelFlag'' | ||
− | :[in | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:IFlag|IFlag]]. |
== Return Value == | == Return Value == |
Revision as of 12:15, 16 April 2015
The method of interface of PDF-XChange Editor SDK.
Contents
Syntax
HRESULT CopyFile2([in] IAFS_File* pSrcFile, [in] IAFS_File* pDstFile, [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.
- pDstFile
- [in] Pointer to IAFS_File.
- 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.
See Also
See also IAFS_Inst.