23 |
|
|
24 |
|
// Video driver control codes |
25 |
|
enum { |
26 |
< |
cscReset = 0, |
27 |
< |
cscKillIO, |
28 |
< |
cscSetMode, |
29 |
< |
cscSetEntries, |
30 |
< |
cscSetGamma, |
31 |
< |
cscGrayPage, |
32 |
< |
cscSetGray, |
33 |
< |
cscSetInterrupt, |
34 |
< |
cscDirectSetEntries, |
35 |
< |
cscSetDefaultMode, |
36 |
< |
cscSwitchMode, |
37 |
< |
cscSetSync, |
38 |
< |
cscSavePreferredConfiguration = 16, |
39 |
< |
cscSetHardwareCursor = 22, |
40 |
< |
cscDrawHardwareCursor, |
41 |
< |
cscSetConvolution, |
42 |
< |
cscSetPowerState, |
43 |
< |
cscPrivateControlCall, |
44 |
< |
cscSetMultiConnect, |
45 |
< |
cscSetClutBehavior, |
26 |
> |
cscReset = 0, |
27 |
> |
cscKillIO = 1, |
28 |
> |
cscSetMode = 2, |
29 |
> |
cscSetEntries = 3, |
30 |
> |
cscSetGamma = 4, |
31 |
> |
cscGrayPage = 5, |
32 |
> |
cscSetGray = 6, |
33 |
> |
cscSetInterrupt = 7, |
34 |
> |
cscDirectSetEntries = 8, |
35 |
> |
cscSetDefaultMode = 9, |
36 |
> |
cscSwitchMode = 10, |
37 |
> |
cscSetSync = 11, |
38 |
> |
cscSavePreferredConfiguration = 16, |
39 |
> |
cscSetHardwareCursor = 22, |
40 |
> |
cscDrawHardwareCursor = 23, |
41 |
> |
cscSetConvolution = 24, |
42 |
> |
cscSetPowerState = 25, |
43 |
> |
cscPrivateControlCall = 26, |
44 |
> |
cscSetMultiConnect = 27, |
45 |
> |
cscSetClutBehavior = 28, |
46 |
|
cscUnusedCall = 127 |
47 |
|
}; |
48 |
|
|
49 |
|
// Video driver status codes |
50 |
|
enum { |
51 |
< |
cscGetMode = 2, |
52 |
< |
cscGetEntries, |
53 |
< |
cscGetPageCnt, |
54 |
< |
cscGetPageBase, |
55 |
< |
cscGetGray, |
56 |
< |
cscGetInterrupt, |
57 |
< |
cscGetGamma, |
58 |
< |
cscGetDefaultMode, |
59 |
< |
cscGetCurMode, |
60 |
< |
cscGetSync, |
61 |
< |
cscGetConnection, |
62 |
< |
cscGetModeTiming, |
63 |
< |
cscGetModeBaseAddress, |
64 |
< |
cscGetScanProc, |
65 |
< |
cscGetPreferredConfiguration, |
66 |
< |
cscGetNextResolution, |
67 |
< |
cscGetVideoParameters, |
68 |
< |
cscGetGammaInfoList = 20, |
69 |
< |
cscRetrieveGammaTable, |
70 |
< |
cscSupportsHardwareCursor, |
71 |
< |
cscGetHardwareCursorDrawState, |
72 |
< |
cscGetConvolution, |
73 |
< |
cscGetPowerState, |
74 |
< |
cscPrivateStatusCall, |
75 |
< |
cscGetDDCBlock, |
76 |
< |
cscGetMultiConnect, |
77 |
< |
cscGetClutBehavior |
51 |
> |
cscGetMode = 2, |
52 |
> |
cscGetEntries = 3, |
53 |
> |
cscGetPageCnt = 4, |
54 |
> |
cscGetPageBase = 5, |
55 |
> |
cscGetGray = 6, |
56 |
> |
cscGetInterrupt = 7, |
57 |
> |
cscGetGamma = 8, |
58 |
> |
cscGetDefaultMode = 9, |
59 |
> |
cscGetCurMode = 10, |
60 |
> |
cscGetSync = 11, |
61 |
> |
cscGetConnection = 12, |
62 |
> |
cscGetModeTiming = 13, |
63 |
> |
cscGetModeBaseAddress = 14, |
64 |
> |
cscGetScanProc = 15, |
65 |
> |
cscGetPreferredConfiguration = 16, |
66 |
> |
cscGetNextResolution = 17, |
67 |
> |
cscGetVideoParameters = 18, |
68 |
> |
cscGetGammaInfoList = 20, |
69 |
> |
cscRetrieveGammaTable = 21, |
70 |
> |
cscSupportsHardwareCursor = 22, |
71 |
> |
cscGetHardwareCursorDrawState = 23, |
72 |
> |
cscGetConvolution = 24, |
73 |
> |
cscGetPowerState = 25, |
74 |
> |
cscPrivateStatusCall = 26, |
75 |
> |
cscGetDDCBlock = 27, |
76 |
> |
cscGetMultiConnect = 28, |
77 |
> |
cscGetClutBehavior = 29 |
78 |
|
}; |
79 |
|
|
80 |
|
enum { // VDSwitchInfo struct |