1
2add_definitions(-D_DLL -D__USE_CRTIMP)
3include_directories(${REACTOS_SOURCE_DIR}/win32ss/include ../gditools)
4
5list(APPEND SOURCE
6    ntdd/NtGdiDdCreateDirectDrawObject.c
7    ntdd/NtGdiDdDeleteDirectDrawObject.c
8    ntdd/NtGdiDdQueryDirectDrawObject.c
9
10    ntgdi/NtGdiArcInternal.c
11    ntgdi/NtGdiBitBlt.c
12    ntgdi/NtGdiCombineRgn.c
13    ntgdi/NtGdiCreateBitmap.c
14    ntgdi/NtGdiCreateCompatibleBitmap.c
15    ntgdi/NtGdiCreateCompatibleDC.c
16    ntgdi/NtGdiCreateDIBSection.c
17    ntgdi/NtGdiDeleteObjectApp.c
18    ntgdi/NtGdiDoPalette.c
19    ntgdi/NtGdiEngCreatePalette.c
20    ntgdi/NtGdiEnumFontOpen.c
21    ntgdi/NtGdiExcludeClipRect.c
22    ntgdi/NtGdiExtSelectClipRgn.c
23    ntgdi/NtGdiExtTextOutW.c
24    #ntgdi/NtGdiFlushUserBatch.c
25    ntgdi/NtGdiGetBitmapBits.c
26    ntgdi/NtGdiGetDIBits.c
27    #ntgdi/NtGdiGetFontResourceInfoInternalW.c
28    ntgdi/NtGdiGetRandomRgn.c
29    ntgdi/NtGdiGetStockObject.c
30    ntgdi/NtGdiIntersectClipRect.c
31    ntgdi/NtGdiOffsetClipRgn.c
32    ntgdi/NtGdiPolyPolyDraw.c
33    ntgdi/NtGdiRestoreDC.c
34    ntgdi/NtGdiSaveDC.c
35    ntgdi/NtGdiSelectBitmap.c
36    ntgdi/NtGdiSelectBrush.c
37    ntgdi/NtGdiSelectFont.c
38    ntgdi/NtGdiSelectPen.c
39    ntgdi/NtGdiSetBitmapBits.c
40    ntgdi/NtGdiSetDIBitsToDeviceInternal.c
41    ntgdi/NtGdiTransformPoints.c
42
43#    ntuser/NtUserCallHwnd.c
44#    ntuser/NtUserCallHwndLock.c
45#    ntuser/NtUserCallHwndOpt.c
46#    ntuser/NtUserCallHwndParam.c
47#    ntuser/NtUserCallHwndParamLock.c
48#    ntuser/NtUserCallNoParam.c
49#    ntuser/NtUserCallOneParam.c
50    ntuser/NtUserCountClipboardFormats.c
51    ntuser/NtUserCreateWindowEx.c
52#    ntuser/NtUserEnumDisplayMonitors.c
53    ntuser/NtUserEnumDisplaySettings.c
54    ntuser/NtUserFindExistingCursorIcon.c
55    ntuser/NtUserGetAsyncKeyState.c
56    ntuser/NtUserGetClassInfo.c
57#    ntuser/NtUserGetIconInfo.c
58    ntuser/NtUserGetKeyboardLayoutName.c
59    ntuser/NtUserGetThreadState.c
60    ntuser/NtUserGetTitleBarInfo.c
61    ntuser/NtUserProcessConnect.c
62    ntuser/NtUserRedrawWindow.c
63    ntuser/NtUserScrollDC.c
64    ntuser/NtUserSelectPalette.c
65    ntuser/NtUserSetTimer.c
66    ntuser/NtUserSystemParametersInfo.c
67    ntuser/NtUserToUnicodeEx.c
68    ntuser/NtUserUpdatePerUserSystemParameters.c
69
70    #osver.c
71    )
72
73list(APPEND PCH_SKIP_SOURCE
74    testlist.c)
75
76add_executable(win32knt_apitest
77    ${SOURCE}
78    ${PCH_SKIP_SOURCE}
79    win32knt.rc)
80
81target_link_libraries(win32knt_apitest ${PSEH_LIB} gditools)
82set_module_type(win32knt_apitest win32cui)
83add_importlibs(win32knt_apitest
84    gdi32
85    user32
86    shell32
87    advapi32
88    msvcrt
89    kernel32
90    ntdll)
91add_delay_importlibs(win32knt_apitest win32u imm32)
92add_dependencies(win32knt_apitest xdk)
93add_pch(win32knt_apitest win32nt.h "${PCH_SKIP_SOURCE}")
94add_rostests_file(TARGET win32knt_apitest)
95