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.
39 lines
1.0 KiB
C
39 lines
1.0 KiB
C
|
|
#define STANDALONE
|
|
#include <apitest.h>
|
|
|
|
extern void func_browseui(void);
|
|
extern void func_certmgr(void);
|
|
extern void func_combase(void);
|
|
extern void func_explorerframe(void);
|
|
extern void func_ieframe(void);
|
|
extern void func_interfaces(void);
|
|
extern void func_netcfgx(void);
|
|
extern void func_netshell(void);
|
|
extern void func_ole32(void);
|
|
extern void func_prnfldr(void);
|
|
extern void func_shdocvw(void);
|
|
extern void func_shell32(void);
|
|
extern void func_windows_storage(void);
|
|
extern void func_zipfldr(void);
|
|
|
|
const struct test winetest_testlist[] =
|
|
{
|
|
{ "browseui", func_browseui },
|
|
{ "certmgr", func_certmgr },
|
|
{ "combase", func_combase },
|
|
{ "explorerframe", func_explorerframe },
|
|
{ "ieframe", func_ieframe },
|
|
{ "interfaces", func_interfaces },
|
|
{ "netcfgx", func_netcfgx },
|
|
{ "netshell", func_netshell },
|
|
{ "ole32", func_ole32 },
|
|
{ "prnfldr", func_prnfldr },
|
|
{ "shdocvw", func_shdocvw },
|
|
{ "shell32", func_shell32 },
|
|
{ "windows_storage", func_windows_storage },
|
|
{ "zipfldr", func_zipfldr },
|
|
|
|
{ 0, 0 }
|
|
};
|