ReactOS
0.4.16-dev-1946-g52006dd
combase.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS API Tests
3
* LICENSE: MIT (https://spdx.org/licenses/MIT)
4
* PURPOSE: COM interface test for prnfldr server
5
* COPYRIGHT: Copyright 2025 Carl Bialorucki <carl.bialorucki@reactos.org>
6
*/
7
8
#include "
com_apitest.h
"
9
10
#define NDEBUG
11
#include <debug.h>
12
13
static
const
CLASS_AND_INTERFACES
ExpectedInterfaces
[] =
14
{
15
{
16
ID_NAME
(CLSID_StdComponentCategoriesMgr,
NTDDI_WIN8
,
NTDDI_MAX
),
17
{
18
{
NTDDI_WIN8
,
NTDDI_MAX
, &
IID_IUnknown
},
19
{
NTDDI_WIN8
,
NTDDI_MAX
, &IID_ICatRegister },
20
{
NTDDI_WIN8
,
NTDDI_MAX
, &IID_ICatInformation },
21
},
22
L
"Both"
23
},
24
};
25
26
START_TEST
(combase)
27
{
28
TestClassesEx
(
L
"combase"
,
29
ExpectedInterfaces
,
RTL_NUMBER_OF
(
ExpectedInterfaces
),
30
NTDDI_WIN8
,
NTDDI_MAX
,
31
FALSE
);
32
}
RTL_NUMBER_OF
#define RTL_NUMBER_OF(x)
Definition:
RtlRegistry.c:12
NTDDI_MAX
#define NTDDI_MAX
Definition:
apitest.h:21
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
IID_IUnknown
const GUID IID_IUnknown
Definition:
classfactory.cpp:11
TestClassesEx
VOID TestClassesEx(_In_ PCWSTR ModuleName, _In_ PCCLASS_AND_INTERFACES ExpectedInterfaces, _In_ INT ExpectedInterfaceCount, _In_ ULONG MinimumNTDDIVersion, _In_ ULONG MaximumNTDDIVersion, _In_ BOOLEAN IsWinRT)
Definition:
com_apitest.c:779
ID_NAME
#define ID_NAME(c)
Definition:
com_apitest.c:38
com_apitest.h
ExpectedInterfaces
static const CLASS_AND_INTERFACES ExpectedInterfaces[]
Definition:
combase.c:13
FALSE
#define FALSE
Definition:
types.h:117
L
#define L(x)
Definition:
resources.c:13
NTDDI_WIN8
#define NTDDI_WIN8
Definition:
sdkddkver.h:114
_CLASS_AND_INTERFACES
Definition:
com_apitest.h:44
modules
rostests
apitests
com
combase.c
Generated on Thu Dec 4 2025 06:07:34 for ReactOS by
1.9.6