次の方法で共有


IOCTL_DISK_COPY_EXTERNAL_COMPLETE (Compact 2013)

3/26/2014

This I/O control message is called by the file system to inform the block driver that the transfer is complete. Send this message with DeviceIoControl.

Syntax

BOOL DeviceIoControl(
    HANDLE hDevice,           // handle to device
    DWORD dwIoControlCode,    // use IOCTL_DISK_COPY_EXTERNAL_COMPLETE
    LPVOID lpInBuffer,        // pointer to input buffer
    DWORD nInBufferSize,      // input buffer size
    LPVOID lpOutBuffer,       // pointer to output buffer
    DWORD nOutBufferSize,     // output buffer size
    LPDWORD lpBytesReturned,  // number of bytes returned
    OVERLAPPED lpOverlapped   // pointer to OVERLAPPED structure
);

Parameters

  • hDevice
    The handle to the device.
  • dwIoControlCode
    [in] Control code for the operation. Use IOCTL_DISK_COPY_EXTERNAL_COMPLETE for this operation.
  • lpInBuffer
    [in] Pointer to user-defined data.
  • nInBufferSize
    [in] Size of the input buffer.
  • lpOutBuffer
    [out] Not used; set to NULL.
  • nOutBufferSize
    [out] Not used; set to zero.
  • lpBytesReturned
    [out] Not used; set to NULL.
  • lpOverlapped

Return Values

Returns nonzero value if successful; otherwise, returns zero.

Requirements

Header

diskio.h

See Also

Reference

Copy External I/O Controls