2008-09-06 17:22:32 +00:00
|
|
|
#ifndef _PRECOMP_H__
|
|
|
|
#define _PRECOMP_H__
|
|
|
|
|
2014-01-25 10:45:26 +00:00
|
|
|
#include <stdio.h>
|
2008-09-06 17:22:32 +00:00
|
|
|
|
2010-07-22 18:29:35 +00:00
|
|
|
#define WIN32_NO_STATUS
|
2013-01-24 23:00:42 +00:00
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
2014-01-25 10:45:26 +00:00
|
|
|
|
|
|
|
#define COBJMACROS
|
|
|
|
#define NONAMELESSUNION
|
|
|
|
#define NONAMELESSSTRUCT
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
2014-01-25 10:45:26 +00:00
|
|
|
#include <winreg.h>
|
2018-10-01 19:15:24 +00:00
|
|
|
#include <windowsx.h>
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <objbase.h>
|
2008-09-06 17:22:32 +00:00
|
|
|
#include <netcfgx.h>
|
|
|
|
#include <setupapi.h>
|
2008-09-09 14:29:25 +00:00
|
|
|
#include <netcfgn.h>
|
2011-08-11 15:17:39 +00:00
|
|
|
#include <devguid.h>
|
2015-07-12 17:16:35 +00:00
|
|
|
#include <commctrl.h>
|
2019-06-16 22:46:30 +00:00
|
|
|
#include <cfgmgr32.h>
|
2011-08-11 15:17:39 +00:00
|
|
|
|
2018-09-26 21:48:01 +00:00
|
|
|
#include <wine/debug.h>
|
|
|
|
|
2014-01-25 10:45:26 +00:00
|
|
|
#include "resource.h"
|
|
|
|
|
2018-09-26 21:48:01 +00:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(netcfgx);
|
|
|
|
|
2008-09-06 17:22:32 +00:00
|
|
|
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
|
2019-06-20 20:02:18 +00:00
|
|
|
LPWSTR pszBinding;
|
2008-09-06 17:22:32 +00:00
|
|
|
struct tagNetCfgComponentItem * pNext;
|
2008-10-28 09:06:24 +00:00
|
|
|
INetCfgComponentControl * pNCCC;
|
2008-09-06 17:22:32 +00:00
|
|
|
}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 */
|
2008-11-30 11:42:05 +00:00
|
|
|
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);
|
2008-09-06 17:22:32 +00:00
|
|
|
|
2019-06-19 20:38:31 +00:00
|
|
|
/* netcfgbindinginterface_iface.c */
|
|
|
|
HRESULT WINAPI INetCfgBindingInterface_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
|
|
|
|
HRESULT WINAPI IEnumNetCfgBindingInterface_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
|
|
|
|
|
2019-06-18 20:35:46 +00:00
|
|
|
/* netcfgbindingpath_iface.c */
|
|
|
|
HRESULT WINAPI INetCfgBindingPath_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
|
|
|
|
HRESULT WINAPI IEnumNetCfgBindingPath_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, DWORD dwFlags);
|
|
|
|
|
2008-09-10 00:13:39 +00:00
|
|
|
/* tcpipconf_notify.c */
|
|
|
|
HRESULT WINAPI TcpipConfigNotify_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
|
|
|
|
|
|
|
extern const GUID CLSID_TcpipConfigNotifyObject;
|
|
|
|
|
2014-01-25 10:45:26 +00:00
|
|
|
#endif /* _PRECOMP_H__ */
|