Freigeben über


FormatVolumeUI (Windows CE 5.0)

Send Feedback

This function formats a volume according to the options specified. It contains a dialog box user interface that can be displayed standalone or invoked from another place such as a control panel window.

VOID FormatVolumeUI(
HANDLEhVolume,HWNDhWnd);

Parameters

  • hVolume
    [in] Handle to disk or partition. Call CreateFile to obtain a handle to the volume.
  • hWnd
    [in] Handle to parent window. Can be NULL if there is no parent.

Return Values

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

OS Versions: Windows CE .NET 4.0 and later.

Header: Formatdisk.h.

Link Library: Fatutil.dll.

See Also

CreateFile

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.