mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[COM_APITEST] - Add NTDDI version gating to classes and interfaces in tests - Remove rigid offset tests. Instead, offsets to known interfaces can be logged by defining LOG_COM_INTERFACE_OFFSETS. - Replace the noreg member of the known interfaces array with a function pointer that can be used to determine if a com test should be globally registered depending on the current NTDDI version. I could probably replace this with a min and max registered NTDDI value, but I thought this was confusing for interfaces that are never globally registered. [INCLUDE/REACTOS] - Rename the existing interface definition for IShellBrowserService to IShellBrowserService_XP at {1307EE17-EA83-49EB-96B2-3A28E2D7048A}. This only exists on XP and Server 2003, no earlier or later versions. - Rename IID_IShellBrowserServce to IID_IShellBrowserService since this definition is correct for Windows 7+ at {DFBC7E30-F9E5-455F-88F8-FA98C1E494CA} - Add an interface definition for IShellBrowserService4 at {F5A24314-5B8B-44FA-BC2E-31285544B520}. This definition for IShellBrowserService exists for Vista only and no other version. [PSDK] - Add a define for NTDDI_WIN7SP1. While this isn't defined in the public Windows headers, it clearly exists in private headers because it is referenced in the public WinBase.h header.
32 lines
648 B
CMake
32 lines
648 B
CMake
|
|
add_definitions(-DWINE_NO_UNICODE_MACROS)
|
|
|
|
list(APPEND SOURCE
|
|
browseui.c
|
|
certmgr.c
|
|
com_apitest.c
|
|
combase.c
|
|
explorerframe.c
|
|
ieframe.c
|
|
netcfgx.c
|
|
netshell.c
|
|
ole32.c
|
|
prnfldr.c
|
|
shdocvw.c
|
|
shell32.c
|
|
windows_storage.c
|
|
zipfldr.c)
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
testlist.c)
|
|
|
|
add_executable(com_apitest
|
|
${SOURCE}
|
|
${PCH_SKIP_SOURCE})
|
|
|
|
target_link_libraries(com_apitest wine uuid)
|
|
set_module_type(com_apitest win32cui)
|
|
add_importlibs(com_apitest advapi32 ole32 shlwapi shell32 msvcrt kernel32 ntdll)
|
|
add_pch(com_apitest com_apitest.h "${PCH_SKIP_SOURCE}")
|
|
add_rostests_file(TARGET com_apitest)
|