Added a check for the existence of wine.sym before installing it.
[wine] / include / winnetwk.h
1 #ifndef _WINNETWK_H_
2 #define _WINNETWK_H_
3
4 #include "wintypes.h"
5
6
7 typedef struct {
8         DWORD   dwScope;
9         DWORD   dwType;
10         DWORD   dwDisplayType;
11         DWORD   dwUsage;
12         LPSTR   lpLocalName;
13         LPSTR   lpRemoteName;
14         LPSTR   lpComment ;
15         LPSTR   lpProvider;
16 } NETRESOURCE32A,*LPNETRESOURCE32A;
17
18 typedef struct {
19         DWORD   dwScope;
20         DWORD   dwType;
21         DWORD   dwDisplayType;
22         DWORD   dwUsage;
23         LPWSTR  lpLocalName;
24         LPWSTR  lpRemoteName;
25         LPWSTR  lpComment ;
26         LPWSTR  lpProvider;
27 } NETRESOURCE32W,*LPNETRESOURCE32W;
28
29 DECL_WINELIB_TYPE_AW(NETRESOURCE)
30 DECL_WINELIB_TYPE_AW(LPNETRESOURCE)
31
32 typedef struct {
33     DWORD cbStructure;       /* size of this structure in bytes */
34     HWND32 hwndOwner;          /* owner window for the dialog */
35     LPNETRESOURCE32A lpConnRes;/* Requested Resource info    */
36     DWORD dwFlags;           /* flags (see below) */
37     DWORD dwDevNum;          /* number of devices connected to */
38 } CONNECTDLGSTRUCT32A, *LPCONNECTDLGSTRUCT32A;
39 typedef struct {
40     DWORD cbStructure;       /* size of this structure in bytes */
41     HWND32 hwndOwner;          /* owner window for the dialog */
42     LPNETRESOURCE32W lpConnRes;/* Requested Resource info    */
43     DWORD dwFlags;           /* flags (see below) */
44     DWORD dwDevNum;          /* number of devices connected to */
45 } CONNECTDLGSTRUCT32W, *LPCONNECTDLGSTRUCT32W;
46
47 DECL_WINELIB_TYPE_AW(CONNECTDLGSTRUCT)
48 DECL_WINELIB_TYPE_AW(LPCONNECTDLGSTRUCT)
49
50
51 /**/
52 #define CONNDLG_RO_PATH     0x00000001 /* Resource path should be read-only    */
53 #define CONNDLG_CONN_POINT  0x00000002 /* Netware -style movable connection point enabled */
54 #define CONNDLG_USE_MRU     0x00000004 /* Use MRU combobox  */
55 #define CONNDLG_HIDE_BOX    0x00000008 /* Hide persistent connect checkbox  */
56 #define CONNDLG_PERSIST     0x00000010 /* Force persistent connection */
57 #define CONNDLG_NOT_PERSIST 0x00000020 /* Force connection NOT persistent */
58
59
60 typedef struct {
61         DWORD   cbStructure;
62         DWORD   dwFlags;
63         DWORD   dwSpeed;
64         DWORD   dwDelay;
65         DWORD   dwOptDataSize;
66 } NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT;
67   
68
69 UINT32      WINAPI WNetAddConnection2_32A(LPNETRESOURCE32A,LPCSTR,LPCSTR,DWORD);
70 UINT32      WINAPI WNetAddConnection2_32W(LPNETRESOURCE32W,LPCWSTR,LPCWSTR,DWORD);
71 #define     WNetAddConnection2 WINELIB_NAME_AW(WNetAddConnection2_)
72 UINT32      WINAPI WNetAddConnection3_32A(HWND32,LPNETRESOURCE32A,LPCSTR,LPCSTR,DWORD);
73 UINT32      WINAPI WNetAddConnection3_32W(HWND32,LPNETRESOURCE32W,LPCWSTR,LPCWSTR,DWORD);
74 #define     WNetAddConnection3 WINELIB_NAME_AW(WNetAddConnection3_)
75 UINT32      WINAPI WNetConnectionDialog1_32(HWND32,DWORD);
76 UINT32      WINAPI WNetConnectionDialog1_32A(LPCONNECTDLGSTRUCT32A);
77 UINT32      WINAPI WNetConnectionDialog1_32W(LPCONNECTDLGSTRUCT32W);
78 #define     WNetConnectionDialog1 WINELIB_NAME_AW(WNetConnectionDialog1_)
79 UINT32      WINAPI MultinetGetErrorText32A(DWORD,DWORD,DWORD);
80 UINT32      WINAPI MultinetGetErrorText32W(DWORD,DWORD,DWORD);
81 #define     MultinetGetErrorText WINELIB_NAME_AW(MultinetGetErrorText_)
82
83
84 #endif /* _WINNETWK_H_ */