2008-08-27 17:18:25 +00:00
|
|
|
#ifndef _PRECOMP_H__
|
|
|
|
#define _PRECOMP_H__
|
|
|
|
|
2014-01-25 10:59:27 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
2008-08-27 17:18:25 +00:00
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
2016-05-17 22:38:58 +00:00
|
|
|
#include <wingdi.h>
|
|
|
|
#include <wincon.h>
|
2014-01-25 10:59:27 +00:00
|
|
|
#include <winreg.h>
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <winnls.h>
|
2008-08-27 17:18:25 +00:00
|
|
|
#include <shlwapi.h>
|
|
|
|
#include <shlobj.h>
|
|
|
|
#include <shellapi.h>
|
2018-11-12 11:23:38 +00:00
|
|
|
#include <atlbase.h>
|
|
|
|
#include <atlcom.h>
|
|
|
|
#include <atlcoll.h>
|
|
|
|
#include <atlstr.h>
|
2008-08-27 17:18:25 +00:00
|
|
|
#include <iphlpapi.h>
|
|
|
|
#include <setupapi.h>
|
|
|
|
#include <devguid.h>
|
2008-08-28 02:57:10 +00:00
|
|
|
#include <netcon.h>
|
2014-12-20 16:12:35 +00:00
|
|
|
#include <shlguid_undoc.h>
|
2016-05-17 22:38:58 +00:00
|
|
|
#include <prsht.h>
|
2018-11-12 11:23:38 +00:00
|
|
|
#include <undocshell.h>
|
|
|
|
#include <shellutils.h>
|
|
|
|
|
|
|
|
#include <netcfgx.h>
|
|
|
|
#include <netcfgn.h>
|
|
|
|
#include <strsafe.h>
|
2013-12-26 13:02:46 +00:00
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <wine/debug.h>
|
2013-12-26 13:02:46 +00:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
2008-08-30 19:05:19 +00:00
|
|
|
|
2008-08-27 17:18:25 +00:00
|
|
|
#include "resource.h"
|
|
|
|
|
2008-08-29 14:18:55 +00:00
|
|
|
#define NCF_VIRTUAL 0x1
|
|
|
|
#define NCF_SOFTWARE_ENUMERATED 0x2
|
|
|
|
#define NCF_PHYSICAL 0x4
|
|
|
|
#define NCF_HIDDEN 0x8
|
|
|
|
#define NCF_NO_SERVICE 0x10
|
|
|
|
#define NCF_NOT_USER_REMOVABLE 0x20
|
|
|
|
#define NCF_MULTIPORT_INSTANCED_ADAPTER 0x40
|
|
|
|
#define NCF_HAS_UI 0x80
|
|
|
|
#define NCF_FILTER 0x400
|
|
|
|
#define NCF_NDIS_PROTOCOL 0x4000
|
|
|
|
|
2018-11-12 22:08:18 +00:00
|
|
|
#define USE_CUSTOM_CONMGR 1
|
|
|
|
|
2008-08-27 17:18:25 +00:00
|
|
|
/* globals */
|
|
|
|
extern HINSTANCE netshell_hInstance;
|
|
|
|
|
|
|
|
/* enumlist.c */
|
2018-11-12 20:52:57 +00:00
|
|
|
typedef struct tagNETCONIDSTRUCT
|
|
|
|
{
|
|
|
|
BYTE type;
|
|
|
|
GUID guidId;
|
|
|
|
NETCON_STATUS Status;
|
|
|
|
NETCON_MEDIATYPE MediaType;
|
|
|
|
DWORD dwCharacter;
|
|
|
|
ULONG_PTR uNameOffset;
|
|
|
|
ULONG_PTR uDeviceNameOffset;
|
|
|
|
} NETCONIDSTRUCT, *PNETCONIDSTRUCT;
|
|
|
|
|
|
|
|
PNETCONIDSTRUCT ILGetConnData(PCITEMID_CHILD pidl);
|
|
|
|
PWCHAR ILGetConnName(PCITEMID_CHILD pidl);
|
|
|
|
PWCHAR ILGetDeviceName(PCITEMID_CHILD pidl);
|
|
|
|
PITEMID_CHILD ILCreateNetConnectItem(INetConnection * pItem);
|
|
|
|
HRESULT ILGetConnection(PCITEMID_CHILD pidl, INetConnection ** pItem);
|
2018-11-12 11:23:38 +00:00
|
|
|
HRESULT CEnumIDList_CreateInstance(HWND hwndOwner, DWORD dwFlags, REFIID riid, LPVOID * ppv);
|
2008-08-27 17:18:25 +00:00
|
|
|
|
2018-11-12 11:23:38 +00:00
|
|
|
#define NCCF_NOTIFY_DISCONNECTED 0x100000
|
2008-08-28 02:57:10 +00:00
|
|
|
|
2008-09-17 13:58:48 +00:00
|
|
|
HPROPSHEETPAGE InitializePropertySheetPage(LPWSTR resname, DLGPROC dlgproc, LPARAM lParam, LPWSTR szTitle);
|
2008-08-30 19:05:19 +00:00
|
|
|
|
2018-11-12 11:23:38 +00:00
|
|
|
#include "connectmanager.h"
|
|
|
|
#include "lanconnectui.h"
|
|
|
|
#include "lanstatusui.h"
|
|
|
|
#include "shfldr_netconnect.h"
|
2008-08-29 14:18:55 +00:00
|
|
|
|
2012-01-20 21:50:54 +00:00
|
|
|
|
2014-01-25 10:59:27 +00:00
|
|
|
#endif /* _PRECOMP_H__ */
|