ReactOS
0.4.16-dev-751-g45ed1a9
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),
17
{
18
{ 0x0, &
IID_IUnknown
},
19
{
FARAWY
, &IID_ICatRegister },
20
{
FARAWY
, &IID_ICatInformation },
21
},
22
L
"Both"
23
},
24
};
25
static
const
INT
ExpectedInterfaceCount
=
RTL_NUMBER_OF
(
ExpectedInterfaces
);
26
27
START_TEST
(ole32)
28
{
29
TestClasses
(
L
"ole32"
,
ExpectedInterfaces
,
ExpectedInterfaceCount
);
30
}
RTL_NUMBER_OF
#define RTL_NUMBER_OF(x)
Definition:
RtlRegistry.c:12
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:754
ID_NAME
#define ID_NAME(c)
Definition:
com_apitest.c:38
com_apitest.h
FARAWY
#define FARAWY
Definition:
com_apitest.h:70
L
#define L(x)
Definition:
ntvdm.h:50
ExpectedInterfaces
static const CLASS_AND_INTERFACES ExpectedInterfaces[]
Definition:
ole32.c:13
ExpectedInterfaceCount
static const INT ExpectedInterfaceCount
Definition:
ole32.c:25
_CLASS_AND_INTERFACES
Definition:
com_apitest.h:48
INT
int32_t INT
Definition:
typedefs.h:58
modules
rostests
apitests
com
ole32.c
Generated on Sun Feb 16 2025 06:07:03 for ReactOS by
1.9.6