xref: /reactos/dll/win32/netcfgx/precomp.h (revision cc439606)
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 <windowsx.h>
18 #include <objbase.h>
19 #include <netcfgx.h>
20 #include <setupapi.h>
21 #include <netcfgn.h>
22 #include <devguid.h>
23 #include <commctrl.h>
24 
25 #include <wine/debug.h>
26 
27 #include "resource.h"
28 
29 WINE_DEFAULT_DEBUG_CHANNEL(netcfgx);
30 
31 typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject);
32 typedef struct {
33     REFIID riid;
34     LPFNCREATEINSTANCE lpfnCI;
35 } INTERFACE_TABLE;
36 
37 typedef struct tagNetCfgComponentItem
38 {
39     LPWSTR szDisplayName;       //Y
40     LPWSTR szHelpText;          //Y
41     LPWSTR szId;                //Y
42     LPWSTR szBindName;          //Y
43     LPWSTR szNodeId;            //Y
44     CLSID InstanceId;           //Y
45     CLSID ClassGUID;            //Y
46     DWORD dwCharacteristics;    //Y
47     ULONG Status;               //Y
48     BOOL bChanged;              //Y
49     struct tagNetCfgComponentItem * pNext;
50     INetCfgComponentControl * pNCCC;
51 }NetCfgComponentItem;
52 
53 /* netcfg_iface.c */
54 HRESULT WINAPI INetCfg_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
55 
56 /* classfactory.c */
57 IClassFactory * IClassFactory_fnConstructor(LPFNCREATEINSTANCE lpfnCI, PLONG pcRefDll, REFIID riidInst);
58 
59 /* globals */
60 extern HINSTANCE netcfgx_hInstance;
61 
62 /* inetcfgcomp_iface.c */
63 HRESULT WINAPI INetCfgComponent_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv, NetCfgComponentItem * pItem,INetCfg * iface);
64 HRESULT WINAPI IEnumNetCfgComponent_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv, NetCfgComponentItem * pItem, INetCfg * iface);
65 
66 /* tcpipconf_notify.c */
67 HRESULT WINAPI TcpipConfigNotify_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
68 
69 extern const GUID CLSID_TcpipConfigNotifyObject;
70 
71 #endif /* _PRECOMP_H__ */
72