Share via


File Management Constants

File Management contains the following constants.

Note

FMAPI can only be used in the Windows Preinstallation Environment (WinPE) for Windows Vista, Windows Server 2008, and later. Applications that use FMAPI must license WinPE.

FILE_RESTORE_MAJOR_VERSION_1

0x0001

Used to define the major version number of the file restore functions.

FILE_RESTORE_MINOR_VERSION_1

0x0001

Used to define the minor version number of the file restore functions.

FILE_RESTORE_VERSION_1

((FILE_RESTORE_MAJOR_VERSION_1 << 16) | FILE_RESTORE_MINOR_VERSION_1)

Used to define the complete version number of the file restore functions.

FILE_RESTORE_MAJOR_VERSION_2

0x0002

Used to define the major version number of the file restore functions.

FILE_RESTORE_MINOR_VERSION_2

0x0000

Used to define the minor version number of the file restore functions.

FILE_RESTORE_VERSION_2

((FILE_RESTORE_MAJOR_VERSION_2 << 16) | FILE_RESTORE_MINOR_VERSION_2)

Used to define the complete version number of the file restore functions.

FILE_RESTORE_VERSION_CURRENT

FILE_RESTORE_VERSION_2

Used to define the current version number for file restore functions.

VOLUME_INFO_ENCRYPTED

0x0001

Used to define the encrypted status of a volume.

VOLUME_INFO_LOCKED

0x0002

Used to define the locked status of a volume.

Remarks

Note that there is no associated header file for these constants.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]