Compartir a través de


PARTENTRY (Windows CE 5.0)

Send Feedback

This structure is a single partition entry in the on-disk partition table that is part of the master boot record (MBR). One PARTENTRY structure exists for each partition, one of which can be an extended partition. The MBR can contain up to 4 PARTENTRY structures.

typedef struct _PARTENTRY {
  BYTE Part_BootInd;  BYTE Part_FirstHead;  BYTE Part_FirstSector;  BYTE Part_FirstTrack;  BYTE Part_FileSystem;  BYTE Part_LastHead;  BYTE Part_LastSector;  BYTE Part_LastTrack;  DWORD Part_StartSector;  DWORD Part_TotalSectors;} PARTENTRY;

Members

  • Part_BootInd
    Boot partition. The following table shows the possible values for this member.
    Value Description
    PART_IND_ACTIVE Partition is an active partition.
    PART_IND_READ_ONLY Partition is a read-only partition.
    PART_IND_HIDDEN Partition is a hidden partition.
  • Part_FirstHead
    Partition starting head.
  • Part_FirstSector
    Partition starting sector.
  • Part_FirstTrack
    Partition starting track.
  • Part_FileSystem
    Partition type signature field. For example, PART_BINFS indicates a BinFS partition, PART_EXTENDED indicates an extended partition, and one of the FAT partition types listed in Bootpart.h indicates a FAT/TFAT partition. The following table shows the possible values for this member.
    Value Description
    PART_UNKNOWN Unknown partition type.
    PART_DOS2_FAT Legitimate DOS partition.
    PART_DOS3_FAT Legitimate DOS partition.
    PART_EXTENDED Extended partition.
    PART_DOS4_FAT Legitimate DOS partition.
    PART_DOS32 Legitimate FAT32 DOS partition.
    PART_DOS32X13 Same as 0x0B only "use LBA".
    PART_DOSX13 Same as 0x06 only "use LBA".
    PART_DOSX13X Same as 0x05 only "use LBA".
    PART_CE_HIDDEN Hidden partition.
    PART_BOOTSECTION Partition that contains the update loader for IMGFS.
    PART_BINFS BinFS partition.
    PART_XIP XIP ROM image.
    PART_ROMIMAGE XIP ROM image. This value is the same as PART_XIP.
    PART_RAMIMAGE XIP RAM image.
    PART_IMGFS IMGFS file system.
    PART_BINARY Raw binary data.
  • Part_LastHead
    Partition ending head.
  • Part_LastSector
    Partition ending sector.
  • Part_LastTrack
    Partition ending track.
  • Part_StartSector
    Logical starting sector.
  • Part_TotalSectors
    Total logical sectors in the partition.

Requirements

OS Versions: Windows CE .NET 4.2 and later
Header: Bootpart.h

See Also

Bootpart Library OS Functions | GetPartitionInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.