Changeset 1376 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Mar 9, 2007 2:18:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/enable.c
r1 r1376 45 45 { INDEX_DrvGetModes, (PFN) DrvGetModes }, // 41 46 46 }; 47 /* Experimental begin */ 48 BOOL APIENTRY DrvResetPDEV( 49 DHPDEV dhpdevOld, 50 DHPDEV dhpdevNew 51 ) 52 { 53 DISPDBG((0, "Experimental %s: %p, %p\n", __FUNCTION__, dhpdevOld, dhpdevNew)); 54 return TRUE; 55 } 56 57 BOOL DrvNineGrid (PVOID x1, PVOID x2, PVOID x3, PVOID x4, PVOID x5, PVOID x6, PVOID x7, PVOID x8, PVOID x9) 58 { 59 DISPDBG((0, "Experimental %s: %p, %p, %p, %p, %p, %p, %p, %p, %p\n", __FUNCTION__, x1, x2, x3, x4, x5, x6, x7, x8, x9)); 60 return FALSE; 61 } 62 63 VOID APIENTRY DrvDestroyFont( 64 FONTOBJ *pfo) 65 { 66 DISPDBG((0, "Experimental %s: %p\n", __FUNCTION__, pfo)); 67 } 68 69 ULONG APIENTRY DrvEscape( 70 SURFOBJ *pso, 71 ULONG iEsc, 72 ULONG cjIn, 73 PVOID pvIn, 74 ULONG cjOut, 75 PVOID pvOut 76 ) 77 { 78 DISPDBG((0, "Experimental %s: %p, %p, %p, %p, %p, %p\n", __FUNCTION__, pso, iEsc, cjIn, pvIn, cjOut, pvOut)); 79 return 0; 80 } 81 82 BOOL DrvConnect (PVOID x1, PVOID x2, PVOID x3, PVOID x4) 83 { 84 DISPDBG((0, "Experimental %s: %p, %p, %p, %p\n", __FUNCTION__, x1, x2, x3, x4)); 85 return TRUE; 86 } 87 88 BOOL DrvDisconnect (PVOID x1, PVOID x2) 89 { 90 DISPDBG((0, "Experimental %s: %p, %p\n", __FUNCTION__, x1, x2)); 91 return FALSE; 92 } 93 94 BOOL DrvReconnect (PVOID x1, PVOID x2) 95 { 96 DISPDBG((0, "Experimental %s: %p, %p\n", __FUNCTION__, x1, x2)); 97 return FALSE; 98 } 99 100 BOOL DrvShadowConnect (PVOID x1, PVOID x2) 101 { 102 DISPDBG((0, "Experimental %s: %p, %p\n", __FUNCTION__, x1, x2)); 103 return FALSE; 104 } 105 106 BOOL DrvShadowDisconnect (PVOID x1, PVOID x2) 107 { 108 DISPDBG((0, "Experimental %s: %p, %p\n", __FUNCTION__, x1, x2)); 109 return FALSE; 110 } 111 112 BOOL DrvDDInit (PVOID x1) 113 { 114 DISPDBG((0, "Experimental %s: %p\n", __FUNCTION__, x1)); 115 return FALSE; 116 } 117 118 BOOL APIENTRY DrvGetDirectDrawInfo( 119 DHPDEV dhpdev, 120 DD_HALINFO *pHalInfo, 121 DWORD *pdwNumHeaps, 122 VIDEOMEMORY *pvmList, 123 DWORD *pdwNumFourCCCodes, 124 DWORD *pdwFourCC 125 ) 126 { 127 DISPDBG((0, "Experimental %s: %p, %p, %p, %p, %p. %p\n", __FUNCTION__, dhpdev, pHalInfo, pdwNumHeaps, pvmList, pdwNumFourCCCodes, pdwFourCC)); 128 return FALSE; 129 } 130 131 BOOL APIENTRY DrvEnableDirectDraw( 132 DHPDEV dhpdev, 133 DD_CALLBACKS *pCallBacks, 134 DD_SURFACECALLBACKS *pSurfaceCallBacks, 135 DD_PALETTECALLBACKS *pPaletteCallBacks 136 ) 137 { 138 DISPDBG((0, "Experimental %s: %p, %p, %p, %p\n", __FUNCTION__, dhpdev, pCallBacks, pSurfaceCallBacks, pPaletteCallBacks)); 139 return FALSE; 140 } 141 142 /* Experimental end */ 47 143 48 144 // W2K,XP functions 49 145 DRVFN gadrvfn_nt5[] = { 50 { INDEX_DrvEnablePDEV, (PFN) DrvEnablePDEV }, // 0 51 { INDEX_DrvCompletePDEV, (PFN) DrvCompletePDEV }, // 1 52 { INDEX_DrvDisablePDEV, (PFN) DrvDisablePDEV }, // 2 53 { INDEX_DrvEnableSurface, (PFN) DrvEnableSurface }, // 3 54 { INDEX_DrvDisableSurface, (PFN) DrvDisableSurface }, // 4 55 { INDEX_DrvAssertMode, (PFN) DrvAssertMode }, // 5 56 { INDEX_DrvDisableDriver, (PFN) DrvDisableDriver }, // 8 57 { INDEX_DrvRealizeBrush, (PFN) DrvRealizeBrush }, // 12 58 { INDEX_DrvDitherColor, (PFN) DrvDitherColor }, // 13 59 { INDEX_DrvStrokePath, (PFN) DrvStrokePath }, // 14 60 { INDEX_DrvFillPath, (PFN) DrvFillPath }, // 15 61 { INDEX_DrvPaint, (PFN) DrvPaint }, // 17 62 { INDEX_DrvBitBlt, (PFN) DrvBitBlt }, // 18 63 { INDEX_DrvCopyBits, (PFN) DrvCopyBits }, // 19 64 { INDEX_DrvStretchBlt, (PFN) DrvStretchBlt, }, // 20 65 { INDEX_DrvSetPalette, (PFN) DrvSetPalette }, // 22 66 { INDEX_DrvTextOut, (PFN) DrvTextOut }, // 23 67 { INDEX_DrvSetPointerShape, (PFN) DrvSetPointerShape }, // 29 68 { INDEX_DrvMovePointer, (PFN) DrvMovePointer }, // 30 69 { INDEX_DrvLineTo, (PFN) DrvLineTo }, // 31 70 { INDEX_DrvSynchronize, (PFN) DrvSynchronize }, // 38 71 { INDEX_DrvSaveScreenBits, (PFN) DrvSaveScreenBits }, // 40 72 { INDEX_DrvGetModes, (PFN) DrvGetModes }, // 41 146 { INDEX_DrvEnablePDEV, (PFN) DrvEnablePDEV }, // 0 0x0 147 { INDEX_DrvCompletePDEV, (PFN) DrvCompletePDEV }, // 1 0x1 148 { INDEX_DrvDisablePDEV, (PFN) DrvDisablePDEV }, // 2 0x2 149 { INDEX_DrvEnableSurface, (PFN) DrvEnableSurface }, // 3 0x3 150 { INDEX_DrvDisableSurface, (PFN) DrvDisableSurface }, // 4 0x4 151 { INDEX_DrvAssertMode, (PFN) DrvAssertMode }, // 5 0x5 152 { INDEX_DrvDisableDriver, (PFN) DrvDisableDriver }, // 8 0x8 153 { INDEX_DrvRealizeBrush, (PFN) DrvRealizeBrush }, // 12 0xc 154 { INDEX_DrvDitherColor, (PFN) DrvDitherColor }, // 13 0xd 155 { INDEX_DrvStrokePath, (PFN) DrvStrokePath }, // 14 0xe 156 { INDEX_DrvFillPath, (PFN) DrvFillPath }, // 15 0xf 157 { INDEX_DrvPaint, (PFN) DrvPaint }, // 17 0x11 158 { INDEX_DrvBitBlt, (PFN) DrvBitBlt }, // 18 0x12 159 { INDEX_DrvCopyBits, (PFN) DrvCopyBits }, // 19 0x13 160 { INDEX_DrvStretchBlt, (PFN) DrvStretchBlt, }, // 20 0x14 161 { INDEX_DrvSetPalette, (PFN) DrvSetPalette }, // 22 0x16 162 { INDEX_DrvTextOut, (PFN) DrvTextOut }, // 23 0x17 163 { INDEX_DrvSetPointerShape, (PFN) DrvSetPointerShape }, // 29 0x1d 164 { INDEX_DrvMovePointer, (PFN) DrvMovePointer }, // 30 0x1e 165 { INDEX_DrvLineTo, (PFN) DrvLineTo }, // 31 0x1f 166 { INDEX_DrvSynchronize, (PFN) DrvSynchronize }, // 38 0x26 167 { INDEX_DrvSaveScreenBits, (PFN) DrvSaveScreenBits }, // 40 0x28 168 { INDEX_DrvGetModes, (PFN) DrvGetModes }, // 41 0x29 169 // /* Experimental. */ 170 // { 0x7, (PFN) DrvResetPDEV }, // 0x7 171 // { 0x5b, (PFN) DrvNineGrid }, // 0x5b 172 // { 0x2b, (PFN) DrvDestroyFont }, // 0x2b 173 // { 0x18, (PFN) DrvEscape }, // 0x18 174 // { 0x4d, (PFN) DrvConnect }, // 0x4d 175 // { 0x4e, (PFN) DrvDisconnect }, // 0x4e 176 // { 0x4f, (PFN) DrvReconnect }, // 0x4f 177 // { 0x50, (PFN) DrvShadowConnect }, // 0x50 178 // { 0x51, (PFN) DrvShadowDisconnect }, // 0x51 179 // { 0x3d, (PFN) DrvDDInit }, // 0x3d 180 // { 0x3b, (PFN) DrvGetDirectDrawInfo }, // 0x3b 181 // { 0x3c, (PFN) DrvEnableDirectDraw }, // 0x3c 182 73 183 }; 74 184
Note:
See TracChangeset
for help on using the changeset viewer.