Microsoft Windows CE 3.0  

IOCTL_DISK_SETINFO

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.

Block device drivers respond to this I/O control code to service FAT file system requests to set disk information.

Parameters

hDevice
Block device handle.
dwIoControlCode
Specifies this code.
lpInBuffer
Pointer to a DISK_INFOstructure.
nInBufferSize
Specifies the size of DISK_INFO.
lpOutBuffer
Not used.
nOutBufferSize
Not used.
lpBytesReturned
Pointer to a DWORDto receive total bytes returned.
lpOverlapped
Not used.

Remarks

In Windows CE versions prior to 3.0, this code was called DISK_IOCTL_SETINFO. DISK_INFOis also filled in by the FAT file system in as it expects the block driver to fill the structure for the IOCTL_DISK_GETINFO control code. This code is to inform the block driver of discrepancies in the disk information that was provided to the FAT file system, according to information found on the device media itself, such as in the master boot record of a FAT volume. It may not always be possible for a driver to determine the sector size or total number of sectors on a volume accurately, in which case the file system driver must identify and attempt to correct the discrepancy.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 and later      
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.