DISK_COPY_EXTERNAL (Windows Embedded CE 6.0)
1/6/2010
This structure contains the necessary input for the IOCTL_DISK_COPY_EXTERNAL_START I/O control.
Syntax
typedef struct _DISK_COPY_EXTERNAL {
DWORD cbSize;
DWORD dwDirection;
PVOID pUserData;
DWORD cbUserDataSize;
TCHAR szCancelEventName[MAX_PATH];
ULARGE_INTEGER ulFileSize;
HANDLE hCallerProc;
DWORD cbSectorListSize;
} DISK_COPY_EXTERNAL, *PDISK_COPY_EXTERNAL;
Members
- cbSize
Size of the structure.
dwDirection
The following table shows possible values.Flag Description COPY_EXTERNAL_READ
Read from the disk into the external device.
COPY_EXTERNAL_WRITE
Write to the disk from the external device.
- pUserData
Pointer to the user data needed for copy external in the block driver. Can be set to NULL if not needed, in which case cbUserDataSize must be set to zero.
- cbUserDataSize
Size of the user data, in bytes.
- szCancelEventName
Name of the event that can be signaled to cancel the copy operation. If the even name has a length of zero, the copy cannot be canceled.
- ulFileSize
Size of the file, in bytes.
- hCallerProc
Handle to the calling process.
- cbSectorListSize
Size, in bytes, of the SECTOR_LIST_ENTRY array. The array of SECTOR_LIST_ENTRY structures immediately follows the FILE_COPY_EXTERNAL structure.
Requirements
Header | diskio.h |
Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
Copy External Structures
IOCTL_DISK_COPY_EXTERNAL_START
SECTOR_LIST_ENTRY
FILE_COPY_EXTERNAL