ReactOS 0.4.16-dev-2617-g01a0906
precomp.h
Go to the documentation of this file.
1#ifndef _PRECOMP_H__
2#define _PRECOMP_H__
3
4#include <stdio.h>
5
6#define WIN32_NO_STATUS
7#define _INC_WINDOWS
8#define COM_NO_WINDOWS_H
9
10#define COBJMACROS
11#define NONAMELESSUNION
12#define NONAMELESSSTRUCT
13
14#include <windef.h>
15#include <winbase.h>
16#include <winreg.h>
17#include <winsvc.h>
18#include <windowsx.h>
19#include <objbase.h>
20#include <netcfgx.h>
21#include <setupapi.h>
22#include <netcfgn.h>
23#include <devguid.h>
24#include <commctrl.h>
25#include <cfgmgr32.h>
26
27#include <netcfgx_undoc.h>
28
29#include <wine/debug.h>
30
31#include "resource.h"
32
34
35typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject);
36typedef struct {
40
42{
54 INetCfgComponentControl *pNCCC;
55 INetCfgComponentPropertyUi *pProperty;
58
59typedef struct
60{
61 const INetCfg * lpVtbl;
62 const INetCfgLock * lpVtblLock;
63 const INetCfgPnpReconfigCallback *lpVtblPnpReconfigCallback;
72
73/* netcfg_iface.c */
75
76/* classfactory.c */
78
79/* globals */
81
82/* inetcfgcomp_iface.c */
85
86/* netcfgbindinginterface_iface.c */
89
90/* netcfgbindingpath_iface.c */
93
94/* netcfgclass_iface.c */
95HRESULT WINAPI INetCfgClass_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, const GUID *pguidClass, INetCfg *pNetCfg);
96
97/* netinstall.c */
99
100/* tcpipconf_notify.c */
102
104
105#endif /* _PRECOMP_H__ */
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
HRESULT(CALLBACK * LPFNCREATEINSTANCE)(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppvObject)
Definition: precomp.h:22
IClassFactory * IClassFactory_fnConstructor(LPFNCREATEINSTANCE lpfnCI, PLONG pcRefDll, REFIID riidInst)
Definition: classfactory.c:125
#define CALLBACK
Definition: compat.h:35
HRESULT WINAPI INetCfgBindingInterface_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv)
HRESULT WINAPI INetCfgClass_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, const GUID *pguidClass, INetCfg *pNetCfg)
HRESULT WINAPI IEnumNetCfgBindingInterface_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv)
const GUID CLSID_TcpipConfigNotifyObject
Definition: netcfgx.c:16
HRESULT WINAPI INetCfgBindingPath_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv)
BOOL InstallNetworkComponent(_In_ PCWSTR pszComponentId)
Definition: netinstall.c:561
HRESULT WINAPI IEnumNetCfgBindingPath_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, DWORD dwFlags)
HRESULT WINAPI IEnumNetCfgComponent_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, NetCfgComponentItem *pItem, INetCfg *iface)
HINSTANCE netcfgx_hInstance
Definition: netcfgx.c:15
HRESULT WINAPI INetCfgComponent_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, NetCfgComponentItem *pItem, INetCfg *iface)
struct tagNetCfgComponentItem NetCfgComponentItem
HRESULT WINAPI INetCfg_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv)
Definition: netcfg_iface.c:851
HRESULT WINAPI TcpipConfigNotify_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv)
LPFNCREATEINSTANCE lpfnCI
Definition: shellole.c:61
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
Definition: netsh.h:141
#define _In_
Definition: no_sal2.h:158
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
NetCfgComponentItem * pClient
Definition: precomp.h:69
BOOL bInitialized
Definition: precomp.h:65
LONG ref
Definition: precomp.h:64
const INetCfgLock * lpVtblLock
Definition: precomp.h:62
const INetCfgPnpReconfigCallback * lpVtblPnpReconfigCallback
Definition: precomp.h:63
HANDLE hMutex
Definition: precomp.h:66
NetCfgComponentItem * pService
Definition: precomp.h:68
const INetCfg * lpVtbl
Definition: precomp.h:61
NetCfgComponentItem * pProtocol
Definition: precomp.h:70
NetCfgComponentItem * pNet
Definition: precomp.h:67
INetCfgComponentControl * pNCCC
Definition: precomp.h:54
INetCfgComponentPropertyUi * pProperty
Definition: precomp.h:55
struct tagNetCfgComponentItem * pNext
Definition: precomp.h:56
const uint16_t * PCWSTR
Definition: typedefs.h:57
uint16_t * LPWSTR
Definition: typedefs.h:56
int32_t * PLONG
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
#define HRESULT
Definition: msvc.h:7
#define WINAPI
Definition: msvc.h:6