BytesPerPhysicalSector (4 bytes): The number of bytes in a physical sector of the device. BytesOffsetForSectorAlignment (4 bytes): The logical sector offset within the first physical sector where the first logical sector is placed, in bytes. IOCTL_VOLUME_GET_GPT_ATTRIBUTES Request The IOCTL_VOLUME_GET_GPT_ATTRIBUTES Request message retrieves the attributes for a volume. This message does not contain any additional data elements. IOCTL_VOLUME_GET_GPT_ATTRIBUTES Reply The IOCTL_VOLUME_GET_GPT_ATTRIBUTES Reply message returns the attributes of the volume. 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 GptAttributes … GptAttributes (4 bytes): Specifies all of the attributes associated with a volume. Value Meaning GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY The volume is read-only. 0x1000000000000000 GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY The volume is a shadow copy of another volume. 0x2000000000000000 GPT_BASIC_DATA_ATTRIBUTE_HIDDEN The volume is hidden. 0x4000000000000000 GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER The volume is not assigned a default drive letter. 0x8000000000000000
BytesPerPhysicalSector (4 bytes): The number of bytes in a physical sector of the device. BytesOffsetForSectorAlignment (4 bytes): The logical sector offset within the first physical sector where the first logical sector is placed, in bytes. IOCTL_VOLUME_GET_GPT_ATTRIBUTES Request The IOCTL_VOLUME_GET_GPT_ATTRIBUTES Request message retrieves the attributes for a volume. This message does not contain any additional data elements. IOCTL_VOLUME_GET_GPT_ATTRIBUTES Reply The IOCTL_VOLUME_GET_GPT_ATTRIBUTES Reply message returns the attributes of the volume. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 GptAttributes … GptAttributes (4 bytes): Specifies all of the attributes associated with a volume. Value Meaning GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY 0x1000000000000000 The volume is read-only. GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY 0x2000000000000000 The volume is a shadow copy of another volume. GPT_BASIC_DATA_ATTRIBUTE_HIDDEN 0x4000000000000000 The volume is hidden. GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER 0x8000000000000000 The volume is not assigned a default drive letter.