ReactOS 0.4.15-dev-7842-g558ab78
netshell.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 netshell 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
14{
15 {
16 ID_NAME(CLSID_ConnectionCommonUi),
17 {
18 { 0x0, &IID_IUnknown },
19 },
20 L"Both"
21 },
22 {
23 ID_NAME(CLSID_ConnectionFolder),
24 {
25 { 0x0, &IID_IPersistFolder2 },
26 { 0x0, &IID_IPersistFolder },
27 { 0x0, &IID_IPersist },
28 { 0x0, &IID_IUnknown },
29 { 0x4, &IID_IShellExtInit },
30 { 0x8, &IID_IShellFolder2 },
31 { 0x8, &IID_IShellFolder },
32 { 0xc, &IID_IOleCommandTarget },
33 { 0x10, &IID_IShellFolderViewCB },
34 },
35 L"Both"
36 },
37 {
38 ID_NAME(CLSID_ConnectionFolderEnum),
39 {
40 { 0x0, &IID_IEnumIDList },
41 { 0x0, &IID_IUnknown },
42 },
43 L"Both"
44 },
45#if 0
46 {
48 {
49 { 0x0, &IID_IUnknown },
50 }
51 },
52#endif
53 {
54 ID_NAME(CLSID_ConnectionTray),
55 {
56 { 0x0, &IID_IOleCommandTarget },
57 { 0x0, &IID_IUnknown },
58 },
59 L"Both"
60 },
61 {
62 ID_NAME(CLSID_DialupConnectionUi),
63 {
65 { 0x0, &IID_IUnknown },
67 //{ 0x4, &IID_INetConnectionPropertyUi },
68 },
69 L"Both"
70 },
71 {
72 ID_NAME(CLSID_DirectConnectionUi),
73 {
75 { 0x0, &IID_IUnknown },
77 //{ 0x4, &IID_INetConnectionPropertyUi },
78 },
79 L"Both"
80 },
81 {
82 ID_NAME(CLSID_InboundConnectionUi),
83 {
85 { 0x0, &IID_IUnknown },
86 },
87 L"Both"
88 },
89 {
90 ID_NAME(CLSID_InternetConnectionUi),
91 {
93 { 0x0, &IID_IUnknown },
95 //{ 0x4, &IID_INetConnectionPropertyUi },
96 },
97 L"Both"
98 },
99 {
100 ID_NAME(CLSID_LanConnectionUi),
101 {
103 { 0x0, &IID_IUnknown },
107 },
108 L"Both"
109 },
110 {
111 ID_NAME(CLSID_NetConnectionUiUtilities),
112 {
113 { 0x0, &IID_IUnknown },
114 },
115 L"Both"
116 },
117 {
118 ID_NAME(CLSID_SharedAccessConnectionUi),
119 {
121 { 0x0, &IID_IUnknown },
124 },
125 L"Both"
126 },
127 {
128 ID_NAME(CLSID_PPPoEUi),
129 {
131 { 0x0, &IID_IUnknown },
133 //{ 0x4, &IID_INetConnectionPropertyUi },
134 },
135 L"Both"
136 },
137 {
138 ID_NAME(CLSID_VpnConnectionUi),
139 {
141 { 0x0, &IID_IUnknown },
143 //{ 0x4, &IID_INetConnectionPropertyUi },
144 },
145 L"Both"
146 },
147};
149
150START_TEST(netshell)
151{
153}
#define RTL_NUMBER_OF(x)
Definition: RtlRegistry.c:12
#define START_TEST(x)
Definition: atltest.h:75
const GUID IID_IUnknown
VOID TestClasses(_In_ PCWSTR ModuleName, _In_ PCCLASS_AND_INTERFACES ExpectedInterfaces, _In_ INT ExpectedInterfaceCount)
Definition: com_apitest.c:754
#define ID_NAME(c)
Definition: com_apitest.c:38
EXTERN_C const IID IID_INetLanConnectionUiInfo
Definition: netcfgn.h:109
EXTERN_C const CLSID CLSID_ConnectionManager
Definition: netcon.h:172
EXTERN_C const IID IID_INetConnectionConnectUi
Definition: netcon.h:203
EXTERN_C const IID IID_INetConnectionPropertyUi2
Definition: netcon.h:252
EXTERN_C const IID IID_INetConnectionPropertyUi
Definition: netcon.h:227
static const CLASS_AND_INTERFACES ExpectedInterfaces[]
Definition: netshell.c:13
static const INT ExpectedInterfaceCount
Definition: netshell.c:148
#define L(x)
Definition: ntvdm.h:50
const GUID IID_IPersist
Definition: proxy.cpp:14
int32_t INT
Definition: typedefs.h:58