ReactOS 0.4.16-dev-1-gcf26321
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#include <windef.h>
11#include <winbase.h>
12#include <wingdi.h>
13#include <wincon.h>
14#include <winreg.h>
15#include <winnls.h>
16#include <shlwapi.h>
17#include <shlobj.h>
18#include <shellapi.h>
19#include <atlbase.h>
20#include <atlcom.h>
21#include <atlcoll.h>
22#include <atlstr.h>
23#include <iphlpapi.h>
24#include <setupapi.h>
25#include <devguid.h>
26#include <netcon.h>
27#include <shlguid_undoc.h>
28#include <prsht.h>
29#include <undocshell.h>
30#include <shellutils.h>
31
32#include <netcfgx.h>
33#include <netcfgn.h>
34#include <strsafe.h>
35
36#include <wine/debug.h>
38
39#include "resource.h"
40
41#define NCF_VIRTUAL 0x1
42#define NCF_SOFTWARE_ENUMERATED 0x2
43#define NCF_PHYSICAL 0x4
44#define NCF_HIDDEN 0x8
45#define NCF_NO_SERVICE 0x10
46#define NCF_NOT_USER_REMOVABLE 0x20
47#define NCF_MULTIPORT_INSTANCED_ADAPTER 0x40
48#define NCF_HAS_UI 0x80
49#define NCF_FILTER 0x400
50#define NCF_NDIS_PROTOCOL 0x4000
51
52#define USE_CUSTOM_CONMGR 1
53
54/* globals */
56
57/* enumlist.c */
58#include <pshpack1.h>
59#define NETCONIDSTRUCT_SIG 0x4EFF
60typedef struct tagNETCONIDSTRUCT
61{
72#include <poppack.h>
73
74C_ASSERT(2 + FIELD_OFFSET(NETCONIDSTRUCT, clsidThisObject) == 2 + (2 + 8));
75C_ASSERT(2 + FIELD_OFFSET(NETCONIDSTRUCT, guidId) == 2 + (2 + 8 + 16));
76C_ASSERT(2 + FIELD_OFFSET(NETCONIDSTRUCT, dwCharacter) == 2 + (2 + 8 + 32));
77C_ASSERT(2 + FIELD_OFFSET(NETCONIDSTRUCT, MediaType) == 2 + (2 + 8 + 36));
78
85
86#define NCCF_NOTIFY_DISCONNECTED 0x100000
87
89
90#include "connectmanager.h"
91#include "lanconnectui.h"
92#include "lanstatusui.h"
93#include "shfldr_netconnect.h"
94
95
96#endif /* _PRECOMP_H__ */
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
void shell(int argc, const char *argv[])
Definition: cmds.c:1231
LPARAM lParam
Definition: combotst.c:139
#define DLGPROC
Definition: maze.c:62
HPROPSHEETPAGE InitializePropertySheetPage(LPWSTR resname, DLGPROC dlgproc, LPARAM lParam, LPWSTR szTitle)
Definition: netshell.cpp:29
PITEMID_CHILD ILCreateNetConnectItem(INetConnection *pItem)
Definition: enumlist.cpp:37
HRESULT CEnumIDList_CreateInstance(HWND hwndOwner, DWORD dwFlags, REFIID riid, LPVOID *ppv)
Definition: enumlist.cpp:345
HINSTANCE netshell_hInstance
Definition: netshell.cpp:12
PWCHAR ILGetDeviceName(PCITEMID_CHILD pidl)
Definition: enumlist.cpp:29
struct tagNETCONIDSTRUCT NETCONIDSTRUCT
HRESULT ILGetConnection(PCITEMID_CHILD pidl, INetConnection **pItem)
Definition: enumlist.cpp:85
PNETCONIDSTRUCT ILGetConnData(PCITEMID_CHILD pidl)
Definition: enumlist.cpp:10
PWCHAR ILGetConnName(PCITEMID_CHILD pidl)
Definition: enumlist.cpp:21
struct tagNETCONIDSTRUCT * PNETCONIDSTRUCT
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define C_ASSERT(e)
Definition: intsafe.h:73
TCHAR szTitle[MAX_LOADSTRING]
Definition: magnifier.c:35
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
NETCON_STATUS
Definition: netcon.h:38
NETCON_MEDIATYPE
Definition: netcon.h:67
#define REFIID
Definition: guiddef.h:118
DWORD dwCharacter
Definition: precomp.h:66
NETCON_MEDIATYPE MediaType
Definition: precomp.h:67
BYTE Unknown[8]
Definition: precomp.h:63
NETCON_STATUS Status
Definition: precomp.h:68
ULONG uDeviceNameOffset
Definition: precomp.h:70
ULONG uNameOffset
Definition: precomp.h:69
CLSID clsidThisObject
Definition: precomp.h:64
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
uint16_t * PWCHAR
Definition: typedefs.h:56
uint32_t ULONG
Definition: typedefs.h:59
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
LONG_PTR LPARAM
Definition: windef.h:208
WCHAR * LPWSTR
Definition: xmlstorage.h:184
unsigned char BYTE
Definition: xxhash.c:193