Compartir a través de


DISK_COPY_EXTERNAL (Windows CE 5.0)

Send Feedback

This structure contains the necessary input for IOCTL_DISK_COPY_EXTERNAL_START.

typedef struct _DISK_COPY_EXTERNAL {DWORDcbSize;DWORDdwDirection;PVOIDpUserData; DWORDcbUserDataSize;TCHARszCancelEventName[MAX_PATH];  ULARGE_INTEGER ulFileSize;  HANDLE hCallerProc;  DWORD cbSectorListSize;} DISK_COPY_EXTERNAL, *PDISK_COPY_EXTERNAL;

Members

  • cbSize
    Size of the structure.
  • dwDirection
    This member can be set to one of the following 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 0.
  • 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 0, then 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

OS Versions: Windows CE 5.0 and later.
Header: Diskio.h

See Also

Copy External Structures | IOCTL_DISK_COPY_EXTERNAL_START | SECTOR_LIST_ENTRY | FILE_COPY_EXTERNAL

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.