FSCTL_COPY_EXTERNAL_START (Windows CE 5.0)
This IOCTL is called by a user application to copy from or to an external device.
Parameters
- hFile
[in] Handle to a file received from CreateFile. - dwIoControlCode
[in] Set to FSCTL_COPY_EXTERNAL. - lpInBuf
[in] Pointer to a FILE_COPY_EXTERNAL structure. - nInBufSize
[in] Size of the input buffer. - lpOutBuf
[out] Not used. - nOutBufSize
[in] Not used. - lpBytesReturned
[out] Not used.
Return Values
If successful, the return value is nonzero. If unsuccessful, the return value is zero.
Remarks
The caller of FSCTL_COPY_EXTERNAL should use a mapped pointer for pUserData in the FILE_COPY_EXTERNAL structure. For example, a call to MapPtrToProcess should be performed on the value prior to placing it in the structure. The caller of this IOCTL should also set cbSectorListSize to 0.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Fsioctl.h
See Also
Copy External IOCTLs | CreateFile | FILE_COPY_EXTERNAL | MapPtrToProcess
Send Feedback on this topic to the authors