ScanVolumeEx (Windows Embedded CE 6.0)
1/6/2010
This function scans a volume for errors in the FAT and directories, and for lost clusters.
Syntax
DWORD ScanVolumeEx(
HANDLE hVolume,
PSCAN_PARAMS psp,
);
Parameters
- hVolume
[in] Handle to disk or partition. Call the CreateFile function to obtain a handle to the volume.
- pdp
[in, out] Pointer to a SCAN_PARAMS structure used to pass in parameters and receive results of the scan.
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
To obtain results of a scan, use the correct type of handle. For example, if the store to be scanned is partitioned, use a handle to the partition. If the store is not partitioned, use a disk handle.
If the scan completes, this function returns the scan results through the SCAN_RESULTS structure embedded in the SCAN_PARAMS structure.
Requirements
Header | scandisk.h |
Library | Fatutil.dll |
Windows Embedded CE | Windows CE .NET 4.2 and later |
See Also
Reference
FAT Utility Library Functions
CreateFile
SCAN_PARAMS