1999-02-09 16:46:25 +01:00
|
|
|
#ifndef _WINNETWK_H_
|
|
|
|
#define _WINNETWK_H_
|
|
|
|
|
1999-03-14 17:35:05 +01:00
|
|
|
#include "windef.h"
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD dwScope;
|
|
|
|
DWORD dwType;
|
|
|
|
DWORD dwDisplayType;
|
|
|
|
DWORD dwUsage;
|
|
|
|
LPSTR lpLocalName;
|
|
|
|
LPSTR lpRemoteName;
|
|
|
|
LPSTR lpComment ;
|
|
|
|
LPSTR lpProvider;
|
1999-02-26 12:11:13 +01:00
|
|
|
} NETRESOURCEA,*LPNETRESOURCEA;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD dwScope;
|
|
|
|
DWORD dwType;
|
|
|
|
DWORD dwDisplayType;
|
|
|
|
DWORD dwUsage;
|
|
|
|
LPWSTR lpLocalName;
|
|
|
|
LPWSTR lpRemoteName;
|
|
|
|
LPWSTR lpComment ;
|
|
|
|
LPWSTR lpProvider;
|
1999-02-26 12:11:13 +01:00
|
|
|
} NETRESOURCEW,*LPNETRESOURCEW;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(NETRESOURCE)
|
|
|
|
DECL_WINELIB_TYPE_AW(LPNETRESOURCE)
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD cbStructure; /* size of this structure in bytes */
|
1999-02-26 12:11:13 +01:00
|
|
|
HWND hwndOwner; /* owner window for the dialog */
|
|
|
|
LPNETRESOURCEA lpConnRes;/* Requested Resource info */
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD dwFlags; /* flags (see below) */
|
|
|
|
DWORD dwDevNum; /* number of devices connected to */
|
1999-02-26 12:11:13 +01:00
|
|
|
} CONNECTDLGSTRUCTA, *LPCONNECTDLGSTRUCTA;
|
1999-02-09 16:46:25 +01:00
|
|
|
typedef struct {
|
|
|
|
DWORD cbStructure; /* size of this structure in bytes */
|
1999-02-26 12:11:13 +01:00
|
|
|
HWND hwndOwner; /* owner window for the dialog */
|
|
|
|
LPNETRESOURCEW lpConnRes;/* Requested Resource info */
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD dwFlags; /* flags (see below) */
|
|
|
|
DWORD dwDevNum; /* number of devices connected to */
|
1999-02-26 12:11:13 +01:00
|
|
|
} CONNECTDLGSTRUCTW, *LPCONNECTDLGSTRUCTW;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(CONNECTDLGSTRUCT)
|
|
|
|
DECL_WINELIB_TYPE_AW(LPCONNECTDLGSTRUCT)
|
|
|
|
|
|
|
|
|
|
|
|
/**/
|
|
|
|
#define CONNDLG_RO_PATH 0x00000001 /* Resource path should be read-only */
|
|
|
|
#define CONNDLG_CONN_POINT 0x00000002 /* Netware -style movable connection point enabled */
|
|
|
|
#define CONNDLG_USE_MRU 0x00000004 /* Use MRU combobox */
|
|
|
|
#define CONNDLG_HIDE_BOX 0x00000008 /* Hide persistent connect checkbox */
|
|
|
|
#define CONNDLG_PERSIST 0x00000010 /* Force persistent connection */
|
|
|
|
#define CONNDLG_NOT_PERSIST 0x00000020 /* Force connection NOT persistent */
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD cbStructure;
|
|
|
|
DWORD dwFlags;
|
|
|
|
DWORD dwSpeed;
|
|
|
|
DWORD dwDelay;
|
|
|
|
DWORD dwOptDataSize;
|
|
|
|
} NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT;
|
|
|
|
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
|
|
|
|
UINT WINAPI WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define WNetAddConnection2 WINELIB_NAME_AW(WNetAddConnection2_)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
|
|
|
|
UINT WINAPI WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define WNetAddConnection3 WINELIB_NAME_AW(WNetAddConnection3_)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI WNetConnectionDialog1(HWND,DWORD);
|
|
|
|
UINT WINAPI WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA);
|
|
|
|
UINT WINAPI WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define WNetConnectionDialog1 WINELIB_NAME_AW(WNetConnectionDialog1_)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI MultinetGetErrorTextA(DWORD,DWORD,DWORD);
|
|
|
|
UINT WINAPI MultinetGetErrorTextW(DWORD,DWORD,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define MultinetGetErrorText WINELIB_NAME_AW(MultinetGetErrorText_)
|
|
|
|
|
1999-04-25 14:31:20 +02:00
|
|
|
#define RESOURCETYPE_ANY 0x00000000
|
|
|
|
#define RESOURCETYPE_DISK 0x00000001
|
|
|
|
#define RESOURCETYPE_PRINT 0x00000002
|
|
|
|
|
|
|
|
#define CONNECT_UPDATE_PROFILE 0x00000001
|
|
|
|
#define CONNECT_UPDATE_RECENT 0x00000002
|
|
|
|
#define CONNECT_TEMPORARY 0x00000004
|
|
|
|
#define CONNECT_INTERACTIVE 0x00000008
|
|
|
|
#define CONNECT_PROMPT 0x00000010
|
|
|
|
#define CONNECT_NEED_DRIVE 0x00000020
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
#endif /* _WINNETWK_H_ */
|