IAFS_Inst::CopyFile Method

From Tracker Software PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CopyFile([in] IAFS_Name* pSrcName, [in] IAFS_Name* pDstName, [in, optional] IAFS_ProgressMon* pProgMon, [in, optional] IString* pErrDetails, [in, optional] IFlag* pCancelFlag);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CopyFile([in] IAFS_Name* pSrcName, [in] IAFS_Name* pDstName, [in, optional, defaultvalue(NULL)] IAFS_ProgressMon* pProgMon, [in, optional, defaultvalue(NULL)] IString* pErrDetails, [in, optional, defaultvalue(NULL)] IFlag* pCancelFlag);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 13: Line 13:
 
:[in]  Pointer to [[PXV:IAFS_Name|IAFS_Name]].
 
:[in]  Pointer to [[PXV:IAFS_Name|IAFS_Name]].
 
;''pProgMon''
 
;''pProgMon''
:[in, optional]  Pointer to [[PXV:IAFS_ProgressMon|IAFS_ProgressMon]].
+
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IAFS_ProgressMon|IAFS_ProgressMon]].
 
;''pErrDetails''
 
;''pErrDetails''
:[in, optional]  Pointer to [[PXV:IString|IString]].
+
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
 
;''pCancelFlag''
 
;''pCancelFlag''
:[in, optional]  Pointer to [[PXV:IFlag|IFlag]].
+
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IFlag|IFlag]].
  
 
== Return Value ==
 
== Return Value ==

Revision as of 08:24, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CopyFile([in] IAFS_Name* pSrcName, [in] IAFS_Name* pDstName, [in, optional, defaultvalue(NULL)] IAFS_ProgressMon* pProgMon, [in, optional, defaultvalue(NULL)] IString* pErrDetails, [in, optional, defaultvalue(NULL)] IFlag* pCancelFlag);

Parameters

pSrcName
[in] Pointer to IAFS_Name.
pDstName
[in] Pointer to IAFS_Name.
pProgMon
[in, optional, defaultvalue(NULL)] Pointer to IAFS_ProgressMon.
pErrDetails
[in, optional, defaultvalue(NULL)] Pointer to IString.
pCancelFlag
[in, optional, 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.