Flags Registry Subkey (Compact 2013)

3/26/2014

You can verify registry settings by looking at the Common.reg file. For more information about the contents of registry files, see Registry File. For more information about the names of some registry files, see Run-Time Image Configuration Files.

The following table shows registry flags that are set using the Flags name in the registry. To set them, set the Flags name in the registry to a combination of these values using the bitwise OR (|) operator. They are deprecated in Windows Embedded Compact 2013: they are not commonly used but are still defined in the source code and will have an effect if set in the registry. For replacement flags and settings, see the descriptions in the following table. For more information about the replacement flags, see Registry Settings for FATFS Flag Values. For more information about the location of entries in the registry, see FAT File System Registry Settings.

Deprecated flag

New flag

Value for deprecated flag

Description

FATFS_DEFAULT_REG_FLAGS

None

FATFS_DISABLE_AUTOSCAN |

FATFS_ENABLE_BACKUP_FAT |

FATFS_DISABLE_AUTOFORMAT

Defines the default flags that the file system sets when it reads the registry values.

FATFS_DIR_HANDLE_WRITE

DirHandleWrite

0x00000100

In Windows CE 5.0, the FATFS_DIR_HANDLE_WRITE flag enabled the file system to write to directories by using directory handles.

FATFS_DISABLE_AUTOFORMAT

DisableAutoFormat

0x00000040

In Windows CE 5.0, the FATFS_DISABLE_AUTOFORMAT flag disabled automatic formatting of unformatted volumes.

FATFS_DISABLE_AUTOSCAN

DisableAutoScan

0x00000004

In Windows CE 5.0, the FATFS_DISABLE_AUTOSCAN flag disabled automatic calls to ScanVolume.

FATFS_ENABLE_BACKUP_FAT

FormatTfat

0x00000010

Adds a backup FAT to all formats.

FATFS_FORCE_UNBUFFERED

ForceNoFileBuffering

0x00000200

In Windows CE 5.0, the FATFS_FORCE_UNBUFFERED flag forced reads and writes to file data to be unbuffered.

FATFS_FORCE_WRITETHROUGH

ForceWriteThrough

0x00000020

In Windows CE 5.0, the FATFS_FORCE_WRITETHROUGH flag set all files to WRITE_THROUGH, regardless which parameters were used with CreateFile.

FATFS_LFN_EXTENDED_ALWAYS

LFNExtendedAlways

0x00800000

In Windows CE 5.0, the FATFS_LFN_EXTENDED_ALWAYS flag always generated long file name (LFN) entries for extended characters.

FATFS_NONATOMIC_SECTOR

NonatomicSector

0x00080000

In Windows CE 5.0, the FATFS_NONATOMIC_SECTOR flag used the cluster 1 entry in the FAT table for a TexFAT transaction. By default, TexFAT used the NOF field of the boot sector.

FATFS_RESERVED1

None

0x00000002

Reserved.

FATFS_RESERVED2

None

0x00000008

Reserved.

FATFS_RESERVED3

None

0x00010000

Reserved.

FATFS_RESERVED4

None

0x00020000

Reserved.

FATFS_RESERVED5

None

0x00100000

Reserved.

FATFS_RESERVED6

None

0x00200000

Reserved.

FATFS_RESERVED7

None

0x00400000

Reserved.

FATFS_SCAN_ON_DIRTY

ScanOnDirtyVolume

0x02000000

In Windows CE 5.0, the FATFS_SCAN_ON_DIRTY flag ran a scan when the volume was mounted, if it was dirty.

FATFS_SUPPORT_SECURITY

SecuritySupport

0x00000080

In Windows CE 5.0, the FATFS_SUPPORT_SECURITY flag created a security descriptor directory entry for each file that was created in an ExFAT volume.

FATFS_TRANSACT_DATA

TransactData

0x00040000

In Windows CE 5.0, the FATFS_TRANSACT_DATA flag transacted data on a write operation.

FATFS_UPDATE_ACCESS

UpdateAccess

0x00000001

In Windows CE 5.0, the FATFS_UPDATE_ACCESS flag updated access times.

See Also

Reference

Registry Settings for FATFS Flag Values
File Systems Registry Settings Overview
FAT File System Registry Settings