IAFS_Inst::CopyFile Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT CopyFile([in] IAFS_Name* pSrcName, [in] IAFS_Name* pDstName, [in, defaultvalue(NULL)] IAFS_ProgressMon* pProgMon, [in, defaultvalue(NULL)] IString* pErrDetails, [in, defaultvalue(NULL)] IFlag* pCancelFlag);
Parameters
- pSrcName
- [in] Pointer to IAFS_Name.
- pDstName
- [in] Pointer to IAFS_Name.
- 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.