FORMAT_OPTIONS (Windows Embedded CE 6.0)

1/6/2010

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_SECURE_WIPE

    Performs a secure erase and format.

    FATUTIL_FORMAT_EXFAT

    For Windows Embedded CE 6.0 and later.

    Formats a volume as extended FAT (ExFAT).

    FATUTIL_FORMAT_TFAT

    Enables transaction-safe extended FAT (TexFAT), which is the replacement for TFAT. Use this flag with FATUTIL_FORMAT_EXFAT to format the volume as TexFAT.

    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