ReactOS
0.4.16-dev-1946-g52006dd
ole32.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS API tests
3
* LICENSE: LGPLv2.1+ - See COPYING.LIB in the top level directory
4
* PURPOSE: COM interface test for ole32 classes
5
* PROGRAMMER: Thomas Faber <thomas.faber@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_MIN
,
NTDDI_WIN7SP1
),
17
{
18
{
NTDDI_MIN
,
NTDDI_WIN7SP1
, &
IID_IUnknown
},
19
{
NTDDI_MIN
,
NTDDI_WIN7SP1
, &IID_ICatRegister },
20
{
NTDDI_MIN
,
NTDDI_WIN7SP1
, &IID_ICatInformation },
21
},
22
L
"Both"
23
},
24
};
25
26
START_TEST
(ole32)
27
{
28
TestClasses
(
L
"ole32"
,
ExpectedInterfaces
,
RTL_NUMBER_OF
(
ExpectedInterfaces
));
29
}
RTL_NUMBER_OF
#define RTL_NUMBER_OF(x)
Definition:
RtlRegistry.c:12
NTDDI_MIN
#define NTDDI_MIN
Definition:
apitest.h:20
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
IID_IUnknown
const GUID IID_IUnknown
Definition:
classfactory.cpp:11
TestClasses
VOID TestClasses(_In_ PCWSTR ModuleName, _In_ PCCLASS_AND_INTERFACES ExpectedInterfaces, _In_ INT ExpectedInterfaceCount)
Definition:
com_apitest.c:815
ID_NAME
#define ID_NAME(c)
Definition:
com_apitest.c:38
com_apitest.h
L
#define L(x)
Definition:
resources.c:13
ExpectedInterfaces
static const CLASS_AND_INTERFACES ExpectedInterfaces[]
Definition:
ole32.c:13
NTDDI_WIN7SP1
#define NTDDI_WIN7SP1
Definition:
sdkddkver.h:113
_CLASS_AND_INTERFACES
Definition:
com_apitest.h:44
modules
rostests
apitests
com
ole32.c
Generated on Thu Dec 4 2025 06:07:35 for ReactOS by
1.9.6