- Implement INetCfgComponent_RaisePropertyUi
[reactos.git] / reactos / dll / win32 / netcfgx / precomp.h
1 #ifndef _PRECOMP_H__
2 #define _PRECOMP_H__
3
4 #define COBJMACROS
5 #define NONAMELESSUNION
6 #define NONAMELESSSTRUCT
7
8 #include <windows.h>
9 #include <netcfgx.h>
10 #include <setupapi.h>
11 #include <stdio.h>
12 #include <iphlpapi.h>
13 #include <olectl.h>
14 #include <netcfgn.h>
15
16 typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject);
17 typedef struct {
18 REFIID riid;
19 LPFNCREATEINSTANCE lpfnCI;
20 } INTERFACE_TABLE;
21
22 typedef struct tagNetCfgComponentItem
23 {
24 LPWSTR szDisplayName; //Y
25 LPWSTR szHelpText; //Y
26 LPWSTR szId; //Y
27 LPWSTR szBindName; //Y
28 LPWSTR szNodeId; //Y
29 CLSID InstanceId; //Y
30 CLSID ClassGUID; //Y
31 DWORD dwCharacteristics; //Y
32 ULONG Status; //Y
33 BOOL bChanged; //Y
34 struct tagNetCfgComponentItem * pNext;
35 }NetCfgComponentItem;
36
37 /* netcfg_iface.c */
38 HRESULT WINAPI INetCfg_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
39
40 /* classfactory.c */
41 IClassFactory * IClassFactory_fnConstructor(LPFNCREATEINSTANCE lpfnCI, PLONG pcRefDll, REFIID riidInst);
42
43 /* globals */
44 extern HINSTANCE netcfgx_hInstance;
45
46 /* inetcfgcomp_iface.c */
47 HRESULT STDCALL INetCfgComponent_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv, NetCfgComponentItem * pItem,INetCfg * iface);
48 HRESULT STDCALL IEnumNetCfgComponent_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv, NetCfgComponentItem * pItem, INetCfg * iface);
49
50 #endif