1 /* All testcase are base how windows 2000 sp4 acting */
12 #define checkflag(dwflag,dwvalue,text) \
13 if (dwflag & dwvalue) \
19 dwflag = (ULONG)dwflag - (ULONG)dwvalue; \
24 #define endcheckflag(dwflag,text) \
26 printf("0x%08lx\n", (ULONG) dwflag);\
30 printf("undoc value in %s flags value %08lx\n",text, (ULONG) dwflag);
35 dump_CallBackFlags(DWORD
*pCallBackFlags
, char *text
)
40 printf("dumping the CallBackFlags from %s\n",text
);
41 printf("pCallBackFlags[0] : ");
43 flag
=pCallBackFlags
[0];
45 checkflag(flag
,DDHAL_CB32_CANCREATESURFACE
,"DDHAL_CB32_CANCREATESURFACE");
46 checkflag(flag
,DDHAL_CB32_CREATEPALETTE
,"DDHAL_CB32_CREATEPALETTE");
47 checkflag(flag
,DDHAL_CB32_CREATESURFACE
,"DDHAL_CB32_CREATESURFACE");
48 checkflag(flag
,DDHAL_CB32_GETSCANLINE
,"DDHAL_CB32_GETSCANLINE");
49 checkflag(flag
,DDHAL_CB32_MAPMEMORY
,"DDHAL_CB32_MAPMEMORY");
50 checkflag(flag
,DDHAL_CB32_SETCOLORKEY
,"DDHAL_CB32_SETCOLORKEY");
51 checkflag(flag
,DDHAL_CB32_SETMODE
,"DDHAL_CB32_SETMODE");
52 checkflag(flag
,DDHAL_CB32_WAITFORVERTICALBLANK
,"DDHAL_CB32_WAITFORVERTICALBLANK");
53 endcheckflag(flag
,"pCallBackFlags[0]");
55 /* SURFACE callback */
56 printf("pCallBackFlags[1] : ");
57 flag
= pCallBackFlags
[1];
59 checkflag(flag
,DDHAL_SURFCB32_ADDATTACHEDSURFACE
,"DDHAL_SURFCB32_ADDATTACHEDSURFACE");
60 checkflag(flag
,DDHAL_SURFCB32_BLT
,"DDHAL_SURFCB32_BLT");
61 checkflag(flag
,DDHAL_SURFCB32_DESTROYSURFACE
,"DDHAL_SURFCB32_DESTROYSURFACE");
62 checkflag(flag
,DDHAL_SURFCB32_FLIP
,"DDHAL_SURFCB32_FLIP");
63 checkflag(flag
,DDHAL_SURFCB32_GETBLTSTATUS
,"DDHAL_SURFCB32_GETBLTSTATUS");
64 checkflag(flag
,DDHAL_SURFCB32_GETFLIPSTATUS
,"DDHAL_SURFCB32_GETFLIPSTATUS");
65 checkflag(flag
,DDHAL_SURFCB32_LOCK
,"DDHAL_SURFCB32_LOCK");
66 checkflag(flag
,DDHAL_SURFCB32_RESERVED4
,"DDHAL_SURFCB32_RESERVED4");
67 checkflag(flag
,DDHAL_SURFCB32_SETCLIPLIST
,"DDHAL_SURFCB32_SETCLIPLIST");
68 checkflag(flag
,DDHAL_SURFCB32_SETCOLORKEY
,"DDHAL_SURFCB32_SETCOLORKEY");
69 checkflag(flag
,DDHAL_SURFCB32_SETOVERLAYPOSITION
,"DDHAL_SURFCB32_SETOVERLAYPOSITION");
70 checkflag(flag
,DDHAL_SURFCB32_SETPALETTE
,"DDHAL_SURFCB32_SETPALETTE");
71 checkflag(flag
,DDHAL_SURFCB32_UNLOCK
,"DDHAL_SURFCB32_UNLOCK");
72 checkflag(flag
,DDHAL_SURFCB32_UPDATEOVERLAY
,"DDHAL_SURFCB32_UPDATEOVERLAY");
73 endcheckflag(flag
,"pCallBackFlags[1]");
77 printf("pCallBackFlags[2] : ");
78 flag
= pCallBackFlags
[2];
80 checkflag(flag
,DDHAL_PALCB32_DESTROYPALETTE
,"DDHAL_PALCB32_DESTROYPALETTE");
81 checkflag(flag
,DDHAL_PALCB32_SETENTRIES
,"DDHAL_PALCB32_SETENTRIES");
82 endcheckflag(flag
,"pCallBackFlags[2]");
86 dump_halinfo(DD_HALINFO
*pHalInfo
, char *text
)
88 printf("dumping the DD_HALINFO from %s\n",text
);
90 if (pHalInfo
->dwSize
== sizeof(DD_HALINFO_V4
))
92 DD_HALINFO_V4
*pHalInfo4
= (DD_HALINFO_V4
*) pHalInfo
;
95 printf("DD_HALINFO Version NT4 found \n");
96 printf(" pHalInfo4->dwSize : 0x%08lx\n",(long)pHalInfo4
->dwSize
);
97 printf(" pHalInfo4->vmiData->fpPrimary : 0x%08lx\n",(long)pHalInfo4
->vmiData
.fpPrimary
);
98 printf(" pHalInfo4->vmiData->dwFlags : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwFlags
);
99 printf(" pHalInfo4->vmiData->dwDisplayWidth : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwDisplayWidth
);
100 printf(" pHalInfo4->vmiData->dwDisplayHeight : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwDisplayHeight
);
101 printf(" pHalInfo4->vmiData->lDisplayPitch : 0x%08lx\n",(long)pHalInfo4
->vmiData
.lDisplayPitch
);
103 printf(" pHalInfo4->vmiData->ddpfDisplay.dwSize : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwSize
);
104 printf(" pHalInfo4->vmiData->ddpfDisplay.dwFlags : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwFlags
);
105 printf(" pHalInfo4->vmiData->ddpfDisplay.dwFourCC : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwFourCC
);
106 printf(" pHalInfo4->vmiData->ddpfDisplay.dwRGBBitCount : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwRGBBitCount
);
107 printf(" pHalInfo4->vmiData->ddpfDisplay.dwRBitMask : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwRBitMask
);
108 printf(" pHalInfo4->vmiData->ddpfDisplay.dwGBitMask : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwGBitMask
);
109 printf(" pHalInfo4->vmiData->ddpfDisplay.dwBBitMask : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwBBitMask
);
110 printf(" pHalInfo4->vmiData->ddpfDisplay.dwRGBAlphaBitMask : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwRGBAlphaBitMask
);
112 printf(" pHalInfo4->vmiData->dwOffscreenAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwOffscreenAlign
);
113 printf(" pHalInfo4->vmiData->dwOverlayAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwOverlayAlign
);
114 printf(" pHalInfo4->vmiData->dwTextureAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwTextureAlign
);
115 printf(" pHalInfo4->vmiData->dwZBufferAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwZBufferAlign
);
116 printf(" pHalInfo4->vmiData->dwAlphaAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwAlphaAlign
);
117 printf(" pHalInfo4->vmiData->pvPrimary : 0x%08lx\n",(long)pHalInfo4
->vmiData
.pvPrimary
);
119 printf(" pHalInfo4->ddCaps.dwSize : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSize
);
120 printf(" pHalInfo4->ddCaps.dwCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCaps
);
121 printf(" pHalInfo4->ddCaps.dwCaps2 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCaps2
);
122 printf(" pHalInfo4->ddCaps.dwCKeyCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCKeyCaps
);
123 printf(" pHalInfo4->ddCaps.dwFXCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwFXCaps
);
124 printf(" pHalInfo4->ddCaps.dwFXAlphaCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwFXAlphaCaps
);
125 printf(" pHalInfo4->ddCaps.dwPalCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwPalCaps
);
126 printf(" pHalInfo4->ddCaps.dwSVCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVCaps
);
127 printf(" pHalInfo4->ddCaps.dwAlphaBltConstBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaBltConstBitDepths
);
128 printf(" pHalInfo4->ddCaps.dwAlphaBltPixelBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaBltPixelBitDepths
);
129 printf(" pHalInfo4->ddCaps.dwAlphaBltSurfaceBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaBltSurfaceBitDepths
);
130 printf(" pHalInfo4->ddCaps.dwAlphaOverlayConstBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaOverlayConstBitDepths
);
131 printf(" pHalInfo4->ddCaps.dwAlphaOverlayPixelBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaOverlayPixelBitDepths
);
132 printf(" pHalInfo4->ddCaps.dwAlphaOverlaySurfaceBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaOverlaySurfaceBitDepths
);
133 printf(" pHalInfo4->ddCaps.dwZBufferBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwZBufferBitDepths
);
134 printf(" pHalInfo4->ddCaps.dwVidMemTotal : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVidMemTotal
);
135 printf(" pHalInfo4->ddCaps.dwVidMemFree : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVidMemFree
);
136 printf(" pHalInfo4->ddCaps.dwMaxVisibleOverlays : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxVisibleOverlays
);
137 printf(" pHalInfo4->ddCaps.dwCurrVisibleOverlays : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCurrVisibleOverlays
);
138 printf(" pHalInfo4->ddCaps.dwNumFourCCCodes : 0x%08lx\n",pHalInfo4
->ddCaps
.dwNumFourCCCodes
);
139 printf(" pHalInfo4->ddCaps.dwAlignBoundarySrc : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignBoundarySrc
);
140 printf(" pHalInfo4->ddCaps.dwAlignSizeSrc : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignSizeSrc
);
141 printf(" pHalInfo4->ddCaps.dwAlignBoundaryDes : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignBoundaryDest
);
142 printf(" pHalInfo4->ddCaps.dwAlignSizeDest : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignSizeDest
);
143 printf(" pHalInfo4->ddCaps.dwAlignStrideAlign : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignStrideAlign
);
144 for (t
=0;t
<DD_ROP_SPACE
;t
++)
146 printf(" pHalInfo4->ddCaps.dwRops[0x%04x] : 0x%08lx\n",t
,pHalInfo4
->ddCaps
.dwRops
[t
]);
148 printf(" pHalInfo4->ddCaps.ddsCaps.dwCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.ddsCaps
.dwCaps
);
149 printf(" pHalInfo4->ddCaps.dwMinOverlayStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMinOverlayStretch
);
150 printf(" pHalInfo4->ddCaps.dwMaxOverlayStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxOverlayStretch
);
151 printf(" pHalInfo4->ddCaps.dwMinLiveVideoStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMinLiveVideoStretch
);
152 printf(" pHalInfo4->ddCaps.dwMaxLiveVideoStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxLiveVideoStretch
);
153 printf(" pHalInfo4->ddCaps.dwMinHwCodecStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMinHwCodecStretch
);
154 printf(" pHalInfo4->ddCaps.dwMaxHwCodecStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxHwCodecStretch
);
155 printf(" pHalInfo4->ddCaps.dwReserved1 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwReserved1
);
156 printf(" pHalInfo4->ddCaps.dwReserved2 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwReserved2
);
157 printf(" pHalInfo4->ddCaps.dwReserved3 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwReserved3
);
158 printf(" pHalInfo4->ddCaps.dwSVBCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVBCaps
);
159 printf(" pHalInfo4->ddCaps.dwSVBCKeyCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVBCKeyCaps
);
160 printf(" pHalInfo4->ddCaps.dwSVBFXCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVBFXCaps
);
161 for (t
=0;t
<DD_ROP_SPACE
;t
++)
163 printf(" pHalInfo4->ddCaps.dwSVBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo4
->ddCaps
.dwSVBRops
[t
]);
165 printf(" pHalInfo4->ddCaps.dwVSBCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVSBCaps
);
166 printf(" pHalInfo4->ddCaps.dwVSBCKeyCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVSBCKeyCaps
);
167 printf(" pHalInfo4->ddCaps.dwVSBFXCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVSBFXCaps
);
168 for (t
=0;t
<DD_ROP_SPACE
;t
++)
170 printf(" pHalInfo4->ddCaps.dwVSBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo4
->ddCaps
.dwVSBRops
[t
]);
172 printf(" pHalInfo4->ddCaps.dwSSBCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSSBCaps
);
173 printf(" pHalInfo4->ddCaps.dwSSBCKeyCa : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSSBCKeyCaps
);
174 printf(" pHalInfo4->ddCaps.dwSSBFXCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSSBFXCaps
);
175 for (t
=0;t
<DD_ROP_SPACE
;t
++)
177 printf(" pHalInfo4->ddCaps.dwSSBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo4
->ddCaps
.dwSSBRops
[t
]);
180 printf(" pHalInfo4->ddCaps.dwMaxVideoPorts : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxVideoPorts
);
181 printf(" pHalInfo4->ddCaps.dwCurrVideoPorts : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCurrVideoPorts
);
182 printf(" pHalInfo4->ddCaps.dwSVBCaps2 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVBCaps2
);
185 printf(" pHalInfo4->GetDriverInfo : 0x%08lx\n",(long)pHalInfo4
->GetDriverInfo
);
186 printf(" pHalInfo4->dwFlags : 0x%08lx\n",(long)pHalInfo4
->dwFlags
);
189 else if (pHalInfo
->dwSize
== sizeof(DD_HALINFO
))
194 // LPD3DNTHAL_GLOBALDRIVERDATA lpD3DGlobalDriverData = pHalInfo->lpD3DGlobalDriverData;
196 printf("DD_HALINFO Version NT 2000/XP/2003 found \n");
197 printf(" pHalInfo->dwSize : 0x%08lx\n",(long)pHalInfo
->dwSize
);
199 printf(" pHalInfo->vmiData->fpPrimary : 0x%08lx\n",(long)pHalInfo
->vmiData
.fpPrimary
);
200 printf(" pHalInfo->vmiData->dwFlags : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwFlags
);
201 printf(" pHalInfo->vmiData->dwDisplayWidth : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwDisplayWidth
);
202 printf(" pHalInfo->vmiData->dwDisplayHeight : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwDisplayHeight
);
203 printf(" pHalInfo->vmiData->lDisplayPitch : 0x%08lx\n",(long)pHalInfo
->vmiData
.lDisplayPitch
);
205 printf(" pHalInfo->vmiData->ddpfDisplay.dwSize : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwSize
);
206 printf(" pHalInfo->vmiData->ddpfDisplay.dwFlags : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwFlags
);
207 printf(" pHalInfo->vmiData->ddpfDisplay.dwFourCC : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwFourCC
);
208 printf(" pHalInfo->vmiData->ddpfDisplay.dwRGBBitCount : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwRGBBitCount
);
209 printf(" pHalInfo->vmiData->ddpfDisplay.dwRBitMask : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwRBitMask
);
210 printf(" pHalInfo->vmiData->ddpfDisplay.dwGBitMask : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwGBitMask
);
211 printf(" pHalInfo->vmiData->ddpfDisplay.dwBBitMask : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwBBitMask
);
212 printf(" pHalInfo->vmiData->ddpfDisplay.dwRGBAlphaBitMask : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwRGBAlphaBitMask
);
215 printf(" pHalInfo->vmiData->dwOffscreenAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwOffscreenAlign
);
216 printf(" pHalInfo->vmiData->dwOverlayAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwOverlayAlign
);
217 printf(" pHalInfo->vmiData->dwTextureAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwTextureAlign
);
218 printf(" pHalInfo->vmiData->dwZBufferAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwZBufferAlign
);
219 printf(" pHalInfo->vmiData->dwAlphaAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwAlphaAlign
);
220 printf(" pHalInfo->vmiData->pvPrimary : 0x%08lx\n",(long)pHalInfo
->vmiData
.pvPrimary
);
222 printf(" pHalInfo->ddCaps.dwSize : 0x%08lx\n",pHalInfo
->ddCaps
.dwSize
);
223 printf(" pHalInfo->ddCaps.dwCaps : ");
224 flag
= pHalInfo
->ddCaps
.dwCaps
;
226 checkflag(flag
,DDCAPS_3D
,"DDCAPS_3D");
227 checkflag(flag
,DDCAPS_ALIGNBOUNDARYDEST
,"DDCAPS_ALIGNBOUNDARYDEST");
228 checkflag(flag
,DDCAPS_ALIGNBOUNDARYSRC
,"DDCAPS_ALIGNBOUNDARYSRC");
229 checkflag(flag
,DDCAPS_ALIGNSIZEDEST
,"DDCAPS_ALIGNSIZEDEST");
230 checkflag(flag
,DDCAPS_ALIGNSIZESRC
,"DDCAPS_ALIGNSIZESRC");
231 checkflag(flag
,DDCAPS_ALIGNSTRIDE
,"DDCAPS_ALIGNSTRIDE");
232 checkflag(flag
,DDCAPS_ALPHA
,"DDCAPS_ALPHA");
233 checkflag(flag
,DDCAPS_BANKSWITCHED
,"DDCAPS_BANKSWITCHED");
234 checkflag(flag
,DDCAPS_BLT
,"DDCAPS_BLT");
235 checkflag(flag
,DDCAPS_BLTCOLORFILL
,"DDCAPS_BLTCOLORFILL");
236 checkflag(flag
,DDCAPS_BLTDEPTHFILL
,"DDCAPS_BLTDEPTHFILL");
237 checkflag(flag
,DDCAPS_BLTFOURCC
,"DDCAPS_BLTFOURCC");
238 checkflag(flag
,DDCAPS_BLTQUEUE
,"DDCAPS_BLTQUEUE");
239 checkflag(flag
,DDCAPS_BLTSTRETCH
,"DDCAPS_BLTSTRETCH");
240 checkflag(flag
,DDCAPS_CANBLTSYSMEM
,"DDCAPS_CANBLTSYSMEM");
241 checkflag(flag
,DDCAPS_CANCLIP
,"DDCAPS_CANCLIP");
242 checkflag(flag
,DDCAPS_CANCLIPSTRETCHED
,"DDCAPS_CANCLIPSTRETCHED");
243 checkflag(flag
,DDCAPS_COLORKEY
,"DDCAPS_COLORKEY");
244 checkflag(flag
,DDCAPS_COLORKEYHWASSIST
,"DDCAPS_COLORKEYHWASSIST");
245 checkflag(flag
,DDCAPS_GDI
,"DDCAPS_GDI");
246 checkflag(flag
,DDCAPS_NOHARDWARE
,"DDCAPS_NOHARDWARE");
247 checkflag(flag
,DDCAPS_OVERLAY
,"DDCAPS_OVERLAY");
248 checkflag(flag
,DDCAPS_OVERLAYCANTCLIP
,"DDCAPS_OVERLAYCANTCLIP");
249 checkflag(flag
,DDCAPS_OVERLAYFOURCC
,"DDCAPS_OVERLAYFOURCC");
250 checkflag(flag
,DDCAPS_OVERLAYSTRETCH
,"DDCAPS_OVERLAYSTRETCH");
251 checkflag(flag
,DDCAPS_PALETTE
,"DDCAPS_PALETTE");
252 checkflag(flag
,DDCAPS_PALETTEVSYNC
,"DDCAPS_PALETTEVSYNC");
253 checkflag(flag
,DDCAPS_READSCANLINE
,"DDCAPS_READSCANLINE");
254 checkflag(flag
,DDCAPS_STEREOVIEW
,"DDCAPS_STEREOVIEW");
255 checkflag(flag
,DDCAPS_VBI
,"DDCAPS_VBI");
256 checkflag(flag
,DDCAPS_ZBLTS
,"DDCAPS_ZBLTS");
257 checkflag(flag
,DDCAPS_ZOVERLAYS
,"DDCAPS_ZOVERLAYS");
258 endcheckflag(flag
,"pHalInfo->ddCaps.dwCaps");
260 printf(" pHalInfo->ddCaps.dwCaps2 : ");
261 flag
= pHalInfo
->ddCaps
.dwCaps2
;
263 checkflag(flag
,DDCAPS2_AUTOFLIPOVERLAY
,"DDCAPS2_AUTOFLIPOVERLAY");
264 checkflag(flag
,DDCAPS2_CANAUTOGENMIPMAP
,"DDCAPS2_CANAUTOGENMIPMAP");
265 checkflag(flag
,DDCAPS2_CANBOBHARDWARE
,"DDCAPS2_CANBOBHARDWARE");
266 checkflag(flag
,DDCAPS2_CANBOBINTERLEAVED
,"DDCAPS2_CANBOBINTERLEAVED");
267 checkflag(flag
,DDCAPS2_CANBOBNONINTERLEAVED
,"DDCAPS2_CANBOBNONINTERLEAVED");
268 checkflag(flag
,DDCAPS2_CANCALIBRATEGAMMA
,"DDCAPS2_CANCALIBRATEGAMMA");
269 checkflag(flag
,DDCAPS2_CANDROPZ16BIT
,"DDCAPS2_CANDROPZ16BIT");
270 checkflag(flag
,DDCAPS2_CANFLIPODDEVEN
,"DDCAPS2_CANFLIPODDEVEN");
271 checkflag(flag
,DDCAPS2_CANMANAGERESOURCE
,"DDCAPS2_CANMANAGERESOURCE");
272 checkflag(flag
,DDCAPS2_CANMANAGETEXTURE
,"DDCAPS2_CANMANAGETEXTURE");
274 checkflag(flag
,DDCAPS2_CANRENDERWINDOWED
,"DDCAPS2_CANRENDERWINDOWED");
275 checkflag(flag
,DDCAPS2_CERTIFIED
,"DDCAPS2_CERTIFIED");
276 checkflag(flag
,DDCAPS2_COLORCONTROLOVERLAY
,"DDCAPS2_COLORCONTROLOVERLAY");
277 checkflag(flag
,DDCAPS2_COLORCONTROLPRIMARY
,"DDCAPS2_COLORCONTROLPRIMARY");
278 checkflag(flag
,DDCAPS2_COPYFOURCC
,"DDCAPS2_COPYFOURCC");
279 checkflag(flag
,DDCAPS2_FLIPINTERVAL
,"DDCAPS2_FLIPINTERVAL");
280 checkflag(flag
,DDCAPS2_FLIPNOVSYNC
,"DDCAPS2_FLIPNOVSYNC");
281 checkflag(flag
,DDCAPS2_NO2DDURING3DSCENE
,"DDCAPS2_NO2DDURING3DSCENE");
282 checkflag(flag
,DDCAPS2_NONLOCALVIDMEM
,"DDCAPS2_NONLOCALVIDMEM");
283 checkflag(flag
,DDCAPS2_NONLOCALVIDMEMCAPS
,"DDCAPS2_NONLOCALVIDMEMCAPS");
284 checkflag(flag
,DDCAPS2_NOPAGELOCKREQUIRED
,"DDCAPS2_NOPAGELOCKREQUIRED");
285 checkflag(flag
,DDCAPS2_PRIMARYGAMMA
,"DDCAPS2_PRIMARYGAMMA");
286 checkflag(flag
,DDCAPS2_VIDEOPORT
,"DDCAPS2_VIDEOPORT");
287 checkflag(flag
,DDCAPS2_WIDESURFACES
,"DDCAPS2_WIDESURFACES");
288 endcheckflag(flag
,"pHalInfo->ddCaps.dwCaps2");
290 printf(" pHalInfo->ddCaps.dwCKeyCaps : ");
291 flag
= pHalInfo
->ddCaps
.dwCKeyCaps
;
293 checkflag(flag
,DDCKEYCAPS_DESTBLT
,"DDCKEYCAPS_DESTBLT");
294 checkflag(flag
,DDCKEYCAPS_DESTBLTCLRSPACE
,"DDCKEYCAPS_DESTBLTCLRSPACE");
295 checkflag(flag
,DDCKEYCAPS_DESTBLTCLRSPACEYUV
,"DDCKEYCAPS_DESTBLTCLRSPACEYUV");
296 checkflag(flag
,DDCKEYCAPS_DESTBLTYUV
,"DDCKEYCAPS_DESTBLTYUV");
297 checkflag(flag
,DDCKEYCAPS_DESTOVERLAY
,"DDCKEYCAPS_DESTOVERLAY");
298 checkflag(flag
,DDCKEYCAPS_DESTOVERLAYCLRSPACE
,"DDCKEYCAPS_DESTOVERLAYCLRSPACE");
299 checkflag(flag
,DDCKEYCAPS_DESTOVERLAYCLRSPACEYUV
,"DDCKEYCAPS_DESTOVERLAYCLRSPACEYUV");
300 checkflag(flag
,DDCKEYCAPS_DESTOVERLAYONEACTIVE
,"DDCKEYCAPS_DESTOVERLAYONEACTIVE");
301 checkflag(flag
,DDCKEYCAPS_DESTOVERLAYYUV
,"DDCKEYCAPS_DESTOVERLAYYUV");
302 checkflag(flag
,DDCKEYCAPS_NOCOSTOVERLAY
,"DDCKEYCAPS_NOCOSTOVERLAY");
303 checkflag(flag
,DDCKEYCAPS_SRCBLT
,"DDCKEYCAPS_SRCBLT");
304 checkflag(flag
,DDCKEYCAPS_SRCBLTCLRSPACE
,"DDCKEYCAPS_SRCBLTCLRSPACE");
305 checkflag(flag
,DDCKEYCAPS_SRCBLTCLRSPACEYUV
,"DDCKEYCAPS_SRCBLTCLRSPACEYUV");
306 checkflag(flag
,DDCKEYCAPS_SRCBLTYUV
,"DDCKEYCAPS_SRCBLTYUV");
307 checkflag(flag
,DDCKEYCAPS_SRCOVERLAY
,"DDCKEYCAPS_SRCOVERLAY");
308 checkflag(flag
,DDCKEYCAPS_SRCOVERLAYCLRSPACE
,"DDCKEYCAPS_SRCOVERLAYCLRSPACE");
309 checkflag(flag
,DDCKEYCAPS_SRCOVERLAYCLRSPACEYUV
,"DDCKEYCAPS_SRCOVERLAYCLRSPACEYUV");
310 checkflag(flag
,DDCKEYCAPS_SRCOVERLAYONEACTIVE
,"DDCKEYCAPS_SRCOVERLAYONEACTIVE");
311 checkflag(flag
,DDCKEYCAPS_SRCOVERLAYYUV
,"DDCKEYCAPS_SRCOVERLAYYUV");
312 endcheckflag(flag
,"pHalInfo->ddCaps.dwCKeyCaps");
314 printf(" pHalInfo->ddCaps.dwFXCaps : ");
315 flag
= pHalInfo
->ddCaps
.dwFXCaps
;
317 checkflag(flag
,DDFXCAPS_BLTARITHSTRETCHY
,"DDFXCAPS_BLTARITHSTRETCHY");
318 checkflag(flag
,DDFXCAPS_BLTARITHSTRETCHYN
,"DDFXCAPS_BLTARITHSTRETCHYN");
319 checkflag(flag
,DDFXCAPS_BLTMIRRORLEFTRIGHT
,"DDFXCAPS_BLTMIRRORLEFTRIGHT");
320 checkflag(flag
,DDFXCAPS_BLTMIRRORUPDOWN
,"DDFXCAPS_BLTMIRRORUPDOWN");
321 checkflag(flag
,DDFXCAPS_BLTROTATION
,"DDFXCAPS_BLTROTATION");
322 checkflag(flag
,DDFXCAPS_BLTROTATION90
,"DDFXCAPS_BLTROTATION90");
323 checkflag(flag
,DDFXCAPS_BLTSHRINKX
,"DDFXCAPS_BLTSHRINKX");
324 checkflag(flag
,DDFXCAPS_BLTSHRINKXN
,"DDFXCAPS_BLTSHRINKXN");
325 checkflag(flag
,DDFXCAPS_BLTSHRINKY
,"DDFXCAPS_BLTSHRINKY");
326 checkflag(flag
,DDFXCAPS_BLTSHRINKYN
,"DDFXCAPS_BLTSHRINKYN");
327 checkflag(flag
,DDFXCAPS_BLTSTRETCHX
,"DDFXCAPS_BLTSTRETCHX");
328 checkflag(flag
,DDFXCAPS_BLTSTRETCHXN
,"DDFXCAPS_BLTSTRETCHXN");
329 checkflag(flag
,DDFXCAPS_BLTSTRETCHY
,"DDFXCAPS_BLTSTRETCHY");
330 checkflag(flag
,DDFXCAPS_BLTSTRETCHYN
,"DDFXCAPS_BLTSTRETCHYN");
331 checkflag(flag
,DDFXCAPS_OVERLAYARITHSTRETCHY
,"DDFXCAPS_OVERLAYARITHSTRETCHY");
332 checkflag(flag
,DDFXCAPS_OVERLAYARITHSTRETCHYN
,"DDFXCAPS_OVERLAYARITHSTRETCHYN");
333 checkflag(flag
,DDFXCAPS_OVERLAYMIRRORLEFTRIGHT
,"DDFXCAPS_OVERLAYMIRRORLEFTRIGHT");
334 checkflag(flag
,DDFXCAPS_OVERLAYMIRRORUPDOWN
,"DDFXCAPS_OVERLAYMIRRORUPDOWN");
335 checkflag(flag
,DDFXCAPS_OVERLAYSHRINKX
,"DDFXCAPS_OVERLAYSHRINKX");
336 checkflag(flag
,DDFXCAPS_OVERLAYSHRINKXN
,"DDFXCAPS_OVERLAYSHRINKXN");
337 checkflag(flag
,DDFXCAPS_OVERLAYSHRINKY
,"DDFXCAPS_OVERLAYSHRINKY");
338 checkflag(flag
,DDFXCAPS_OVERLAYSHRINKYN
,"DDFXCAPS_OVERLAYSHRINKYN");
339 checkflag(flag
,DDFXCAPS_OVERLAYSTRETCHX
,"DDFXCAPS_OVERLAYSTRETCHX");
340 checkflag(flag
,DDFXCAPS_OVERLAYSTRETCHX
,"DDFXCAPS_OVERLAYSTRETCHX");
341 checkflag(flag
,DDFXCAPS_OVERLAYSTRETCHY
,"DDFXCAPS_OVERLAYSTRETCHY");
342 checkflag(flag
,DDFXCAPS_OVERLAYSTRETCHYN
,"DDFXCAPS_OVERLAYSTRETCHYN");
343 endcheckflag(flag
,"pHalInfo->ddCaps.dwFXCaps");
345 printf(" pHalInfo->ddCaps.dwFXAlphaCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwFXAlphaCaps
);
346 printf(" pHalInfo->ddCaps.dwPalCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwPalCaps
);
347 printf(" pHalInfo->ddCaps.dwSVCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSVCaps
);
348 printf(" pHalInfo->ddCaps.dwAlphaBltConstBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaBltConstBitDepths
);
349 printf(" pHalInfo->ddCaps.dwAlphaBltPixelBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaBltPixelBitDepths
);
350 printf(" pHalInfo->ddCaps.dwAlphaBltSurfaceBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaBltSurfaceBitDepths
);
351 printf(" pHalInfo->ddCaps.dwAlphaOverlayConstBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaOverlayConstBitDepths
);
352 printf(" pHalInfo->ddCaps.dwAlphaOverlayPixelBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaOverlayPixelBitDepths
);
353 printf(" pHalInfo->ddCaps.dwAlphaOverlaySurfaceBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaOverlaySurfaceBitDepths
);
354 printf(" pHalInfo->ddCaps.dwZBufferBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwZBufferBitDepths
);
355 printf(" pHalInfo->ddCaps.dwVidMemTotal : 0x%08lx\n",pHalInfo
->ddCaps
.dwVidMemTotal
);
356 printf(" pHalInfo->ddCaps.dwVidMemFree : 0x%08lx\n",pHalInfo
->ddCaps
.dwVidMemFree
);
357 printf(" pHalInfo->ddCaps.dwMaxVisibleOverlays : 0x%08lx\n",pHalInfo
->ddCaps
.dwMaxVisibleOverlays
);
358 printf(" pHalInfo->ddCaps.dwCurrVisibleOverlays : 0x%08lx\n",pHalInfo
->ddCaps
.dwCurrVisibleOverlays
);
359 printf(" pHalInfo->ddCaps.dwNumFourCCCodes : 0x%08lx\n",pHalInfo
->ddCaps
.dwNumFourCCCodes
);
360 printf(" pHalInfo->ddCaps.dwAlignBoundarySrc : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignBoundarySrc
);
361 printf(" pHalInfo->ddCaps.dwAlignSizeSrc : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignSizeSrc
);
362 printf(" pHalInfo->ddCaps.dwAlignBoundaryDes : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignBoundaryDest
);
363 printf(" pHalInfo->ddCaps.dwAlignSizeDest : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignSizeDest
);
364 printf(" pHalInfo->ddCaps.dwAlignStrideAlign : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignStrideAlign
);
365 for (t
=0;t
<DD_ROP_SPACE
;t
++)
367 printf(" pHalInfo->ddCaps.dwRops[0x%04x] : 0x%08lx\n",t
,pHalInfo
->ddCaps
.dwRops
[t
]);
369 printf(" pHalInfo->ddCaps.ddsCaps.dwCaps : ");
370 flag
= pHalInfo
->ddCaps
.ddsCaps
.dwCaps
;
372 checkflag(flag
,DDSCAPS_3DDEVICE
,"DDSCAPS_3DDEVICE");
373 checkflag(flag
,DDSCAPS_ALLOCONLOAD
,"DDSCAPS_ALLOCONLOAD");
374 checkflag(flag
,DDSCAPS_ALPHA
,"DDSCAPS_ALPHA");
375 checkflag(flag
,DDSCAPS_BACKBUFFER
,"DDSCAPS_BACKBUFFER");
376 checkflag(flag
,DDSCAPS_COMPLEX
,"DDSCAPS_COMPLEX");
377 checkflag(flag
,DDSCAPS_EXECUTEBUFFER
,"DDSCAPS_EXECUTEBUFFER");
378 checkflag(flag
,DDSCAPS_FLIP
,"DDSCAPS_FLIP");
379 checkflag(flag
,DDSCAPS_FRONTBUFFER
,"DDSCAPS_FRONTBUFFER");
380 checkflag(flag
,DDSCAPS_HWCODEC
,"DDSCAPS_HWCODEC");
381 checkflag(flag
,DDSCAPS_LIVEVIDEO
,"DDSCAPS_LIVEVIDEO");
382 checkflag(flag
,DDSCAPS_LOCALVIDMEM
,"DDSCAPS_LOCALVIDMEM");
383 checkflag(flag
,DDSCAPS_MIPMAP
,"DDSCAPS_MIPMAP");
384 checkflag(flag
,DDSCAPS_MODEX
,"DDSCAPS_MODEX");
385 checkflag(flag
,DDSCAPS_NONLOCALVIDMEM
,"DDSCAPS_NONLOCALVIDMEM");
386 checkflag(flag
,DDSCAPS_OFFSCREENPLAIN
,"DDSCAPS_OFFSCREENPLAIN");
387 checkflag(flag
,DDSCAPS_OVERLAY
,"DDSCAPS_OVERLAY");
388 checkflag(flag
,DDSCAPS_OPTIMIZED
,"DDSCAPS_OPTIMIZED");
389 checkflag(flag
,DDSCAPS_OWNDC
,"DDSCAPS_OWNDC");
390 checkflag(flag
,DDSCAPS_PALETTE
,"DDSCAPS_PALETTE");
391 checkflag(flag
,DDSCAPS_PRIMARYSURFACE
,"DDSCAPS_PRIMARYSURFACE");
392 checkflag(flag
,DDSCAPS_PRIMARYSURFACELEFT
,"DDSCAPS_PRIMARYSURFACELEFT");
393 checkflag(flag
,DDSCAPS_STANDARDVGAMODE
,"DDSCAPS_STANDARDVGAMODE");
394 checkflag(flag
,DDSCAPS_SYSTEMMEMORY
,"DDSCAPS_SYSTEMMEMORY");
395 checkflag(flag
,DDSCAPS_TEXTURE
,"DDSCAPS_TEXTURE");
396 checkflag(flag
,DDSCAPS_VIDEOMEMORY
,"DDSCAPS_VIDEOMEMORY");
397 checkflag(flag
,DDSCAPS_VIDEOPORT
,"DDSCAPS_VIDEOPORT");
398 checkflag(flag
,DDSCAPS_VISIBLE
,"DDSCAPS_VISIBLE");
399 checkflag(flag
,DDSCAPS_WRITEONLY
,"DDSCAPS_WRITEONLY");
400 checkflag(flag
,DDSCAPS_ZBUFFER
,"DDSCAPS_ZBUFFER");
401 endcheckflag(flag
,"pHalInfo->ddCaps.ddsCaps.dwCaps");
404 printf(" pHalInfo->ddCaps.dwMinOverlayStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMinOverlayStretch
);
405 printf(" pHalInfo->ddCaps.dwMaxOverlayStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMaxOverlayStretch
);
406 printf(" pHalInfo->ddCaps.dwMinLiveVideoStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMinLiveVideoStretch
);
407 printf(" pHalInfo->ddCaps.dwMaxLiveVideoStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMaxLiveVideoStretch
);
408 printf(" pHalInfo->ddCaps.dwMinHwCodecStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMinHwCodecStretch
);
409 printf(" pHalInfo->ddCaps.dwMaxHwCodecStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMaxHwCodecStretch
);
410 printf(" pHalInfo->ddCaps.dwReserved1 : 0x%08lx\n",pHalInfo
->ddCaps
.dwReserved1
);
411 printf(" pHalInfo->ddCaps.dwReserved2 : 0x%08lx\n",pHalInfo
->ddCaps
.dwReserved2
);
412 printf(" pHalInfo->ddCaps.dwReserved3 : 0x%08lx\n",pHalInfo
->ddCaps
.dwReserved3
);
413 printf(" pHalInfo->ddCaps.dwSVBCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSVBCaps
);
414 printf(" pHalInfo->ddCaps.dwSVBCKeyCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSVBCKeyCaps
);
415 printf(" pHalInfo->ddCaps.dwSVBFXCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSVBFXCaps
);
416 for (t
=0;t
<DD_ROP_SPACE
;t
++)
418 printf(" pHalInfo->ddCaps.dwSVBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo
->ddCaps
.dwSVBRops
[t
]);
420 printf(" pHalInfo->ddCaps.dwVSBCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwVSBCaps
);
421 printf(" pHalInfo->ddCaps.dwVSBCKeyCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwVSBCKeyCaps
);
422 printf(" pHalInfo->ddCaps.dwVSBFXCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwVSBFXCaps
);
423 for (t
=0;t
<DD_ROP_SPACE
;t
++)
425 printf(" pHalInfo->ddCaps.dwVSBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo
->ddCaps
.dwVSBRops
[t
]);
427 printf(" pHalInfo->ddCaps.dwSSBCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSSBCaps
);
428 printf(" pHalInfo->ddCaps.dwSSBCKeyCa : 0x%08lx\n",pHalInfo
->ddCaps
.dwSSBCKeyCaps
);
429 printf(" pHalInfo->ddCaps.dwSSBFXCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSSBFXCaps
);
430 for (t
=0;t
<DD_ROP_SPACE
;t
++)
432 printf(" pHalInfo->ddCaps.dwSSBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo
->ddCaps
.dwSSBRops
[t
]);
435 printf(" pHalInfo->GetDriverInfo : 0x%08lx\n",(long)pHalInfo
->GetDriverInfo
);
436 printf(" pHalInfo->dwFlags : ");
438 flag
= pHalInfo
->dwFlags
;
440 checkflag(flag
,DDHALINFO_ISPRIMARYDISPLAY
,"DDHALINFO_ISPRIMARYDISPLAY");
441 checkflag(flag
,DDHALINFO_MODEXILLEGAL
,"DDHALINFO_MODEXILLEGAL");
442 checkflag(flag
,DDHALINFO_GETDRIVERINFOSET
,"DDHALINFO_GETDRIVERINFOSET");
443 checkflag(flag
,DDHALINFO_GETDRIVERINFO2
,"DDHALINFO_GETDRIVERINFO2");
444 endcheckflag(flag
,"pHalInfo->dwFlags");
446 printf(" pHalInfo->lpD3DGlobalDriverData : 0x%08lx\n",(long)pHalInfo
->lpD3DGlobalDriverData
);
447 printf(" pHalInfo->lpD3DHALCallbacks : 0x%08lx\n",(long)pHalInfo
->lpD3DHALCallbacks
);
448 printf(" pHalInfo->lpD3DBufCallbacks : 0x%08lx\n",(long)pHalInfo
->lpD3DBufCallbacks
);
452 if (pHalInfo
->dwSize
!=0)
454 printf("unkonwn dwSize DD_HALINFO : the size found is 0x%08lx\n",pHalInfo
->dwSize
);
458 printf("none pHalInfo from the driver 0x%08lx\n",pHalInfo
->dwSize
);
465 dump_D3dCallbacks(D3DNTHAL_CALLBACKS
*puD3dCallbacks
, char *text
)
467 printf("dumping the D3DNTHAL_CALLBACKS from %s\n",text
);
468 if (puD3dCallbacks
->dwSize
== sizeof(D3DNTHAL_CALLBACKS
))
470 printf(" puD3dCallbacks->dwSize : 0x%08lx\n",(long)puD3dCallbacks
->dwSize
);
471 printf(" puD3dCallbacks->ContextCreate : 0x%08lx\n",(long)puD3dCallbacks
->ContextCreate
);
472 printf(" puD3dCallbacks->ContextDestroy : 0x%08lx\n",(long)puD3dCallbacks
->ContextDestroy
);
473 printf(" puD3dCallbacks->ContextDestroyAll : 0x%08lx\n",(long)puD3dCallbacks
->ContextDestroyAll
);
474 printf(" puD3dCallbacks->SceneCapture : 0x%08lx\n",(long)puD3dCallbacks
->SceneCapture
);
475 printf(" puD3dCallbacks->dwReserved10 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved10
);
476 printf(" puD3dCallbacks->dwReserved11 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved11
);
477 printf(" puD3dCallbacks->dwReserved22 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved22
);
478 printf(" puD3dCallbacks->dwReserved23 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved23
);
479 printf(" puD3dCallbacks->dwReserved : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved
);
480 printf(" puD3dCallbacks->TextureCreate : 0x%08lx\n",(long)puD3dCallbacks
->TextureCreate
);
481 printf(" puD3dCallbacks->TextureDestroy : 0x%08lx\n",(long)puD3dCallbacks
->TextureDestroy
);
482 printf(" puD3dCallbacks->TextureSwap : 0x%08lx\n",(long)puD3dCallbacks
->TextureSwap
);
483 printf(" puD3dCallbacks->TextureGetSurf : 0x%08lx\n",(long)puD3dCallbacks
->TextureGetSurf
);
484 printf(" puD3dCallbacks->dwReserved12 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved12
);
485 printf(" puD3dCallbacks->dwReserved13 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved13
);
486 printf(" puD3dCallbacks->dwReserved14 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved14
);
487 printf(" puD3dCallbacks->dwReserved15 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved15
);
488 printf(" puD3dCallbacks->dwReserved16 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved16
);
489 printf(" puD3dCallbacks->dwReserved17 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved17
);
490 printf(" puD3dCallbacks->dwReserved18 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved18
);
491 printf(" puD3dCallbacks->dwReserved19 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved19
);
492 printf(" puD3dCallbacks->dwReserved20 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved20
);
493 printf(" puD3dCallbacks->dwReserved21 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved21
);
494 printf(" puD3dCallbacks->dwReserved24 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved24
);
495 printf(" puD3dCallbacks->dwReserved0 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved0
);
496 printf(" puD3dCallbacks->dwReserved1 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved1
);
497 printf(" puD3dCallbacks->dwReserved2 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved2
);
498 printf(" puD3dCallbacks->dwReserved3 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved3
);
499 printf(" puD3dCallbacks->dwReserved4 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved4
);
500 printf(" puD3dCallbacks->dwReserved5 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved5
);
501 printf(" puD3dCallbacks->dwReserved6 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved6
);
502 printf(" puD3dCallbacks->dwReserved7 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved7
);
503 printf(" puD3dCallbacks->dwReserved8 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved8
);
504 printf(" puD3dCallbacks->dwReserved9 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved9
);
508 printf("none puD3dCallbacks from the driver 0x%08lx\n",puD3dCallbacks
->dwSize
);