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
39#    ntuser/NtUserCallHwnd.c
40#    ntuser/NtUserCallHwndLock.c
41#    ntuser/NtUserCallHwndOpt.c
42#    ntuser/NtUserCallHwndParam.c
43#    ntuser/NtUserCallHwndParamLock.c
44#    ntuser/NtUserCallNoParam.c
45#    ntuser/NtUserCallOneParam.c
46    ntuser/NtUserCountClipboardFormats.c
47    ntuser/NtUserCreateWindowEx.c
48#    ntuser/NtUserEnumDisplayMonitors.c
49    ntuser/NtUserEnumDisplaySettings.c
50    ntuser/NtUserFindExistingCursorIcon.c
51    ntuser/NtUserGetClassInfo.c
52#    ntuser/NtUserGetIconInfo.c
53    ntuser/NtUserGetTitleBarInfo.c
54    ntuser/NtUserProcessConnect.c
55    ntuser/NtUserRedrawWindow.c
56    ntuser/NtUserScrollDC.c
57    ntuser/NtUserSelectPalette.c
58    ntuser/NtUserSetTimer.c
59    ntuser/NtUserSystemParametersInfo.c
60    ntuser/NtUserToUnicodeEx.c
61    ntuser/NtUserUpdatePerUserSystemParameters.c
62
63    #osver.c
64    win32nt.h)
65
66add_executable(win32knt_apitest
67    ${SOURCE}
68    testlist.c
69    w32knapi.rc)
70
71target_link_libraries(win32knt_apitest ${PSEH_LIB} gditools)
72set_module_type(win32knt_apitest win32cui)
73add_importlibs(win32knt_apitest
74    win32u # win32u_2ksp4 win32u_xpsp2 win32u_2k3sp2 win32u_vista
75    gdi32
76    user32
77    shell32
78    advapi32
79    msvcrt
80    kernel32
81    ntdll)
82
83add_dependencies(win32knt_apitest xdk)
84add_pch(win32knt_apitest win32nt.h SOURCE)
85add_rostests_file(TARGET win32knt_apitest)
86