MyFSD_FsIoControl (Windows CE 5.0)
This function can be exported by an FSD. It processes IOCTL codes for a file system volume. An application should not call this function directly. Instead, the corresponding standard function CeFsIoControl should be used. An FSD manager determines the file system type and calls the MyFSD_FsIoControl implementation of the function.
BOOLMyFSD_FsIoControl( DWORDpVol,
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 in its DLL and passes to the FSDMGR_RegisterVolume function when registering the volume. The definition of pVolume can point to private structures. - dwIoControlCode
[in] File system IOCTL code. - lpInBuffer
[in] Long pointer to a buffer that contains the data required to perform the operation. Set to NULL, if the dwIoControlCode parameter 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 the dwIoControlCode parameter 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 Values
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Fsdmgr.h.
Link Library: Fsdmgr.lib.
See Also
FSD Functions | CeFsIoControl | FSDMGR_RegisterVolume
Send Feedback on this topic to the authors