Partager via


BOOT_SECTOR_INFO structure

Provides information about the boot sector. This structure is used by the DetectBootSector function.

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.

Syntax

typedef struct _BOOT_SECTOR_INFO {
  LONGLONG                     TotalSectors;
  BOOT_SECTOR_FILE_SYSTEM_TYPE FileSystem;
  ULONG                        BytePerSector;
  ULONG                        SectorPerCluster;
  BOOL                         IsEncrypted;
} BOOT_SECTOR_INFO, *PBOOT_SECTOR_INFO;

Members

TotalSectors

The total number of sectors on the detected volume of the file system.

FileSystem

The type of the file system.

BytePerSector

The number of bytes per sector.

SectorPerCluster

The number of sectors per cluster.

IsEncrypted

This member is not used.

Windows 7, Windows Server 2008 R2, Windows Vista and Windows Server 2008: TRUE if the volume is BitLocker encrypted; otherwise, FALSE.

Remarks

Note that there is no associated header file for this structure.

Requirements

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

See also

DetectBootSector