Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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_FsIoControlimplementation 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_RegisterVolumefunction 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 dwIoControlCodespecifies 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 dwIoControlCodedoes 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 |
Windows Mobile | Windows Mobile Version 5.0 and later |