Share via


FormatVolumeUI

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function formats 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 FormatVolumeUI(
  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 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 formatdisk.h
Library Fatutil.dll
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

FAT Utility Library Functions
CreateFile