added numeric values to video driver control/status codes

This commit is contained in:
cebix 2001-01-25 21:37:41 +00:00
parent aa018d1bdd
commit 049092ac3d

View File

@ -23,58 +23,58 @@
// Video driver control codes
enum {
cscReset = 0,
cscKillIO,
cscSetMode,
cscSetEntries,
cscSetGamma,
cscGrayPage,
cscSetGray,
cscSetInterrupt,
cscDirectSetEntries,
cscSetDefaultMode,
cscSwitchMode,
cscSetSync,
cscSavePreferredConfiguration = 16,
cscSetHardwareCursor = 22,
cscDrawHardwareCursor,
cscSetConvolution,
cscSetPowerState,
cscPrivateControlCall,
cscSetMultiConnect,
cscSetClutBehavior,
cscReset = 0,
cscKillIO = 1,
cscSetMode = 2,
cscSetEntries = 3,
cscSetGamma = 4,
cscGrayPage = 5,
cscSetGray = 6,
cscSetInterrupt = 7,
cscDirectSetEntries = 8,
cscSetDefaultMode = 9,
cscSwitchMode = 10,
cscSetSync = 11,
cscSavePreferredConfiguration = 16,
cscSetHardwareCursor = 22,
cscDrawHardwareCursor = 23,
cscSetConvolution = 24,
cscSetPowerState = 25,
cscPrivateControlCall = 26,
cscSetMultiConnect = 27,
cscSetClutBehavior = 28,
cscUnusedCall = 127
};
// Video driver status codes
enum {
cscGetMode = 2,
cscGetEntries,
cscGetPageCnt,
cscGetPageBase,
cscGetGray,
cscGetInterrupt,
cscGetGamma,
cscGetDefaultMode,
cscGetCurMode,
cscGetSync,
cscGetConnection,
cscGetModeTiming,
cscGetModeBaseAddress,
cscGetScanProc,
cscGetPreferredConfiguration,
cscGetNextResolution,
cscGetVideoParameters,
cscGetGammaInfoList = 20,
cscRetrieveGammaTable,
cscSupportsHardwareCursor,
cscGetHardwareCursorDrawState,
cscGetConvolution,
cscGetPowerState,
cscPrivateStatusCall,
cscGetDDCBlock,
cscGetMultiConnect,
cscGetClutBehavior
cscGetMode = 2,
cscGetEntries = 3,
cscGetPageCnt = 4,
cscGetPageBase = 5,
cscGetGray = 6,
cscGetInterrupt = 7,
cscGetGamma = 8,
cscGetDefaultMode = 9,
cscGetCurMode = 10,
cscGetSync = 11,
cscGetConnection = 12,
cscGetModeTiming = 13,
cscGetModeBaseAddress = 14,
cscGetScanProc = 15,
cscGetPreferredConfiguration = 16,
cscGetNextResolution = 17,
cscGetVideoParameters = 18,
cscGetGammaInfoList = 20,
cscRetrieveGammaTable = 21,
cscSupportsHardwareCursor = 22,
cscGetHardwareCursorDrawState = 23,
cscGetConvolution = 24,
cscGetPowerState = 25,
cscPrivateStatusCall = 26,
cscGetDDCBlock = 27,
cscGetMultiConnect = 28,
cscGetClutBehavior = 29
};
enum { // VDSwitchInfo struct