ReactOS
0.4.16-dev-1020-gf135cab
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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 Mon Apr 21 2025 06:07:42 for ReactOS by
1.9.6