ReactOS 0.4.16-dev-1946-g52006dd
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{
55 INetCfgComponentControl * pNCCC;
57
58typedef struct
59{
60 const INetCfg * lpVtbl;
61 const INetCfgLock * lpVtblLock;
62 const INetCfgPnpReconfigCallback *lpVtblPnpReconfigCallback;
71
72/* netcfg_iface.c */
74
75/* classfactory.c */
77
78/* globals */
80
81/* inetcfgcomp_iface.c */
84
85/* netcfgbindinginterface_iface.c */
88
89/* netcfgbindingpath_iface.c */
92
93/* netcfgclass_iface.c */
94HRESULT WINAPI INetCfgClass_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, const GUID *pguidClass, INetCfg *pNetCfg);
95
96/* netinstall.c */
98
99/* tcpipconf_notify.c */
101
103
104#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:68
BOOL bInitialized
Definition: precomp.h:64
LONG ref
Definition: precomp.h:63
const INetCfgLock * lpVtblLock
Definition: precomp.h:61
const INetCfgPnpReconfigCallback * lpVtblPnpReconfigCallback
Definition: precomp.h:62
HANDLE hMutex
Definition: precomp.h:65
NetCfgComponentItem * pService
Definition: precomp.h:67
const INetCfg * lpVtbl
Definition: precomp.h:60
NetCfgComponentItem * pProtocol
Definition: precomp.h:69
NetCfgComponentItem * pNet
Definition: precomp.h:66
INetCfgComponentControl * pNCCC
Definition: precomp.h:55
struct tagNetCfgComponentItem * pNext
Definition: precomp.h:54
const uint16_t * PCWSTR
Definition: typedefs.h:57
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
WCHAR * LPWSTR
Definition: xmlstorage.h:184