mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
31 lines
808 B
C
31 lines
808 B
C
/*
|
|
* PROJECT: ReactOS api tests
|
|
* LICENSE: LGPLv2.1+ - See COPYING.LIB in the top level directory
|
|
* PURPOSE: COM interface test for netcfgx classes
|
|
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
|
|
*/
|
|
|
|
#include "com_apitest.h"
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
|
|
{
|
|
{
|
|
ID_NAME(CLSID_CNetCfg),
|
|
{
|
|
{ 0x0, &IID_INetCfg },
|
|
{ 0x0, &IID_IUnknown },
|
|
{ 0x4, &IID_INetCfgLock },
|
|
{ 0x10, &IID_INetCfgPnpReconfigCallback },
|
|
},
|
|
L"Both"
|
|
},
|
|
};
|
|
static const INT ExpectedInterfaceCount = RTL_NUMBER_OF(ExpectedInterfaces);
|
|
|
|
START_TEST(netcfgx)
|
|
{
|
|
TestClasses(L"netcfgx", ExpectedInterfaces, ExpectedInterfaceCount);
|
|
}
|