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/NtGdiExtSelectClipRgn.c
22    ntgdi/NtGdiExtTextOutW.c
23    #ntgdi/NtGdiFlushUserBatch.c
24    ntgdi/NtGdiGetBitmapBits.c
25    ntgdi/NtGdiGetDIBits.c
26    ntgdi/NtGdiGetFontResourceInfoInternalW.c
27    ntgdi/NtGdiGetRandomRgn.c
28    ntgdi/NtGdiGetStockObject.c
29    ntgdi/NtGdiPolyPolyDraw.c
30    ntgdi/NtGdiRestoreDC.c
31    ntgdi/NtGdiSaveDC.c
32    ntgdi/NtGdiSelectBitmap.c
33    ntgdi/NtGdiSelectBrush.c
34    ntgdi/NtGdiSelectFont.c
35    ntgdi/NtGdiSelectPen.c
36    ntgdi/NtGdiSetBitmapBits.c
37    ntgdi/NtGdiSetDIBitsToDeviceInternal.c
38    ntgdi/NtGdiTransformPoints.c
39
40#    ntuser/NtUserCallHwnd.c
41#    ntuser/NtUserCallHwndLock.c
42#    ntuser/NtUserCallHwndOpt.c
43#    ntuser/NtUserCallHwndParam.c
44#    ntuser/NtUserCallHwndParamLock.c
45#    ntuser/NtUserCallNoParam.c
46#    ntuser/NtUserCallOneParam.c
47    ntuser/NtUserCountClipboardFormats.c
48    ntuser/NtUserCreateWindowEx.c
49#    ntuser/NtUserEnumDisplayMonitors.c
50    ntuser/NtUserEnumDisplaySettings.c
51    ntuser/NtUserFindExistingCursorIcon.c
52    ntuser/NtUserGetClassInfo.c
53#    ntuser/NtUserGetIconInfo.c
54    ntuser/NtUserGetTitleBarInfo.c
55    ntuser/NtUserProcessConnect.c
56    ntuser/NtUserRedrawWindow.c
57    ntuser/NtUserScrollDC.c
58    ntuser/NtUserSelectPalette.c
59    ntuser/NtUserSetTimer.c
60    ntuser/NtUserSystemParametersInfo.c
61    ntuser/NtUserToUnicodeEx.c
62    ntuser/NtUserUpdatePerUserSystemParameters.c
63
64    #osver.c
65    win32nt.h)
66
67add_executable(win32knt_apitest
68    ${SOURCE}
69    testlist.c
70    w32knapi.rc)
71
72target_link_libraries(win32knt_apitest ${PSEH_LIB} gditools)
73set_module_type(win32knt_apitest win32cui)
74add_importlibs(win32knt_apitest
75    win32u # win32u_2ksp4 win32u_xpsp2 win32u_2k3sp2 win32u_vista
76    gdi32
77    user32
78    shell32
79    advapi32
80    msvcrt
81    kernel32
82    ntdll)
83
84add_dependencies(win32knt_apitest xdk)
85add_pch(win32knt_apitest win32nt.h SOURCE)
86add_rostests_file(TARGET win32knt_apitest)
87