mirror of
https://github.com/reactos/reactos.git
synced 2024-08-25 04:38:43 +00:00
![Thomas Faber](/assets/img/avatar_default.png)
- Remove another MessageBox... - Also test some more interfaces found in netshell classes svn path=/trunk/; revision=67316
32 lines
808 B
C
32 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);
|
|
}
|