2008-06-01 18:06:22 +00:00
|
|
|
#include "w32knapi.h"
|
|
|
|
|
|
|
|
/* include the tests */
|
|
|
|
|
|
|
|
#include "ntdd/NtGdiDdCreateDirectDrawObject.c"
|
|
|
|
#include "ntdd/NtGdiDdDeleteDirectDrawObject.c"
|
|
|
|
#include "ntdd/NtGdiDdQueryDirectDrawObject.c"
|
|
|
|
|
|
|
|
#include "ntgdi/NtGdiArcInternal.c"
|
|
|
|
#include "ntgdi/NtGdiBitBlt.c"
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
#include "ntgdi/NtGdiCombineRgn.c"
|
2008-06-01 18:06:22 +00:00
|
|
|
#include "ntgdi/NtGdiCreateBitmap.c"
|
|
|
|
#include "ntgdi/NtGdiCreateCompatibleBitmap.c"
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
#include "ntgdi/NtGdiCreateCompatibleDC.c"
|
2009-01-08 00:34:38 +00:00
|
|
|
#include "ntgdi/NtGdiCreateDIBSection.c"
|
2009-03-24 01:25:03 +00:00
|
|
|
#include "ntgdi/NtGdiDeleteObjectApp.c"
|
2008-06-01 18:06:22 +00:00
|
|
|
#include "ntgdi/NtGdiDoPalette.c"
|
|
|
|
#include "ntgdi/NtGdiEngCreatePalette.c"
|
|
|
|
//#include "ntgdi/NtGdiEnumFontChunk.c"
|
|
|
|
#include "ntgdi/NtGdiEnumFontOpen.c"
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
//#include "ntgdi/NtGdiExtCreatePen.c"
|
2009-01-08 00:34:38 +00:00
|
|
|
#include "ntgdi/NtGdiExtTextOutW.c"
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
#include "ntgdi/NtGdiFlushUserBatch.c"
|
2008-06-01 18:06:22 +00:00
|
|
|
#include "ntgdi/NtGdiGetBitmapBits.c"
|
|
|
|
#include "ntgdi/NtGdiGetFontResourceInfoInternalW.c"
|
|
|
|
#include "ntgdi/NtGdiGetRandomRgn.c"
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
#include "ntgdi/NtGdiPolyPolyDraw.c"
|
2009-03-25 03:51:22 +00:00
|
|
|
#include "ntgdi/NtGdiRestoreDC.c"
|
|
|
|
#include "ntgdi/NtGdiSaveDC.c"
|
2008-06-01 18:06:22 +00:00
|
|
|
#include "ntgdi/NtGdiSelectBitmap.c"
|
|
|
|
#include "ntgdi/NtGdiSelectBrush.c"
|
|
|
|
#include "ntgdi/NtGdiSelectFont.c"
|
|
|
|
#include "ntgdi/NtGdiSelectPen.c"
|
|
|
|
#include "ntgdi/NtGdiSetBitmapBits.c"
|
|
|
|
#include "ntgdi/NtGdiSetDIBitsToDeviceInternal.c"
|
|
|
|
//#include "ntgdi/NtGdiSTROBJ_vEnumStart.c"
|
|
|
|
#include "ntgdi/NtGdiGetDIBits.c"
|
|
|
|
#include "ntgdi/NtGdiGetStockObject.c"
|
|
|
|
|
|
|
|
#include "ntuser/NtUserCallHwnd.c"
|
|
|
|
#include "ntuser/NtUserCallHwndLock.c"
|
|
|
|
#include "ntuser/NtUserCallHwndOpt.c"
|
|
|
|
#include "ntuser/NtUserCallHwndParam.c"
|
|
|
|
#include "ntuser/NtUserCallHwndParamLock.c"
|
|
|
|
#include "ntuser/NtUserCallNoParam.c"
|
|
|
|
#include "ntuser/NtUserCallOneParam.c"
|
|
|
|
#include "ntuser/NtUserCountClipboardFormats.c"
|
|
|
|
//#include "ntuser/NtUserCreateWindowEx.c"
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
#include "ntuser/NtUserEnumDisplayMonitors.c"
|
2008-06-01 18:06:22 +00:00
|
|
|
#include "ntuser/NtUserEnumDisplaySettings.c"
|
|
|
|
#include "ntuser/NtUserFindExistingCursorIcon.c"
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
#include "ntuser/NtUserGetClassInfo.c"
|
2010-07-14 14:56:53 +00:00
|
|
|
#include "ntuser/NtUserGetIconInfo.c"
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
#include "ntuser/NtUserGetTitleBarInfo.c"
|
|
|
|
#include "ntuser/NtUserProcessConnect.c"
|
2008-06-01 18:06:22 +00:00
|
|
|
#include "ntuser/NtUserRedrawWindow.c"
|
|
|
|
#include "ntuser/NtUserScrollDC.c"
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
#include "ntuser/NtUserSelectPalette.c"
|
|
|
|
#include "ntuser/NtUserSetTimer.c"
|
2008-06-01 18:06:22 +00:00
|
|
|
#include "ntuser/NtUserSystemParametersInfo.c"
|
|
|
|
#include "ntuser/NtUserToUnicodeEx.c"
|
2009-08-09 11:27:25 +00:00
|
|
|
#include "ntuser/NtUserUpdatePerUserSystemParameters.c"
|
2008-06-01 18:06:22 +00:00
|
|
|
|
|
|
|
/* The List of tests */
|
|
|
|
TESTENTRY TestList[] =
|
|
|
|
{
|
|
|
|
/* DirectDraw */
|
|
|
|
{ L"NtGdiDdCreateDirectDrawObject", Test_NtGdiDdCreateDirectDrawObject },
|
|
|
|
{ L"NtGdiDdQueryDirectDrawObject", Test_NtGdiDdQueryDirectDrawObject },
|
|
|
|
{ L"NtGdiDdDeleteDirectDrawObject", Test_NtGdiDdDeleteDirectDrawObject },
|
|
|
|
|
|
|
|
/* ntgdi */
|
|
|
|
{ L"NtGdiArcInternal", Test_NtGdiArcInternal },
|
|
|
|
{ L"NtGdiBitBlt", Test_NtGdiBitBlt },
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
{ L"NtGdiCombineRgn", Test_NtGdiCombineRgn },
|
2008-06-01 18:06:22 +00:00
|
|
|
{ L"NtGdiCreateBitmap", Test_NtGdiCreateBitmap },
|
|
|
|
{ L"NtGdiCreateCompatibleBitmap", Test_NtGdiCreateCompatibleBitmap },
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
{ L"NtGdiCreateCompatibleDC", Test_NtGdiCreateCompatibleDC },
|
2009-01-08 00:34:38 +00:00
|
|
|
{ L"NtGdiCreateDIBSection", Test_NtGdiCreateDIBSection },
|
2009-03-24 01:25:03 +00:00
|
|
|
{ L"NtGdiDeleteObjectApp", Test_NtGdiDeleteObjectApp },
|
2008-06-01 18:06:22 +00:00
|
|
|
{ L"NtGdiDoPalette", Test_NtGdiDoPalette },
|
|
|
|
{ L"NtGdiEngCreatePalette", Test_NtGdiEngCreatePalette },
|
|
|
|
// { L"NtGdiEnumFontChunk", Test_NtGdiEnumFontChunk },
|
|
|
|
{ L"NtGdiEnumFontOpen", Test_NtGdiEnumFontOpen },
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
// { L"NtGdiExtCreatePen", Test_NtGdiExtCreatePen },
|
2009-01-08 00:34:38 +00:00
|
|
|
{ L"NtGdiExtTextOutW", Test_NtGdiExtTextOutW },
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
{ L"NtGdiFlushUserBatch", Test_NtGdiFlushUserBatch },
|
2008-06-01 18:06:22 +00:00
|
|
|
{ L"NtGdiGetBitmapBits", Test_NtGdiGetBitmapBits },
|
|
|
|
{ L"NtGdiGetFontResourceInfoInternalW", Test_NtGdiGetFontResourceInfoInternalW },
|
|
|
|
{ L"NtGdiGetRandomRgn", Test_NtGdiGetRandomRgn },
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
{ L"NtGdiPolyPolyDraw", Test_NtGdiPolyPolyDraw },
|
2009-03-25 03:51:22 +00:00
|
|
|
{ L"NtGdiRestoreDC", Test_NtGdiRestoreDC },
|
|
|
|
{ L"NtGdiSaveDC", Test_NtGdiSaveDC },
|
2008-06-01 18:06:22 +00:00
|
|
|
{ L"NtGdiSetBitmapBits", Test_NtGdiSetBitmapBits },
|
|
|
|
{ L"NtGdiSetDIBitsToDeviceInternal", Test_NtGdiSetDIBitsToDeviceInternal },
|
|
|
|
{ L"NtGdiSelectBitmap", Test_NtGdiSelectBitmap },
|
|
|
|
{ L"NtGdiSelectBrush", Test_NtGdiSelectBrush },
|
|
|
|
{ L"NtGdiSelectFont", Test_NtGdiSelectFont },
|
|
|
|
{ L"NtGdiSelectPen", Test_NtGdiSelectPen },
|
|
|
|
// { L"NtGdiSTROBJ_vEnumStart", Test_NtGdiSTROBJ_vEnumStart },
|
|
|
|
{ L"NtGdiGetDIBitsInternal", Test_NtGdiGetDIBitsInternal },
|
|
|
|
{ L"NtGdiGetStockObject", Test_NtGdiGetStockObject },
|
|
|
|
|
|
|
|
/* ntuser */
|
|
|
|
{ L"NtUserCallHwnd", Test_NtUserCallHwnd },
|
|
|
|
{ L"NtUserCallHwndLock", Test_NtUserCallHwndLock },
|
|
|
|
{ L"NtUserCallHwndOpt", Test_NtUserCallHwndOpt },
|
|
|
|
{ L"NtUserCallHwndParam", Test_NtUserCallHwndParam },
|
|
|
|
{ L"NtUserCallHwndParamLock", Test_NtUserCallHwndParamLock },
|
|
|
|
{ L"NtUserCallNoParam", Test_NtUserCallNoParam },
|
|
|
|
{ L"NtUserCallOneParam", Test_NtUserCallOneParam },
|
|
|
|
{ L"NtUserCountClipboardFormats", Test_NtUserCountClipboardFormats },
|
|
|
|
// { L"NtUserCreateWindowEx", Test_NtUserCreateWindowEx },
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
{ L"NtUserEnumDisplayMonitors", Test_NtUserEnumDisplayMonitors },
|
2008-06-01 18:06:22 +00:00
|
|
|
{ L"NtUserEnumDisplaySettings", TEST_NtUserEnumDisplaySettings },
|
|
|
|
{ L"NtUserFindExistingCursorIcon", Test_NtUserFindExistingCursoricon },
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
{ L"NtUserGetClassInfo", Test_NtUserGetClassInfo },
|
2010-07-14 14:56:53 +00:00
|
|
|
{ L"NtUserGetIconInfo", Test_NtUserGetIconInfo },
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
{ L"NtUserGetTitleBarInfo", Test_NtUserGetTitleBarInfo },
|
|
|
|
{ L"NtUserProcessConnect", Test_NtUserProcessConnect },
|
2008-06-01 18:06:22 +00:00
|
|
|
{ L"NtUserRedrawWindow", Test_NtUserRedrawWindow },
|
|
|
|
{ L"NtUserScrollDC", Test_NtUserScrollDC },
|
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)
svn path=/trunk/; revision=38044
2008-12-13 16:48:01 +00:00
|
|
|
{ L"NtUserSelectPalette", Test_NtUserSelectPalette },
|
|
|
|
{ L"NtUserSetTimer", Test_NtUserSetTimer },
|
2008-06-01 18:06:22 +00:00
|
|
|
{ L"NtUserSystemParametersInfo", Test_NtUserSystemParametersInfo },
|
|
|
|
{ L"NtUserToUnicodeEx", Test_NtUserToUnicodeEx },
|
2009-08-09 11:27:25 +00:00
|
|
|
{ L"NtUserUpdatePerUserSystemParameters", Test_NtUserUpdatePerUserSystemParameters },
|
2008-06-01 18:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* The function that gives us the number of tests */
|
|
|
|
INT NumTests(void)
|
|
|
|
{
|
|
|
|
return sizeof(TestList) / sizeof(TESTENTRY);
|
|
|
|
}
|
|
|
|
|
|
|
|
|