#ifndef _NTEXAPI_H
// EDID v1.4 standard data format
typedef struct _SYSTEM_EDID_INFORMATION
{
union
{
UCHAR Edid[128];
struct
{
UCHAR Header[8]; // 00h: EDID header (00 FF FF FF FF FF FF 00)
UCHAR ManufacturerId[2]; // 08h: Manufacturer ID (big endian)
UCHAR ProductCode[2]; // 0Ah: Product code (little endian)
UCHAR SerialNumber[4]; // 0Ch: Serial number
UCHAR WeekOfManufacture; // 10h: Week of manufacture
UCHAR YearOfManufacture; // 11h: Year of manufacture (offset from 1990)
UCHAR EdidVersion; // 12h: EDID version (should be 1)
UCHAR EdidRevision; // 13h: EDID revision (should be 4)
UCHAR VideoInputDefinition; // 14h: Video input parameters
UCHAR MaxHorizontalImageSize; // 15h: Max horizontal image size (cm)
UCHAR MaxVerticalImageSize; // 16h: Max vertical image size (cm)
UCHAR DisplayGamma; // 17h: Display gamma (gamma*100 - 100)
UCHAR FeatureSupport; // 18h: DPMS features, color encoding, etc.
UCHAR Chromaticity[10]; // 19h: Chromaticity coordinates
UCHAR EstablishedTimings[3]; // 23h: Established timings
UCHAR StandardTimings[16]; // 26h: Standard timings (8x2 bytes)
SYSTEM_EDID_DETAILED_TIMING_DESCRIPTOR DetailedTiming[4]; // 36h: 4 detailed timing descriptors (18 bytes each)
UCHAR ExtensionFlag; // 7Eh: Number of (optional) 128-byte extension blocks
UCHAR Checksum; // 7Fh: Checksum (sum of all 128 bytes = 0)
};
};
} SYSTEM_EDID_INFORMATION, *PSYSTEM_EDID_INFORMATION;
View code on GitHubNo description available.