次の方法で共有


FormatVolumeUI (Compact 2013)

3/26/2014

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

See Also

Reference

FAT Utility Library Functions
CreateFile