Create the AHCI branch for Aman's work
[reactos.git] / dll / shellext / netshell / precomp.h
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 #include <windef.h>
11 #include <winbase.h>
12 #include <winreg.h>
13 #include <winnls.h>
14 #include <shlwapi.h>
15 #include <shlobj.h>
16 #include <shellapi.h>
17 #include <iphlpapi.h>
18 #include <setupapi.h>
19 #include <devguid.h>
20 #include <netcon.h>
21 #include <shlguid_undoc.h>
22
23 #include <wine/debug.h>
24 WINE_DEFAULT_DEBUG_CHANNEL(shell);
25
26 #include "resource.h"
27
28 #if defined(_MSC_VER) && _MSC_VER < 1700
29 #define final sealed
30 #endif
31
32 #define NCF_VIRTUAL 0x1
33 #define NCF_SOFTWARE_ENUMERATED 0x2
34 #define NCF_PHYSICAL 0x4
35 #define NCF_HIDDEN 0x8
36 #define NCF_NO_SERVICE 0x10
37 #define NCF_NOT_USER_REMOVABLE 0x20
38 #define NCF_MULTIPORT_INSTANCED_ADAPTER 0x40
39 #define NCF_HAS_UI 0x80
40 #define NCF_FILTER 0x400
41 #define NCF_NDIS_PROTOCOL 0x4000
42
43 typedef struct {
44 int colnameid;
45 int pcsFlags;
46 int fmt;
47 int cxChar;
48 } shvheader;
49
50 typedef struct tagVALUEStruct
51 {
52 BYTE dummy;
53 INetConnection * pItem;
54 } VALUEStruct;
55
56 /* globals */
57 extern HINSTANCE netshell_hInstance;
58
59 /* shfldr_netconnect.c */
60 HRESULT ShowNetConnectionProperties(INetConnection * pNetConnect, HWND hwnd);
61 HRESULT WINAPI ISF_NetConnect_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
62
63 /* enumlist.c */
64 PITEMID_CHILD _ILCreateNetConnect(void);
65 PITEMID_CHILD ILCreateNetConnectItem(INetConnection *pItem);
66 BOOL _ILIsNetConnect(LPCITEMIDLIST pidl);
67 const VALUEStruct * _ILGetValueStruct(LPCITEMIDLIST pidl);
68
69 /* classfactory.c */
70 HRESULT IClassFactory_fnConstructor(REFCLSID rclsid, REFIID riid, LPVOID *ppvOut);
71
72 /* connectmanager.c */
73 HRESULT WINAPI INetConnectionManager_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
74 BOOL GetAdapterIndexFromNetCfgInstanceId(PIP_ADAPTER_INFO pAdapterInfo, LPWSTR szNetCfg, PDWORD pIndex);
75
76 /* lanconnectui.c */
77 HPROPSHEETPAGE InitializePropertySheetPage(LPWSTR resname, DLGPROC dlgproc, LPARAM lParam, LPWSTR szTitle);
78 HRESULT WINAPI LanConnectUI_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
79
80 /* lanstatusui.c */
81 HRESULT WINAPI LanConnectStatusUI_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
82
83 #define NCCF_NOTIFY_DISCONNECTED 0x100000
84
85 #include "enumlist.h"
86
87 #endif /* _PRECOMP_H__ */