- 7



return iResult;

}

VESA.H VESAINFO VESAMODEINFO, VBE . VESA.H 7.2.

7.2. VESA.H

// VBE

typedef struct

{

// VBE

char cSignature[4];

unsigned short usVersion;

char far *fpInfoOEM;

unsigned char ucCapabilities[4];

unsigned short far *fpModeTable;


// VBE 1.2

unsigned short usTotalMemory;


// VBE 2.0

unsigned short usRevVersion;

char far *fpOEMName;

char far *fpOEMProductName;

char far *fpOEMRevVersion;

char cReserv[222];

char cOEMData[256];

} VESAINFO;


//

typedef struct

{

unsigned short usModeAttr;

unsigned char ucWinAAttr;

unsigned char ucWinBAttr;

unsigned short usWinGranularity;

unsigned short usWinSize;

unsigned short usBegSegA;

unsigned short usBegSegB;

void far *fpWinFunc;

unsigned short usBytesPerScanLine;


// VBE 1.2