- Go away STDCALL, time has come for WINAPI and NTAPI
[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 #include "resource.h"
16 #include <prsht.h>
17
18 typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject);
19 typedef struct {
20 REFIID riid;
21 LPFNCREATEINSTANCE lpfnCI;
22 } INTERFACE_TABLE;
23
24 typedef struct tagNetCfgComponentItem
25 {
26 LPWSTR szDisplayName; //Y
27 LPWSTR szHelpText; //Y
28 LPWSTR szId; //Y
29 LPWSTR szBindName; //Y
30 LPWSTR szNodeId; //Y
31 CLSID InstanceId; //Y
32 CLSID ClassGUID; //Y
33 DWORD dwCharacteristics; //Y
34 ULONG Status; //Y
35 BOOL bChanged; //Y
36 struct tagNetCfgComponentItem * pNext;
37 INetCfgComponentControl * pNCCC;
38 }NetCfgComponentItem;
39
40 /* netcfg_iface.c */
41 HRESULT WINAPI INetCfg_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
42
43 /* classfactory.c */
44 IClassFactory * IClassFactory_fnConstructor(LPFNCREATEINSTANCE lpfnCI, PLONG pcRefDll, REFIID riidInst);
45
46 /* globals */
47 extern HINSTANCE netcfgx_hInstance;
48
49 /* inetcfgcomp_iface.c */
50 HRESULT WINAPI INetCfgComponent_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv, NetCfgComponentItem * pItem,INetCfg * iface);
51 HRESULT WINAPI IEnumNetCfgComponent_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv, NetCfgComponentItem * pItem, INetCfg * iface);
52
53 /* tcpipconf_notify.c */
54 HRESULT WINAPI TcpipConfigNotify_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
55
56 extern const GUID CLSID_TcpipConfigNotifyObject;
57
58 #endif