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>
|
|
|
|
#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>
|
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"
|
|
|
|
|
2013-07-20 09:56:58 +00:00
|
|
|
#if defined(_MSC_VER) && _MSC_VER < 1700
|
|
|
|
#define final sealed
|
|
|
|
#endif
|
|
|
|
|
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
|
|
|
|
|
2008-08-27 17:18:25 +00:00
|
|
|
typedef struct {
|
|
|
|
int colnameid;
|
|
|
|
int pcsFlags;
|
|
|
|
int fmt;
|
|
|
|
int cxChar;
|
|
|
|
} shvheader;
|
|
|
|
|
|
|
|
typedef struct tagVALUEStruct
|
|
|
|
{
|
|
|
|
BYTE dummy;
|
2008-08-28 02:57:10 +00:00
|
|
|
INetConnection * pItem;
|
2012-01-20 21:50:54 +00:00
|
|
|
} VALUEStruct;
|
2008-08-27 17:18:25 +00:00
|
|
|
|
|
|
|
/* globals */
|
|
|
|
extern HINSTANCE netshell_hInstance;
|
|
|
|
|
|
|
|
/* shfldr_netconnect.c */
|
2008-09-17 13:58:48 +00:00
|
|
|
HRESULT ShowNetConnectionProperties(INetConnection * pNetConnect, HWND hwnd);
|
2012-01-20 21:50:54 +00:00
|
|
|
HRESULT WINAPI ISF_NetConnect_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
2008-08-27 17:18:25 +00:00
|
|
|
|
|
|
|
/* enumlist.c */
|
2015-04-19 20:56:42 +00:00
|
|
|
PITEMID_CHILD _ILCreateNetConnect(void);
|
|
|
|
PITEMID_CHILD ILCreateNetConnectItem(INetConnection *pItem);
|
2012-01-20 21:50:54 +00:00
|
|
|
BOOL _ILIsNetConnect(LPCITEMIDLIST pidl);
|
2015-04-19 20:56:42 +00:00
|
|
|
const VALUEStruct * _ILGetValueStruct(LPCITEMIDLIST pidl);
|
2008-08-27 17:18:25 +00:00
|
|
|
|
|
|
|
/* classfactory.c */
|
2012-01-20 21:50:54 +00:00
|
|
|
HRESULT IClassFactory_fnConstructor(REFCLSID rclsid, REFIID riid, LPVOID *ppvOut);
|
2008-08-27 17:18:25 +00:00
|
|
|
|
2008-08-28 02:57:10 +00:00
|
|
|
/* connectmanager.c */
|
2012-01-20 21:50:54 +00:00
|
|
|
HRESULT WINAPI INetConnectionManager_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
|
2008-09-17 13:58:48 +00:00
|
|
|
BOOL GetAdapterIndexFromNetCfgInstanceId(PIP_ADAPTER_INFO pAdapterInfo, LPWSTR szNetCfg, PDWORD pIndex);
|
2008-08-28 02:57:10 +00:00
|
|
|
|
2008-08-29 14:18:55 +00:00
|
|
|
/* lanconnectui.c */
|
2008-09-17 13:58:48 +00:00
|
|
|
HPROPSHEETPAGE InitializePropertySheetPage(LPWSTR resname, DLGPROC dlgproc, LPARAM lParam, LPWSTR szTitle);
|
2012-01-20 21:50:54 +00:00
|
|
|
HRESULT WINAPI LanConnectUI_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
|
2008-08-30 19:05:19 +00:00
|
|
|
|
|
|
|
/* lanstatusui.c */
|
2012-01-20 21:50:54 +00:00
|
|
|
HRESULT WINAPI LanConnectStatusUI_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
|
2008-08-29 14:18:55 +00:00
|
|
|
|
|
|
|
#define NCCF_NOTIFY_DISCONNECTED 0x100000
|
|
|
|
|
2012-01-20 21:50:54 +00:00
|
|
|
#include "enumlist.h"
|
|
|
|
|
2014-01-25 10:59:27 +00:00
|
|
|
#endif /* _PRECOMP_H__ */
|