DefragVolumeUI
Other versions of this page are also available for the following:
8/28/2008
This function defragments a volume. It contains a dialog box user interface that can be displayed alone or invoked from another place such as Control Panel.
Syntax
VOID DefragVolumeUI(
HANDLE hVolume,
HWND hWnd
);
Parameters
- hVolume
[in] Handle to disk or partition. Call the CreateFile function to obtain a handle to the volume.
- hWnd
[in] Handle to a parent window. Can be set to NULL if there is no parent.
Return Value
None.
Remarks
For best results, 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.
Requirements
Header | defragdisk.h |
Library | Fatutil.dll |
Windows Embedded CE | Windows CE .NET 4.0 and later |