mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 16:48:16 +00:00
e7c17c0741
- Remove another MessageBox... - Also test some more interfaces found in netshell classes svn path=/trunk/; revision=67316
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);
|
|
}
|