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