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