Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / modules / rostests / apitests / com / netcfgx.c
1 /*
2 * PROJECT: ReactOS api tests
3 * LICENSE: LGPLv2.1+ - See COPYING.LIB in the top level directory
4 * PURPOSE: COM interface test for netcfgx 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_CNetCfg),
17 {
18 { 0x0, &IID_INetCfg },
19 { 0x0, &IID_IUnknown },
20 { 0x4, &IID_INetCfgLock },
21 { 0x10, &IID_INetCfgPnpReconfigCallback },
22 },
23 L"Both"
24 },
25 };
26 static const INT ExpectedInterfaceCount = RTL_NUMBER_OF(ExpectedInterfaces);
27
28 START_TEST(netcfgx)
29 {
30 TestClasses(L"netcfgx", ExpectedInterfaces, ExpectedInterfaceCount);
31 }