IAFS_Inst::CopyFile2 Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Contents
Syntax
HRESULT CopyFile2([in] IAFS_File* pSrcFile, [in] IAFS_File* pDstFile, [in, optional] VARIANT_BOOL bKeepPositions, [in, optional] IAFS_ProgressMon* pProgMon, [in, optional] IString* pErrDetails, [in, optional] IFlag* pCancelFlag);
Parameters
- pSrcFile
- [in] Pointer to IAFS_File.
- pDstFile
- [in] Pointer to IAFS_File.
- bKeepPositions
- [in, optional] Value of VARIANT_BOOL.
- pProgMon
- [in, optional] Pointer to IAFS_ProgressMon.
- pErrDetails
- [in, optional] Pointer to IString.
- pCancelFlag
- [in, optional] Pointer to IFlag.
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IAFS_Inst.