IXtfCopyFileCallback::OnFileCopyProgress Method

Called when the progress of a file copy changes.

Syntax

public:
HRESULT OnFileCopyProgress(
         LPCWSTR pszSrcFileName,
         LPCWSTR pszDstFileName,
         ULONGLONG ullFileSize,
         ULONGLONG ullBytesCopied
)  

Parameters

pszSrcFileName
Type: LPCWSTR 

Pointer to the filename of the target file copied from.

pszDstFileName
Type: LPCWSTR 

Pointer to the filename of the target file copied to.

ullFileSize
Type: ULONGLONG 

Total size of the source file, in bytes.

ullBytesCopied
Type: ULONGLONG 

Number of bytes of the file that have been copied so far.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in xtffileio.h.

Library: Use xtffileio.lib.

See also

Reference

IXtfCopyFileCallback Interface

IXtfCopyFileCallback Members

XtfFileIO