Author: greatlrd
Date: Sat Apr 26 07:55:14 2008
New Revision: 33150
URL:
http://svn.reactos.org/svn/reactos?rev=33150&view=rev
Log:
fixed bit more in the struct EDD_DIRECTDRAW_GLOBAL,
the struct are still wrong. trust only on thuse I wrote verify on
Modified:
trunk/reactos/include/reactos/drivers/directx/directxint.h
trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c
trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
Modified: trunk/reactos/include/reactos/drivers/directx/directxint.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/drivers/di…
==============================================================================
--- trunk/reactos/include/reactos/drivers/directx/directxint.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/drivers/directx/directxint.h [iso-8859-1] Sat Apr 26
07:55:14 2008
@@ -96,15 +96,20 @@
typedef struct _EDD_DIRECTDRAW_GLOBAL
{
-/* 0x000 */ PVOID dhpdev; /* The assign pdev */
+/* 0x000 */ PVOID dhpdev;
/* 0x004 */ DWORD dwReserved1;
/* 0x008 */ DWORD dwReserved2;
/* 0x00C */ ULONG unk_000c[3];
/* 0x018 */ LONG cDriverReferences;
/* 0x01C */ ULONG unk_01c[3];
-/* 0x028 */ LONGLONG llAssertModeTimeout;
-/* 0x030 */ DWORD dwNumHeaps; // verify it match windows xp
-/* 0x034 */ VIDEOMEMORY *pvmList; // verify it match windows xp
+#ifdef _WIN32
+/* 0x028 */ LARGE_INTEGER llAssertModeTimeout;
+#else
+/* 0x028 */ DWORD llAssertModeTimeoutLowPart;
+/* 0x02C */ DWORD llAssertModeTimeoutHighPart;
+#endif
+/* 0x030 */ DWORD dwNumHeaps; // 0x030 <-- verify it match
windows xp, dwNumHeaps
+/* 0x034 */ VIDEOMEMORY *pvmList; // 0x034 <-- verify it match
windows xp, pvmList
/* 0x038 */ DWORD dwNumFourCC;
/* 0x03C */ PDWORD pdwFourCC;
/* 0x040 */ DD_HALINFO ddHalInfo;
@@ -120,8 +125,10 @@
/* 0x4E0 */ DD_MISCELLANEOUSCALLBACKS ddMiscellanousCallbacks;
/* 0x4EC */ ULONG unk_4ec[18];
/* 0x534 */ D3DNTHAL_CALLBACKS3 d3dNtHalCallbacks3;
+/* 0x5A4 */ ULONG unk_544;
+/* 0x5A8 */ ULONG unk_548;
/* 0x54C */ ULONG unk_54c[23];
-/* 0x5A8 */ EDD_DIRECTDRAW_LOCAL* peDirectDrawLocalList; // verify it match windows
xp, comment it is current local struct not a list
+/* 0x5A8 */ EDD_DIRECTDRAW_LOCAL* peDirectDrawLocalList; // 0x5A8 <-- verify it
match windows xp, comment it is current local struct not a list, peDirectDrawLocalList
Current
/* 0x5ac */ EDD_SURFACE* peSurface_LockList;
/* 0x5B0 */ FLONG fl;
/* 0x5B4 */ ULONG cSurfaceLocks;
@@ -131,10 +138,8 @@
/* 0x5C4 */ BOOL bSuspended;
/* 0x5C8 */ ULONG unk_5c8[12];
/* 0x5F8 */ RECTL rcbounds;
-/* 0x5FC */ ULONG unk_5FC;
-/* 0x600 */ ULONG unk_600;
-/* 0x608 */ HDEV hDev;
-/* 0x60c */ PVOID hPDev; /* The real Pdev */
+/* 0x608 */ ULONG unk_608;
+/* 0x60c */ HDEV hDev; // 0x60c <-- verify it match windows xp, The real
Pdev, hDev
/* Windows XP and higher */
/* 0x610 */ ULONG unk_610[63];
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c [iso-8859-1] Sat Apr 26 07:55:14
2008
@@ -131,8 +131,6 @@
/* DirectX graphic/video driver loading cleanup ends here */
/************************************************************************/
-
-
/************************************************************************/
/* NtGdiDdCreateDirectDrawObject */
/************************************************************************/
@@ -172,10 +170,8 @@
((PGDIDEVICE)pDC->pPDev)->pEDDgpl = &edd_DdirectDraw_Global;
RtlZeroMemory(&edd_DdirectDraw_Global,sizeof(EDD_DIRECTDRAW_GLOBAL));
-
-
/* setup hdev for edd_DdirectDraw_Global xp */
- edd_DdirectDraw_Global.hPDev = (PVOID)pDC->pPDev;
+ edd_DdirectDraw_Global.hDev = (PVOID)pDC->pPDev;
DC_UnlockDc(pDC);
@@ -612,71 +608,71 @@
DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->dhpdev :
0x%08lx\n",(((DWORD)&pEddgbl->dhpdev) - (DWORD)pEddgbl), pEddgbl->dhpdev);
DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->dwReserved1 :
0x%08lx\n",(((DWORD)&pEddgbl->dwReserved1) -
(DWORD)pEddgbl),pEddgbl->dwReserved1);
DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->dwReserved2 :
0x%08lx\n",(((DWORD)&pEddgbl->dwReserved2) -
(DWORD)pEddgbl),pEddgbl->dwReserved2);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_000c[0] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_000c) -
(DWORD)pEddgbl),pEddgbl->unk_000c[0]);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_000c[1] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_000c) -
(DWORD)pEddgbl),pEddgbl->unk_000c[1]);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_000c[2] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_000c) -
(DWORD)pEddgbl),pEddgbl->unk_000c[2]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_000c[0] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_000c[0]) -
(DWORD)pEddgbl),pEddgbl->unk_000c[0]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_000c[1] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_000c[1]) -
(DWORD)pEddgbl),pEddgbl->unk_000c[1]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_000c[2] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_000c[2]) -
(DWORD)pEddgbl),pEddgbl->unk_000c[2]);
DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->cDriverReferences :
0x%08lx\n",(((DWORD)&pEddgbl->cDriverReferences) -
(DWORD)pEddgbl),pEddgbl->cDriverReferences);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_01c[0] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_01c) -
(DWORD)pEddgbl),pEddgbl->unk_01c[0]);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_01c[1] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_01c) -
(DWORD)pEddgbl),pEddgbl->unk_01c[1]);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_01c[2] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_01c) -
(DWORD)pEddgbl),pEddgbl->unk_01c[2]);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->llAssertModeTimeout :
0x%llx\n",(((DWORD)&pEddgbl->llAssertModeTimeout) -
(DWORD)pEddgbl),pEddgbl->llAssertModeTimeout);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_01c[0] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_01c[0]) -
(DWORD)pEddgbl),pEddgbl->unk_01c[0]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_01c[1] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_01c[1]) -
(DWORD)pEddgbl),pEddgbl->unk_01c[1]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_01c[2] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_01c[2]) -
(DWORD)pEddgbl),pEddgbl->unk_01c[2]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->llAssertModeTimeout :
0x%x\n",(((DWORD)&pEddgbl->llAssertModeTimeout) -
(DWORD)pEddgbl),pEddgbl->llAssertModeTimeout);
DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->dwNumHeaps :
0x%08lx\n",(((DWORD)&pEddgbl->dwNumHeaps) -
(DWORD)pEddgbl),pEddgbl->dwNumHeaps);
// VIDEOMEMORY *pvmList;
DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->pvmList :
0x%08lx\n",(((DWORD)&pEddgbl->pvmList) -
(DWORD)pEddgbl),pEddgbl->pvmList);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->dwNumFourCC :
0x%08lx\n",pEddgbl->dwNumFourCC);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->pdwFourCC :
0x%08lx\n",pEddgbl->pdwFourCC);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->dwNumFourCC :
0x%08lx\n",(((DWORD)&pEddgbl->dwNumFourCC) -
(DWORD)pEddgbl),pEddgbl->dwNumFourCC);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->pdwFourCC :
0x%08lx\n",(((DWORD)&pEddgbl->pdwFourCC) -
(DWORD)pEddgbl),pEddgbl->pdwFourCC);
// DD_HALINFO ddHalInfo;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->ddHalInfo :
0x%08lx\n",pEddgbl->ddHalInfo);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[0] :
0x%08lx\n",pEddgbl->unk_1e0[0]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[1] :
0x%08lx\n",pEddgbl->unk_1e0[1]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[2] :
0x%08lx\n",pEddgbl->unk_1e0[2]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[3] :
0x%08lx\n",pEddgbl->unk_1e0[3]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[4] :
0x%08lx\n",pEddgbl->unk_1e0[4]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[5] :
0x%08lx\n",pEddgbl->unk_1e0[5]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[6] :
0x%08lx\n",pEddgbl->unk_1e0[6]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[7] :
0x%08lx\n",pEddgbl->unk_1e0[7]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[8] :
0x%08lx\n",pEddgbl->unk_1e0[8]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[9] :
0x%08lx\n",pEddgbl->unk_1e0[9]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[10] :
0x%08lx\n",pEddgbl->unk_1e0[10]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[11] :
0x%08lx\n",pEddgbl->unk_1e0[11]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[12] :
0x%08lx\n",pEddgbl->unk_1e0[12]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[13] :
0x%08lx\n",pEddgbl->unk_1e0[13]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[14] :
0x%08lx\n",pEddgbl->unk_1e0[14]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[15] :
0x%08lx\n",pEddgbl->unk_1e0[15]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[16] :
0x%08lx\n",pEddgbl->unk_1e0[16]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[17] :
0x%08lx\n",pEddgbl->unk_1e0[17]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[18] :
0x%08lx\n",pEddgbl->unk_1e0[18]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[19] :
0x%08lx\n",pEddgbl->unk_1e0[19]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[20] :
0x%08lx\n",pEddgbl->unk_1e0[20]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[21] :
0x%08lx\n",pEddgbl->unk_1e0[21]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[22] :
0x%08lx\n",pEddgbl->unk_1e0[22]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[23] :
0x%08lx\n",pEddgbl->unk_1e0[23]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[24] :
0x%08lx\n",pEddgbl->unk_1e0[24]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[25] :
0x%08lx\n",pEddgbl->unk_1e0[25]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[26] :
0x%08lx\n",pEddgbl->unk_1e0[26]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[27] :
0x%08lx\n",pEddgbl->unk_1e0[27]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[28] :
0x%08lx\n",pEddgbl->unk_1e0[28]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[29] :
0x%08lx\n",pEddgbl->unk_1e0[29]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[30] :
0x%08lx\n",pEddgbl->unk_1e0[30]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[31] :
0x%08lx\n",pEddgbl->unk_1e0[31]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[32] :
0x%08lx\n",pEddgbl->unk_1e0[32]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[33] :
0x%08lx\n",pEddgbl->unk_1e0[33]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[34] :
0x%08lx\n",pEddgbl->unk_1e0[34]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[35] :
0x%08lx\n",pEddgbl->unk_1e0[35]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[36] :
0x%08lx\n",pEddgbl->unk_1e0[36]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[37] :
0x%08lx\n",pEddgbl->unk_1e0[37]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[38] :
0x%08lx\n",pEddgbl->unk_1e0[38]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[39] :
0x%08lx\n",pEddgbl->unk_1e0[39]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[40] :
0x%08lx\n",pEddgbl->unk_1e0[0]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[41] :
0x%08lx\n",pEddgbl->unk_1e0[41]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[42] :
0x%08lx\n",pEddgbl->unk_1e0[42]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[43] :
0x%08lx\n",pEddgbl->unk_1e0[43]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->ddHalInfo :
0x%08lx\n",(((DWORD)&pEddgbl->ddHalInfo) -
(DWORD)pEddgbl),pEddgbl->ddHalInfo);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[0] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[0]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[0]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[1] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[1]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[1]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[2] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[2]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[2]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[3] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[3]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[3]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[4] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[4]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[4]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[5] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[5]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[5]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[6] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[6]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[6]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[7] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[7]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[7]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[8] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[8]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[8]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[9] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[9]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[9]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[10] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[10]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[10]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[11] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[11]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[11]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[12] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[12]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[12]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[13] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[13]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[13]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[14] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[14]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[14]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[15] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[15]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[15]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[16] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[16]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[16]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[17] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[17]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[17]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[18] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[18]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[18]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[19] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[19]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[19]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[20] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[20]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[20]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[21] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[21]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[21]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[22] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[22]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[22]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[23] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[23]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[23]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[24] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[24]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[24]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[25] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[25]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[25]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[26] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[26]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[26]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[27] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[27]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[27]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[28] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[28]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[28]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[29] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[29]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[29]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[30] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[30]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[30]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[31] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[31]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[31]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[32] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[32]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[32]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[33] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[33]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[33]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[34] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[34]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[34]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[35] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[35]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[35]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[36] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[36]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[36]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[37] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[37]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[37]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[38] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[38]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[38]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[39] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[39]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[39]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[40] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[40]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[0]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[41] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[41]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[41]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[42] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[42]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[42]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_1e0[43] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_1e0[43]) -
(DWORD)pEddgbl),pEddgbl->unk_1e0[43]);
// DD_CALLBACKS ddCallbacks;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->ddCallbacks :
0x%08lx\n",pEddgbl->ddCallbacks);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->ddCallbacks :
0x%08lx\n",(((DWORD)&pEddgbl->ddCallbacks) -
(DWORD)pEddgbl),pEddgbl->ddCallbacks);
// DD_SURFACECALLBACKS ddSurfaceCallbacks;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->ddSurfaceCallbacks :
0x%08lx\n",pEddgbl->ddSurfaceCallbacks);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->ddSurfaceCallbacks :
0x%08lx\n",(((DWORD)&pEddgbl->ddSurfaceCallbacks) -
(DWORD)pEddgbl),pEddgbl->ddSurfaceCallbacks);
// DD_PALETTECALLBACKS ddPaletteCallbacks;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->ddPaletteCallbacks :
0x%08lx\n",pEddgbl->ddPaletteCallbacks);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->ddPaletteCallbacks :
0x%08lx\n",(((DWORD)&pEddgbl->ddPaletteCallbacks) -
(DWORD)pEddgbl),pEddgbl->ddPaletteCallbacks);
DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_314[0] :
0x%08lx\n",pEddgbl->unk_314[0]);
DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_314[1] :
0x%08lx\n",pEddgbl->unk_314[1]);
DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_314[2] :
0x%08lx\n",pEddgbl->unk_314[2]);
@@ -755,81 +751,81 @@
DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_498[16] :
0x%08lx\n",pEddgbl->unk_498[16]);
DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_498[17] :
0x%08lx\n",pEddgbl->unk_498[17]);
// DD_MISCELLANEOUSCALLBACKS ddMiscellanousCallbacks;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->d3dNtHalCallbacks3 :
0x%08lx\n",pEddgbl->d3dNtHalCallbacks3);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[0] :
0x%08lx\n",pEddgbl->unk_4ec[0]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[1] :
0x%08lx\n",pEddgbl->unk_4ec[1]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[2] :
0x%08lx\n",pEddgbl->unk_4ec[2]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[3] :
0x%08lx\n",pEddgbl->unk_4ec[3]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[4] :
0x%08lx\n",pEddgbl->unk_4ec[4]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[5] :
0x%08lx\n",pEddgbl->unk_4ec[5]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[6] :
0x%08lx\n",pEddgbl->unk_4ec[6]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[7] :
0x%08lx\n",pEddgbl->unk_4ec[7]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[8] :
0x%08lx\n",pEddgbl->unk_4ec[8]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[9] :
0x%08lx\n",pEddgbl->unk_4ec[9]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[10] :
0x%08lx\n",pEddgbl->unk_4ec[10]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[11] :
0x%08lx\n",pEddgbl->unk_4ec[11]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[12] :
0x%08lx\n",pEddgbl->unk_4ec[12]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[13] :
0x%08lx\n",pEddgbl->unk_4ec[13]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[14] :
0x%08lx\n",pEddgbl->unk_4ec[14]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[15] :
0x%08lx\n",pEddgbl->unk_4ec[15]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[16] :
0x%08lx\n",pEddgbl->unk_4ec[16]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_4ec[17] :
0x%08lx\n",pEddgbl->unk_4ec[17]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->ddMiscellanousCallbacks :
0x%08lx\n",(((DWORD)&pEddgbl->ddMiscellanousCallbacks) -
(DWORD)pEddgbl),pEddgbl->ddMiscellanousCallbacks);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[0] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[0]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[0]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[1] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[1]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[1]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[2] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[2]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[2]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[3] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[3]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[3]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[4] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[4]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[4]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[5] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[5]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[5]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[6] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[6]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[6]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[7] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[7]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[7]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[8] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[8]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[8]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[9] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[9]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[9]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[10] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[10]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[10]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[11] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[11]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[11]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[12] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[12]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[12]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[13] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[13]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[13]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[14] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[14]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[14]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[15] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[15]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[15]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[16] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[16]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[16]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_4ec[17] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_4ec[17]) -
(DWORD)pEddgbl),pEddgbl->unk_4ec[17]);
// D3DNTHAL_CALLBACKS3 d3dNtHalCallbacks3;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->d3dNtHalCallbacks3 :
0x%08lx\n",pEddgbl->d3dNtHalCallbacks3);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[0] :
0x%08lx\n",pEddgbl->unk_54c[0]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[1] :
0x%08lx\n",pEddgbl->unk_54c[1]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[2] :
0x%08lx\n",pEddgbl->unk_54c[2]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[3] :
0x%08lx\n",pEddgbl->unk_54c[3]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[4] :
0x%08lx\n",pEddgbl->unk_54c[4]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[5] :
0x%08lx\n",pEddgbl->unk_54c[5]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[6] :
0x%08lx\n",pEddgbl->unk_54c[6]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[7] :
0x%08lx\n",pEddgbl->unk_54c[7]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[8] :
0x%08lx\n",pEddgbl->unk_54c[8]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[9] :
0x%08lx\n",pEddgbl->unk_54c[9]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[10] :
0x%08lx\n",pEddgbl->unk_54c[10]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[11] :
0x%08lx\n",pEddgbl->unk_54c[11]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[12] :
0x%08lx\n",pEddgbl->unk_54c[12]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[13] :
0x%08lx\n",pEddgbl->unk_54c[13]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[14] :
0x%08lx\n",pEddgbl->unk_54c[14]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[15] :
0x%08lx\n",pEddgbl->unk_54c[15]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[16] :
0x%08lx\n",pEddgbl->unk_54c[16]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[17] :
0x%08lx\n",pEddgbl->unk_54c[17]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[18] :
0x%08lx\n",pEddgbl->unk_54c[18]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[19] :
0x%08lx\n",pEddgbl->unk_54c[19]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[20] :
0x%08lx\n",pEddgbl->unk_54c[20]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[21] :
0x%08lx\n",pEddgbl->unk_54c[21]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_54c[22] :
0x%08lx\n",pEddgbl->unk_54c[22]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->d3dNtHalCallbacks3 :
0x%08lx\n",(((DWORD)&pEddgbl->d3dNtHalCallbacks3) -
(DWORD)pEddgbl),pEddgbl->d3dNtHalCallbacks3);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_544 :
0x%08lx\n",(((DWORD)&pEddgbl->unk_544) - (DWORD)pEddgbl),
pEddgbl->unk_544);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_548 :
0x%08lx\n",(((DWORD)&pEddgbl->unk_548) - (DWORD)pEddgbl),
pEddgbl->unk_548);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[0] :
0x%08lx\n",( ( (DWORD)&pEddgbl->unk_54c[0] ) -
(DWORD)pEddgbl),pEddgbl->unk_54c[0]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[1] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[1]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[1]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[2] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[2]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[2]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[3] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[3]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[3]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[4] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[4]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[4]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[5] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[5]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[5]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[6] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[6]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[6]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[7] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[7]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[7]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[8] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[8]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[8]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[9] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[9]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[9]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[10] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[10]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[10]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[11] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[11]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[11]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[12] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[12]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[12]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[13] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[13]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[13]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[14] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[14]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[14]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[15] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[15]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[15]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[16] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[16]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[16]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[17] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[17]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[17]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[18] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[18]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[18]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[19] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[19]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[19]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[20] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[20]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[20]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[21] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[21]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[21]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_54c[22] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_54c[22]) -
(DWORD)pEddgbl),pEddgbl->unk_54c[22]);
// EDD_DIRECTDRAW_LOCAL* peDirectDrawLocalList;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->peDirectDrawLocalList :
0x%08lx\n",pEddgbl->peDirectDrawLocalList);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->peDirectDrawLocalList :
0x%08lx\n",(((DWORD)&pEddgbl->peDirectDrawLocalList) - (DWORD)pEddgbl),
pEddgbl->peDirectDrawLocalList);
// EDD_SURFACE* peSurface_LockList;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->peSurface_LockList :
0x%08lx\n",pEddgbl->peSurface_LockList);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->fl :
0x%08lx\n",pEddgbl->fl);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->cSurfaceLocks :
0x%08lx\n",pEddgbl->cSurfaceLocks);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->peSurface_LockList :
0x%08lx\n",(((DWORD)&pEddgbl->peSurface_LockList) - (DWORD)pEddgbl),
pEddgbl->peSurface_LockList);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->fl :
0x%08lx\n",(((DWORD)&pEddgbl->fl) - (DWORD)pEddgbl), pEddgbl->fl);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->cSurfaceLocks :
0x%08lx\n",(((DWORD)&pEddgbl->cSurfaceLocks) - (DWORD)pEddgbl),
pEddgbl->cSurfaceLocks);
// PKEVENT pAssertModeEvent;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->pAssertModeEvent :
0x%08lx\n",pEddgbl->pAssertModeEvent);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->pAssertModeEvent :
0x%08lx\n",(((DWORD)&pEddgbl->pAssertModeEvent) - (DWORD)pEddgbl),
pEddgbl->pAssertModeEvent);
// EDD_SURFACE *peSurfaceCurrent;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->peSurfaceCurrent :
0x%08lx\n",pEddgbl->peSurfaceCurrent);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->peSurfaceCurrent :
0x%08lx\n",(((DWORD)&pEddgbl->peSurfaceCurrent) - (DWORD)pEddgbl),
pEddgbl->peSurfaceCurrent);
// EDD_SURFACE *peSurfacePrimary;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->peSurfacePrimary :
0x%08lx\n",pEddgbl->peSurfacePrimary);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->bSuspended :
0x%08lx\n",pEddgbl->bSuspended);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[0] :
0x%08lx\n",pEddgbl->unk_5c8[0]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[1] :
0x%08lx\n",pEddgbl->unk_5c8[1]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[2] :
0x%08lx\n",pEddgbl->unk_5c8[2]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[3] :
0x%08lx\n",pEddgbl->unk_5c8[3]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[4] :
0x%08lx\n",pEddgbl->unk_5c8[4]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[5] :
0x%08lx\n",pEddgbl->unk_5c8[5]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[6] :
0x%08lx\n",pEddgbl->unk_5c8[6]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[7] :
0x%08lx\n",pEddgbl->unk_5c8[7]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[8] :
0x%08lx\n",pEddgbl->unk_5c8[8]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[9] :
0x%08lx\n",pEddgbl->unk_5c8[9]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[10] :
0x%08lx\n",pEddgbl->unk_5c8[10]);
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_5c8[11] :
0x%08lx\n",pEddgbl->unk_5c8[11]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->peSurfacePrimary :
0x%08lx\n",(((DWORD)&pEddgbl->peSurfacePrimary) -
(DWORD)pEddgbl),pEddgbl->peSurfacePrimary);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->bSuspended :
0x%08lx\n",(((DWORD)&pEddgbl->bSuspended) -
(DWORD)pEddgbl),pEddgbl->bSuspended);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[0] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[0]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[0]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[1] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[1]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[1]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[2] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[2]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[2]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[3] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[3]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[3]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[4] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[4]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[4]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[5] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[5]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[5]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[6] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[6]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[6]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[7] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[7]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[7]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[8] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[8]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[8]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[9] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[9]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[9]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[10] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[10]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[10]);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5c8[11] :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5c8[11]) -
(DWORD)pEddgbl),pEddgbl->unk_5c8[11]);
// RECTL rcbounds;
- DPRINT1("PEDD_DIRECTDRAW_GLOBAL->rcbounds :
0x%08lx\n",pEddgbl->rcbounds);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_5FC :
0x%08lx\n",(((DWORD)&pEddgbl->unk_5FC) - (DWORD)pEddgbl),
pEddgbl->unk_5FC);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_600 :
0x%08lx\n",(((DWORD)&pEddgbl->unk_600) - (DWORD)pEddgbl),
pEddgbl->unk_600);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->rcbounds :
0x%08lx\n",(((DWORD)&pEddgbl->rcbounds) -
(DWORD)pEddgbl),pEddgbl->rcbounds);
+ DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->unk_608 :
0x%08lx\n",(((DWORD)&pEddgbl->unk_608) - (DWORD)pEddgbl),
pEddgbl->unk_608);
DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->hDev :
0x%08lx\n",(((DWORD)&pEddgbl->hDev) - (DWORD)pEddgbl), pEddgbl->hDev);
- DPRINT1("0x%08lx PEDD_DIRECTDRAW_GLOBAL->hPDev :
0x%08lx\n",(((DWORD)&pEddgbl->hPDev) - (DWORD)pEddgbl), pEddgbl->hPDev);
DPRINT1("PEDD_DIRECTDRAW_GLOBAL->ddPaletteCallbacks :
0x%08lx\n",pEddgbl->ddPaletteCallbacks);
DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_1e0[0] :
0x%08lx\n",pEddgbl->unk_610[0]);
DPRINT1("PEDD_DIRECTDRAW_GLOBAL->unk_610[1] :
0x%08lx\n",pEddgbl->unk_610[1]);
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] Sat Apr 26 07:55:14
2008
@@ -334,7 +334,6 @@
case DxEGShDevData_eddg:
DPRINT1("requested DXEGSHDEVDATA DxEGShDevData_eddg\n");
retVal = (DWORD) PDev->pEDDgpl;
- dump_edd_directdraw_global(PDev->pEDDgpl);
break;
case DxEGShDevData_dd_nCount:
DPRINT1("requested DXEGSHDEVDATA DxEGShDevData_dd_nCount\n");