MyFSD_FsIoControl (Windows Embedded CE 6.0)
1/6/2010
This function processes I/O control codes for a file system volume. An application does not call this function directly. Instead, it uses the corresponding standard function CeFsIoControl. File System Ddisk Manager (FSDMGR) determines the file system type and calls the MyFSD_FsIoControl implementation of the function.
Syntax
BOOL MyFSD_FsIoControl(
DWORD pVol,
DWORD dwIoControlCode,
LPVOID lpInBuffer,
DWORD nInBufferSize,
LPVOID lpOutBuffer,
DWORD nOutBufferSize,
LPDWORD lpBytesReturned,
LPOVERLAPPED lpOverlapped
);
Parameters
- pVol
[in] Pointer to the value that an FSD defines and passes to the FSDMGR_RegisterVolume function when registering the volume. The definition of this parameter can point to private structures.
- dwIoControlCode
[in] File system I/O control code.
- lpInBuffer
[in] Long pointer to a buffer that contains the data required to perform the operation. Set to NULL if dwIoControlCode specifies an operation that does not require input data.
- nInBufferSize
[in] Size, in bytes, of the buffer pointed to by lpInBuffer.
- lpOutBuffer
[out] Long pointer to a buffer that receives the output data for the operation. Set to NULL if dwIoControlCode does not produce output data.
- nOutBufferSize
[in] Size, in bytes, of the buffer pointed to by lpOutBuffer.
- lpBytesReturned
[out] Long pointer to a variable that receives the size, in bytes, of the data stored in the buffer pointed to by lpOutBuffer.
- lpOverlapped
[in] Ignored. Set to NULL.
Return Value
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
Requirements
Header | fsdmgr.h |
Library | Fsdmgr.lib |
Windows Embedded CE | Windows CE 5.0 and later |