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/NtUserGetClassInfo.c 56# ntuser/NtUserGetIconInfo.c 57 ntuser/NtUserGetTitleBarInfo.c 58 ntuser/NtUserProcessConnect.c 59 ntuser/NtUserRedrawWindow.c 60 ntuser/NtUserScrollDC.c 61 ntuser/NtUserSelectPalette.c 62 ntuser/NtUserSetTimer.c 63 ntuser/NtUserSystemParametersInfo.c 64 ntuser/NtUserToUnicodeEx.c 65 ntuser/NtUserUpdatePerUserSystemParameters.c 66 67 #osver.c 68 ) 69 70list(APPEND PCH_SKIP_SOURCE 71 testlist.c) 72 73add_executable(win32knt_apitest 74 ${SOURCE} 75 ${PCH_SKIP_SOURCE} 76 w32knapi.rc) 77 78target_link_libraries(win32knt_apitest ${PSEH_LIB} gditools) 79set_module_type(win32knt_apitest win32cui) 80add_importlibs(win32knt_apitest 81 gdi32 82 user32 83 shell32 84 advapi32 85 msvcrt 86 kernel32 87 ntdll) 88add_delay_importlibs(win32knt_apitest win32u) 89add_dependencies(win32knt_apitest xdk) 90add_pch(win32knt_apitest win32nt.h "${PCH_SKIP_SOURCE}") 91add_rostests_file(TARGET win32knt_apitest) 92