mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 11:56:26 +00:00
4f0b8d3db0
svn path=/branches/ntvdm/; revision=59241
76 lines
2.1 KiB
C
76 lines
2.1 KiB
C
#ifndef _PRECOMP_H__
|
|
#define _PRECOMP_H__
|
|
|
|
#define COBJMACROS
|
|
#define NONAMELESSUNION
|
|
#define NONAMELESSSTRUCT
|
|
|
|
#define WIN32_NO_STATUS
|
|
#define _INC_WINDOWS
|
|
#define COM_NO_WINDOWS_H
|
|
#include <stdarg.h>
|
|
#include <windef.h>
|
|
#include <winreg.h>
|
|
#include <winbase.h>
|
|
#include <winnls.h>
|
|
#include <objbase.h>
|
|
#include <winsock2.h>
|
|
#define NTOS_MODE_USER
|
|
#include <ndk/iofuncs.h>
|
|
#include <ndk/rtlfuncs.h>
|
|
#include <netcfgx.h>
|
|
#include <setupapi.h>
|
|
#include <stdio.h>
|
|
#include <iphlpapi.h>
|
|
#include <dhcpcsdk.h>
|
|
#include <dhcpcapi.h>
|
|
#include <olectl.h>
|
|
#include <netcfgn.h>
|
|
#include "resource.h"
|
|
//#include <prsht.h>
|
|
|
|
//#include <initguid.h>
|
|
#include <devguid.h>
|
|
|
|
typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject);
|
|
typedef struct {
|
|
REFIID riid;
|
|
LPFNCREATEINSTANCE lpfnCI;
|
|
} INTERFACE_TABLE;
|
|
|
|
typedef struct tagNetCfgComponentItem
|
|
{
|
|
LPWSTR szDisplayName; //Y
|
|
LPWSTR szHelpText; //Y
|
|
LPWSTR szId; //Y
|
|
LPWSTR szBindName; //Y
|
|
LPWSTR szNodeId; //Y
|
|
CLSID InstanceId; //Y
|
|
CLSID ClassGUID; //Y
|
|
DWORD dwCharacteristics; //Y
|
|
ULONG Status; //Y
|
|
BOOL bChanged; //Y
|
|
struct tagNetCfgComponentItem * pNext;
|
|
INetCfgComponentControl * pNCCC;
|
|
}NetCfgComponentItem;
|
|
|
|
/* netcfg_iface.c */
|
|
HRESULT WINAPI INetCfg_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
|
|
|
/* classfactory.c */
|
|
IClassFactory * IClassFactory_fnConstructor(LPFNCREATEINSTANCE lpfnCI, PLONG pcRefDll, REFIID riidInst);
|
|
|
|
/* globals */
|
|
extern HINSTANCE netcfgx_hInstance;
|
|
|
|
/* inetcfgcomp_iface.c */
|
|
HRESULT WINAPI INetCfgComponent_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv, NetCfgComponentItem * pItem,INetCfg * iface);
|
|
HRESULT WINAPI IEnumNetCfgComponent_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv, NetCfgComponentItem * pItem, INetCfg * iface);
|
|
|
|
/* tcpipconf_notify.c */
|
|
HRESULT WINAPI TcpipConfigNotify_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
|
|
|
extern const GUID CLSID_TcpipConfigNotifyObject;
|
|
|
|
#endif
|