1
2list(APPEND SOURCE
3    AttachThreadInput.c
4    ../include/msgtrace.c
5    CloseWindow.c
6    CreateDialog.c
7    CreateIconFromResourceEx.c
8    CreateWindowEx.c
9    DeferWindowPos.c
10    DestroyCursorIcon.c
11    DM_REPOSITION.c
12    DrawIconEx.c
13    DrawText.c
14    desktop.c
15    EmptyClipboard.c
16    EnumDisplaySettings.c
17    GetDCEx.c
18    GetIconInfo.c
19    GetKeyState.c
20    GetMessageTime.c
21    GetPeekMessage.c
22    GetSystemMetrics.c
23    GetUserObjectInformation.c
24    GetWindowPlacement.c
25    InitializeLpkHooks.c
26    keybd_event.c
27    LoadImage.c
28    LookupIconIdFromDirectoryEx.c
29    MessageStateAnalyzer.c
30    NextDlgItem.c
31    PrivateExtractIcons.c
32    RealGetWindowClass.c
33    RedrawWindow.c
34    RegisterClassEx.c
35    RegisterHotKey.c
36    ScrollBarWndExtra.c
37    ScrollDC.c
38    ScrollWindowEx.c
39    SendMessageTimeout.c
40    SetActiveWindow.c
41    SetCursorPos.c
42    SetFocus.c
43    SetParent.c
44    SetProp.c
45    SetScrollInfo.c
46    SetScrollRange.c
47    ShowWindow.c
48    SwitchToThisWindow.c
49    SystemParametersInfo.c
50    TrackMouseEvent.c
51    WndProc.c
52    wsprintf.c)
53
54list(APPEND PCH_SKIP_SOURCE
55    testlist.c)
56
57add_executable(user32_apitest
58    ${SOURCE}
59    ${PCH_SKIP_SOURCE}
60    user32_apitest.rc)
61
62target_link_libraries(user32_apitest wine ${PSEH_LIB})
63set_module_type(user32_apitest win32cui)
64add_importlibs(user32_apitest advapi32 gdi32 user32 msvcrt kernel32 ntdll)
65add_pch(user32_apitest precomp.h "${PCH_SKIP_SOURCE}")
66add_rostests_file(TARGET user32_apitest)
67
68add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/verclasstest1.manifest")
69add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/verclasstest2.manifest")
70