Share via


FORMAT_OPTIONS

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This structure contains user-specified options.

Syntax

typedef struct _FORMAT_OPTIONS {
  DWORD dwClusSize;
  DWORD dwRootEntries;
  DWORD dwFatVersion;
  DWORD dwNumFats;
  DWORD dwFlags;
} FORMAT_OPTIONS;

Members

  • dwClusSize
    Desired cluster size in bytes. Must be a power of 2.
  • dwRootEntries
    Desired number of root directory entries.
  • dwFatVersion
    FAT Version. Either 12, 16, or 32.
  • dwNumFats
    Number of FATs to create.
  • dwFlags
    This member can be set to one or a combination of values. The following table shows possible values.

    Value Description

    FATUTIL_DISABLE_MOUNT_CHK

    Disables checking to see if a volume is mounted prior to performing an operation.

    FATUTIL_FULL_FORMAT

    Performs a full format on a volume.

    FATUTIL_FORMAT_TFAT

    Formats a volume as TFAT.

    FATUTIL_SECURE_WIPE

    Performs a secure erase and format.

    FATUTIL_FORMAT_EXFAT

    For Windows Embedded CE 6.0 and later.

    Formats a volume as exFAT.

    FATUTIL_SUPPORT_ACL

    For Windows Embedded CE 6.0 and later.

    Implements access control list (ACL) support.

Requirements

Header Fatutil.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

FAT File System Structures
FormatVolume