Author: greatlrd
Date: Sun Mar 4 14:57:44 2007
New Revision: 25981
URL:
http://svn.reactos.org/svn/reactos?rev=25981&view=rev
Log:
split up all testcase to own file. the size are growning
Added:
trunk/rosapps/dxtest/win32kdxtest/NtGdiDdCreateDirectDrawObject.c (with props)
trunk/rosapps/dxtest/win32kdxtest/NtGdiDdDeleteDirectDrawObject.c (with props)
trunk/rosapps/dxtest/win32kdxtest/NtGdiDdQueryDirectDrawObject.c (with props)
Modified:
trunk/rosapps/dxtest/win32kdxtest/main.c
trunk/rosapps/dxtest/win32kdxtest/win32kdxtest.rbuild
Added: trunk/rosapps/dxtest/win32kdxtest/NtGdiDdCreateDirectDrawObject.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/dxtest/win32kdxtest/NtGdiD…
==============================================================================
--- trunk/rosapps/dxtest/win32kdxtest/NtGdiDdCreateDirectDrawObject.c (added)
+++ trunk/rosapps/dxtest/win32kdxtest/NtGdiDdCreateDirectDrawObject.c Sun Mar 4 14:57:44
2007
@@ -1,0 +1,33 @@
+#include <stdio.h>
+/* SDK/DDK/NDK Headers. */
+#include <windows.h>
+#include <wingdi.h>
+#include <winddi.h>
+#include <d3dnthal.h>
+#include <dll/directx/d3d8thk.h>
+#include "test.h"
+
+
+/*
+ * Test see if we getting a DirectDrawObject from win32k
+ *
+ */
+HANDLE
+test_NtGdiDdCreateDirectDrawObject()
+{
+ HANDLE retValue=0;
+ int fails=0;
+ HDC hdc=CreateDCW(L"Display",NULL,NULL,NULL);
+
+ printf("Start testing of NtGdiDdCreateDirectDrawObject\n");
+
+ retValue = OsThunkDdCreateDirectDrawObject(NULL);
+
testing_noteq(retValue,NULL,fails,"NtGdiDdCreateDirectDrawObject(NULL);\0");
+
+ retValue = OsThunkDdCreateDirectDrawObject(hdc);
+ testing_eq(retValue,NULL,fails,"NtGdiDdCreateDirectDrawObject(hdc);\0");
+
+ show_status(fails, "NtGdiDdCreateDirectDrawObject\0");
+
+ return retValue;
+}
Propchange: trunk/rosapps/dxtest/win32kdxtest/NtGdiDdCreateDirectDrawObject.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rosapps/dxtest/win32kdxtest/NtGdiDdDeleteDirectDrawObject.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/dxtest/win32kdxtest/NtGdiD…
==============================================================================
--- trunk/rosapps/dxtest/win32kdxtest/NtGdiDdDeleteDirectDrawObject.c (added)
+++ trunk/rosapps/dxtest/win32kdxtest/NtGdiDdDeleteDirectDrawObject.c Sun Mar 4 14:57:44
2007
@@ -1,0 +1,28 @@
+#include <stdio.h>
+/* SDK/DDK/NDK Headers. */
+#include <windows.h>
+#include <wingdi.h>
+#include <winddi.h>
+#include <d3dnthal.h>
+#include <dll/directx/d3d8thk.h>
+#include "test.h"
+
+/*
+ * Test see if we can delete a DirectDrawObject from win32k
+ *
+ */
+void
+test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
+{
+ int fails=0;
+ BOOL retValue=FALSE;
+ printf("Start testing of NtGdiDdDeleteDirectDrawObject\n");
+
+ retValue = OsThunkDdDeleteDirectDrawObject(hDirectDrawLocal);
+
testing_eq(retValue,FALSE,fails,"NtGdiDdDeleteDirectDrawObject(hDirectDrawLocal);\0");
+
+ retValue = OsThunkDdDeleteDirectDrawObject(NULL);
+ testing_eq(retValue,TRUE,fails,"NtGdiDdDeleteDirectDrawObject(NULL);\0");
+
+ show_status(fails, "NtGdiDdDeleteDirectDrawObject\0");
+}
Propchange: trunk/rosapps/dxtest/win32kdxtest/NtGdiDdDeleteDirectDrawObject.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/rosapps/dxtest/win32kdxtest/NtGdiDdQueryDirectDrawObject.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/dxtest/win32kdxtest/NtGdiD…
==============================================================================
--- trunk/rosapps/dxtest/win32kdxtest/NtGdiDdQueryDirectDrawObject.c (added)
+++ trunk/rosapps/dxtest/win32kdxtest/NtGdiDdQueryDirectDrawObject.c Sun Mar 4 14:57:44
2007
@@ -1,0 +1,251 @@
+#include <stdio.h>
+/* SDK/DDK/NDK Headers. */
+#include <windows.h>
+#include <wingdi.h>
+#include <winddi.h>
+#include <d3dnthal.h>
+#include <dll/directx/d3d8thk.h>
+#include "test.h"
+
+extern BOOL dumping_on;
+
+/*
+ * Test see if we can setup DirectDrawObject
+ *
+ */
+void
+test_NtGdiDdQueryDirectDrawObject( HANDLE hDirectDrawLocal)
+{
+ int fails=0;
+ BOOL retValue=FALSE;
+
+ DD_HALINFO *pHalInfo = NULL;
+ DWORD *pCallBackFlags = NULL;
+ LPD3DNTHAL_CALLBACKS puD3dCallbacks = NULL;
+ LPD3DNTHAL_GLOBALDRIVERDATA puD3dDriverData = NULL;
+ PDD_D3DBUFCALLBACKS puD3dBufferCallbacks = NULL;
+ LPDDSURFACEDESC puD3dTextureFormats = NULL;
+ DWORD *puNumHeaps = NULL;
+ VIDEOMEMORY *puvmList = NULL;
+ DWORD *puNumFourCC = NULL;
+ DWORD *puFourCC = NULL;
+
+ DD_HALINFO HalInfo;
+ DWORD CallBackFlags[4];
+ D3DNTHAL_CALLBACKS D3dCallbacks;
+ D3DNTHAL_GLOBALDRIVERDATA D3dDriverData;
+ DD_D3DBUFCALLBACKS D3dBufferCallbacks;
+ DDSURFACEDESC2 D3dTextureFormats[100];
+ // DWORD NumHeaps = 0;
+ VIDEOMEMORY vmList;
+ // DWORD NumFourCC = 0;
+ //DWORD FourCC = 0;
+
+ /* clear data */
+ memset(&vmList,0,sizeof(VIDEOMEMORY));
+ memset(&D3dTextureFormats,0,sizeof(DDSURFACEDESC));
+ memset(&D3dBufferCallbacks,0,sizeof(DD_D3DBUFCALLBACKS));
+ memset(&D3dDriverData,0,sizeof(D3DNTHAL_GLOBALDRIVERDATA));
+ memset(&D3dCallbacks,0,sizeof(D3DNTHAL_CALLBACKS));
+ memset(&HalInfo,0,sizeof(DD_HALINFO));
+ memset(CallBackFlags,0,sizeof(DWORD)*3);
+
+ printf("Start testing of NtGdiDdQueryDirectDrawObject\n");
+
+ /* testing OsThunkDdQueryDirectDrawObject( NULL, .... */
+ printf("testing DdQueryDirectDrawObject( NULL, ....)\n");
+
+ retValue = OsThunkDdQueryDirectDrawObject( NULL, pHalInfo,
+ pCallBackFlags, puD3dCallbacks,
+ puD3dDriverData, puD3dBufferCallbacks,
+ puD3dTextureFormats, puNumHeaps,
+ puvmList, puNumFourCC,
+ puFourCC);
+ testing_noteq(retValue,FALSE,fails,"1. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
+ testing_noteq(pHalInfo,NULL,fails,"2. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
+ testing_noteq(pCallBackFlags,NULL,fails,"3. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
+ testing_noteq(puD3dCallbacks,NULL,fails,"4. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
+ testing_noteq(puD3dDriverData,NULL,fails,"5. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
+ testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
+ testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
+ testing_noteq(puNumFourCC,NULL,fails,"8. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
+ testing_noteq(puFourCC,NULL,fails,"9. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
+
+ /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, NULL, .... */
+ printf("testing DdQueryDirectDrawObject( hDD, NULL, ....)\n");
+
+ retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
+ pCallBackFlags, puD3dCallbacks,
+ puD3dDriverData, puD3dBufferCallbacks,
+ puD3dTextureFormats, puNumHeaps,
+ puvmList, puNumFourCC,
+ puFourCC);
+
+ testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
+ testing_noteq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
+ testing_noteq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
+ testing_noteq(puD3dCallbacks,NULL,fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
+ testing_noteq(puD3dDriverData,NULL,fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
+ testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
+ testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
+ testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
+ testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
+
+ /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo, NULL, ....
*/
+ printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, NULL, ....)\n");
+
+ pHalInfo = &HalInfo;
+ retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
+ pCallBackFlags, puD3dCallbacks,
+ puD3dDriverData, puD3dBufferCallbacks,
+ puD3dTextureFormats, puNumHeaps,
+ puvmList, puNumFourCC,
+ puFourCC);
+
+ testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
+ testing_eq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
+ testing_noteq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
+ testing_noteq(puD3dCallbacks,NULL,fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
+ testing_noteq(puD3dDriverData,NULL,fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
+ testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
+ testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
+ testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
+ testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
+
+ if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
+ (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
+ {
+ printf("10. if this show for NT 2000/XP/2003 ignore it,
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\n");
+ fails++;
+ }
+
+ if (dumping_on == TRUE)
+ {
+ dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, NULL, ...)");
+ }
+
+ /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
pCallBackFlags, NULL, .... */
+ printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, NULL,
....)\n");
+
+ pHalInfo = &HalInfo;
+ pCallBackFlags = CallBackFlags;
+
+ RtlZeroMemory(pHalInfo,sizeof(DD_HALINFO));
+
+ retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
+ pCallBackFlags, puD3dCallbacks,
+ puD3dDriverData, puD3dBufferCallbacks,
+ puD3dTextureFormats, puNumHeaps,
+ puvmList, puNumFourCC,
+ puFourCC);
+
+ testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
+ testing_eq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
+ testing_eq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
+ testing_noteq(puD3dCallbacks,NULL,fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
+ testing_noteq(puD3dDriverData,NULL,fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
+ testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
+ testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
+ testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
+ testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
+ if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
+ (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
+ {
+ printf("10. if this show for NT 2000/XP/2003 ignore it,
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\n");
+ fails++;
+ }
+
+ if (dumping_on == TRUE)
+ {
+ dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
+
dump_CallBackFlags(pCallBackFlags,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
+ }
+
+ /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
pCallBackFlags, NULL, .... */
+ printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags,
puD3dCallbacks, NULL, ....)\n");
+
+ pHalInfo = &HalInfo;
+ pCallBackFlags = CallBackFlags;
+ puD3dCallbacks = &D3dCallbacks;
+
+ RtlZeroMemory(pHalInfo,sizeof(DD_HALINFO));
+ RtlZeroMemory(pCallBackFlags,sizeof(DWORD)*3);
+
+ retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
+ pCallBackFlags, puD3dCallbacks,
+ puD3dDriverData, puD3dBufferCallbacks,
+ puD3dTextureFormats, puNumHeaps,
+ puvmList, puNumFourCC,
+ puFourCC);
+
+ testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+ testing_eq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+ testing_eq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+ testing_noteq(puD3dCallbacks->dwSize,sizeof(D3DNTHAL_CALLBACKS),fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+
+ testing_noteq(puD3dDriverData,NULL,fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+ testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+ testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+ testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+ testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+ if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
+ (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
+ {
+ printf("10. if this show for NT 2000/XP/2003 ignore it,
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\n");
+ fails++;
+ }
+
+ if (dumping_on == TRUE)
+ {
+ dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
+
dump_CallBackFlags(pCallBackFlags,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
+ /* FIXME dump puD3dCallbacks */
+ }
+
+ /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
pCallBackFlags, NULL, .... */
+ printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags,
puD3dCallbacks, puD3dDriverData, NULL, ....)\n");
+
+ pHalInfo = &HalInfo;
+ pCallBackFlags = CallBackFlags;
+ puD3dCallbacks = &D3dCallbacks;
+ puD3dDriverData = &D3dDriverData;
+
+ RtlZeroMemory(pHalInfo,sizeof(DD_HALINFO));
+ RtlZeroMemory(pCallBackFlags,sizeof(DWORD)*3);
+ RtlZeroMemory(puD3dCallbacks,sizeof(D3DNTHAL_CALLBACKS));
+
+ retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
+ pCallBackFlags, puD3dCallbacks,
+ puD3dDriverData, puD3dBufferCallbacks,
+ puD3dTextureFormats, puNumHeaps,
+ puvmList, puNumFourCC,
+ puFourCC);
+
+ testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
+ testing_eq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
+ testing_eq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
+ testing_noteq(puD3dCallbacks->dwSize,sizeof(D3DNTHAL_CALLBACKS),fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
+
+
testing_noteq(puD3dDriverData->dwSize,sizeof(D3DNTHAL_GLOBALDRIVERDATA),fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
+
+ testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
+ testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
+ testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
+ testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
+ if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
+ (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
+ {
+ printf("10. if this show for NT 2000/XP/2003 ignore it,
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\n");
+ fails++;
+ }
+
+ if (dumping_on == TRUE)
+ {
+ dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
+
dump_CallBackFlags(pCallBackFlags,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
+ /* FIXME dump puD3dCallbacks */
+ /* FIXME dump puD3dDriverData */
+ }
+
+ show_status(fails, "NtGdiDdQueryDirectDrawObject\0");
+}
Propchange: trunk/rosapps/dxtest/win32kdxtest/NtGdiDdQueryDirectDrawObject.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/rosapps/dxtest/win32kdxtest/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/dxtest/win32kdxtest/main.c…
==============================================================================
--- trunk/rosapps/dxtest/win32kdxtest/main.c (original)
+++ trunk/rosapps/dxtest/win32kdxtest/main.c Sun Mar 4 14:57:44 2007
@@ -42,290 +42,6 @@
return 0;
}
-/*
- * Test see if we getting a DirectDrawObject from win32k
- *
- */
-HANDLE
-test_NtGdiDdCreateDirectDrawObject()
-{
- HANDLE retValue=0;
- int fails=0;
- HDC hdc=CreateDCW(L"Display",NULL,NULL,NULL);
-
- printf("Start testing of NtGdiDdCreateDirectDrawObject\n");
-
- retValue = OsThunkDdCreateDirectDrawObject(NULL);
-
testing_noteq(retValue,NULL,fails,"NtGdiDdCreateDirectDrawObject(NULL);\0");
-
- retValue = OsThunkDdCreateDirectDrawObject(hdc);
- testing_eq(retValue,NULL,fails,"NtGdiDdCreateDirectDrawObject(hdc);\0");
-
- show_status(fails, "NtGdiDdCreateDirectDrawObject\0");
-
- return retValue;
-}
-
-/*
- * Test see if we can setup DirectDrawObject
- *
- */
-void
-test_NtGdiDdQueryDirectDrawObject( HANDLE hDirectDrawLocal)
-{
- int fails=0;
- BOOL retValue=FALSE;
-
- DD_HALINFO *pHalInfo = NULL;
- DWORD *pCallBackFlags = NULL;
- LPD3DNTHAL_CALLBACKS puD3dCallbacks = NULL;
- LPD3DNTHAL_GLOBALDRIVERDATA puD3dDriverData = NULL;
- PDD_D3DBUFCALLBACKS puD3dBufferCallbacks = NULL;
- LPDDSURFACEDESC puD3dTextureFormats = NULL;
- DWORD *puNumHeaps = NULL;
- VIDEOMEMORY *puvmList = NULL;
- DWORD *puNumFourCC = NULL;
- DWORD *puFourCC = NULL;
-
- DD_HALINFO HalInfo;
- DWORD CallBackFlags[4];
- D3DNTHAL_CALLBACKS D3dCallbacks;
- D3DNTHAL_GLOBALDRIVERDATA D3dDriverData;
- DD_D3DBUFCALLBACKS D3dBufferCallbacks;
- DDSURFACEDESC2 D3dTextureFormats[100];
- // DWORD NumHeaps = 0;
- VIDEOMEMORY vmList;
- // DWORD NumFourCC = 0;
- //DWORD FourCC = 0;
-
- /* clear data */
- memset(&vmList,0,sizeof(VIDEOMEMORY));
- memset(&D3dTextureFormats,0,sizeof(DDSURFACEDESC));
- memset(&D3dBufferCallbacks,0,sizeof(DD_D3DBUFCALLBACKS));
- memset(&D3dDriverData,0,sizeof(D3DNTHAL_GLOBALDRIVERDATA));
- memset(&D3dCallbacks,0,sizeof(D3DNTHAL_CALLBACKS));
- memset(&HalInfo,0,sizeof(DD_HALINFO));
- memset(CallBackFlags,0,sizeof(DWORD)*3);
-
- printf("Start testing of NtGdiDdQueryDirectDrawObject\n");
-
- /* testing OsThunkDdQueryDirectDrawObject( NULL, .... */
- printf("testing DdQueryDirectDrawObject( NULL, ....)\n");
-
- retValue = OsThunkDdQueryDirectDrawObject( NULL, pHalInfo,
- pCallBackFlags, puD3dCallbacks,
- puD3dDriverData, puD3dBufferCallbacks,
- puD3dTextureFormats, puNumHeaps,
- puvmList, puNumFourCC,
- puFourCC);
- testing_noteq(retValue,FALSE,fails,"1. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
- testing_noteq(pHalInfo,NULL,fails,"2. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
- testing_noteq(pCallBackFlags,NULL,fails,"3. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
- testing_noteq(puD3dCallbacks,NULL,fails,"4. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
- testing_noteq(puD3dDriverData,NULL,fails,"5. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
- testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
- testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
- testing_noteq(puNumFourCC,NULL,fails,"8. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
- testing_noteq(puFourCC,NULL,fails,"9. NtGdiDdQueryDirectDrawObject(NULL,
...);\0");
-
- /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, NULL, .... */
- printf("testing DdQueryDirectDrawObject( hDD, NULL, ....)\n");
-
- retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
- pCallBackFlags, puD3dCallbacks,
- puD3dDriverData, puD3dBufferCallbacks,
- puD3dTextureFormats, puNumHeaps,
- puvmList, puNumFourCC,
- puFourCC);
-
- testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
- testing_noteq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
- testing_noteq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
- testing_noteq(puD3dCallbacks,NULL,fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
- testing_noteq(puD3dDriverData,NULL,fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
- testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
- testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
- testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
- testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
-
- /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo, NULL, ....
*/
- printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, NULL, ....)\n");
-
- pHalInfo = &HalInfo;
- retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
- pCallBackFlags, puD3dCallbacks,
- puD3dDriverData, puD3dBufferCallbacks,
- puD3dTextureFormats, puNumHeaps,
- puvmList, puNumFourCC,
- puFourCC);
-
- testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
- testing_eq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
- testing_noteq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
- testing_noteq(puD3dCallbacks,NULL,fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
- testing_noteq(puD3dDriverData,NULL,fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
- testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
- testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
- testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
- testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
-
- if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
- (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
- {
- printf("10. if this show for NT 2000/XP/2003 ignore it,
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\n");
- fails++;
- }
-
- if (dumping_on == TRUE)
- {
- dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, NULL, ...)");
- }
-
- /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
pCallBackFlags, NULL, .... */
- printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, NULL,
....)\n");
-
- pHalInfo = &HalInfo;
- pCallBackFlags = CallBackFlags;
-
- RtlZeroMemory(pHalInfo,sizeof(DD_HALINFO));
-
- retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
- pCallBackFlags, puD3dCallbacks,
- puD3dDriverData, puD3dBufferCallbacks,
- puD3dTextureFormats, puNumHeaps,
- puvmList, puNumFourCC,
- puFourCC);
-
- testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
- testing_eq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
- testing_eq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
- testing_noteq(puD3dCallbacks,NULL,fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
- testing_noteq(puD3dDriverData,NULL,fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
- testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
- testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
- testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
- testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\0");
- if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
- (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
- {
- printf("10. if this show for NT 2000/XP/2003 ignore it,
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL,
...);\n");
- fails++;
- }
-
- if (dumping_on == TRUE)
- {
- dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
-
dump_CallBackFlags(pCallBackFlags,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
- }
-
- /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
pCallBackFlags, NULL, .... */
- printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags,
puD3dCallbacks, NULL, ....)\n");
-
- pHalInfo = &HalInfo;
- pCallBackFlags = CallBackFlags;
- puD3dCallbacks = &D3dCallbacks;
-
- RtlZeroMemory(pHalInfo,sizeof(DD_HALINFO));
- RtlZeroMemory(pCallBackFlags,sizeof(DWORD)*3);
-
- retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
- pCallBackFlags, puD3dCallbacks,
- puD3dDriverData, puD3dBufferCallbacks,
- puD3dTextureFormats, puNumHeaps,
- puvmList, puNumFourCC,
- puFourCC);
-
- testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
- testing_eq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
- testing_eq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
- testing_noteq(puD3dCallbacks->dwSize,sizeof(D3DNTHAL_CALLBACKS),fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
-
- testing_noteq(puD3dDriverData,NULL,fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
- testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
- testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
- testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
- testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
- if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
- (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
- {
- printf("10. if this show for NT 2000/XP/2003 ignore it,
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\n");
- fails++;
- }
-
- if (dumping_on == TRUE)
- {
- dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
-
dump_CallBackFlags(pCallBackFlags,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
- /* FIXME dump puD3dCallbacks */
- }
-
- /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
pCallBackFlags, NULL, .... */
- printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags,
puD3dCallbacks, puD3dDriverData, NULL, ....)\n");
-
- pHalInfo = &HalInfo;
- pCallBackFlags = CallBackFlags;
- puD3dCallbacks = &D3dCallbacks;
- puD3dDriverData = &D3dDriverData;
-
- RtlZeroMemory(pHalInfo,sizeof(DD_HALINFO));
- RtlZeroMemory(pCallBackFlags,sizeof(DWORD)*3);
- RtlZeroMemory(puD3dCallbacks,sizeof(D3DNTHAL_CALLBACKS));
-
- retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
- pCallBackFlags, puD3dCallbacks,
- puD3dDriverData, puD3dBufferCallbacks,
- puD3dTextureFormats, puNumHeaps,
- puvmList, puNumFourCC,
- puFourCC);
-
- testing_noteq(retValue,FALSE,fails,"1.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
- testing_eq(pHalInfo,NULL,fails,"2.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
- testing_eq(pCallBackFlags,NULL,fails,"3.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
- testing_noteq(puD3dCallbacks->dwSize,sizeof(D3DNTHAL_CALLBACKS),fails,"4.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
-
-
testing_noteq(puD3dDriverData->dwSize,sizeof(D3DNTHAL_GLOBALDRIVERDATA),fails,"5.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
NULL, ...);\0");
-
- testing_noteq(puD3dBufferCallbacks,NULL,fails,"6.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
- testing_noteq(puD3dTextureFormats,NULL,fails,"7.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
- testing_noteq(puNumFourCC,NULL,fails,"8.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
- testing_noteq(puFourCC,NULL,fails,"9.
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\0");
- if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
- (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
- {
- printf("10. if this show for NT 2000/XP/2003 ignore it,
NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks,
puD3dDriverData, NULL, ...);\n");
- fails++;
- }
-
- if (dumping_on == TRUE)
- {
- dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
-
dump_CallBackFlags(pCallBackFlags,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal,
pHalInfo, pCallBackFlags, NULL, ...)");
- /* FIXME dump puD3dCallbacks */
- /* FIXME dump puD3dDriverData */
- }
-
- show_status(fails, "NtGdiDdQueryDirectDrawObject\0");
-}
-
-/*
- * Test see if we can delete a DirectDrawObject from win32k
- *
- */
-void
-test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
-{
- int fails=0;
- BOOL retValue=FALSE;
- printf("Start testing of NtGdiDdDeleteDirectDrawObject\n");
-
- retValue = OsThunkDdDeleteDirectDrawObject(hDirectDrawLocal);
-
testing_eq(retValue,FALSE,fails,"NtGdiDdDeleteDirectDrawObject(hDirectDrawLocal);\0");
-
- retValue = OsThunkDdDeleteDirectDrawObject(NULL);
- testing_eq(retValue,TRUE,fails,"NtGdiDdDeleteDirectDrawObject(NULL);\0");
-
- show_status(fails, "NtGdiDdDeleteDirectDrawObject\0");
-}
@@ -333,3 +49,7 @@
+
+
+
+
Modified: trunk/rosapps/dxtest/win32kdxtest/win32kdxtest.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/dxtest/win32kdxtest/win32k…
==============================================================================
--- trunk/rosapps/dxtest/win32kdxtest/win32kdxtest.rbuild (original)
+++ trunk/rosapps/dxtest/win32kdxtest/win32kdxtest.rbuild Sun Mar 4 14:57:44 2007
@@ -9,5 +9,8 @@
<library>gdi32</library>
<library>d3d8thk</library>
<file>main.c</file>
+ <file>NtGdiDdCreateDirectDrawObject.c</file>
+ <file>NtGdiDdDeleteDirectDrawObject.c</file>
+ <file>NtGdiDdQueryDirectDrawObject.c</file>
<file>dump.c</file>
</module>