Share via


FILE_COPY_EXTERNAL (Compact 2013)

3/26/2014

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

See Also

Reference

Copy External Structures
FSCTL_COPY_EXTERNAL_START