Share via


FILE_COPY_EXTERNAL (Windows Embedded CE 6.0)

1/6/2010

This structure contains the necessary input for the FSCTL_COPY_EXTERNAL_START I/O control.

Syntax

typedef struct _FILE_COPY_EXTERNAL {
  DWORD cbSize; 
  DWORD dwDirection; 
  PVOID pUserData; 
  DWORD cbUserDataSize; 
  TCHAR szCancelEventName[MAX_PATH];
} FILE_COPY_EXTERNAL, *PFILE_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.

Requirements

Header fsioctl.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Copy External Structures
FSCTL_COPY_EXTERNAL_START