16 } NETRESOURCEA
,*LPNETRESOURCEA
;
27 } NETRESOURCEW
,*LPNETRESOURCEW
;
29 DECL_WINELIB_TYPE_AW(NETRESOURCE
)
30 DECL_WINELIB_TYPE_AW(LPNETRESOURCE
)
33 DWORD cbStructure
; /* size of this structure in bytes */
34 HWND hwndOwner
; /* owner window for the dialog */
35 LPNETRESOURCEA lpConnRes
;/* Requested Resource info */
36 DWORD dwFlags
; /* flags (see below) */
37 DWORD dwDevNum
; /* number of devices connected to */
38 } CONNECTDLGSTRUCTA
, *LPCONNECTDLGSTRUCTA
;
40 DWORD cbStructure
; /* size of this structure in bytes */
41 HWND hwndOwner
; /* owner window for the dialog */
42 LPNETRESOURCEW lpConnRes
;/* Requested Resource info */
43 DWORD dwFlags
; /* flags (see below) */
44 DWORD dwDevNum
; /* number of devices connected to */
45 } CONNECTDLGSTRUCTW
, *LPCONNECTDLGSTRUCTW
;
47 DECL_WINELIB_TYPE_AW(CONNECTDLGSTRUCT
)
48 DECL_WINELIB_TYPE_AW(LPCONNECTDLGSTRUCT
)
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 */
66 } NETCONNECTINFOSTRUCT
,*LPNETCONNECTINFOSTRUCT
;
69 UINT WINAPI
WNetAddConnection2A(LPNETRESOURCEA
,LPCSTR
,LPCSTR
,DWORD
);
70 UINT WINAPI
WNetAddConnection2W(LPNETRESOURCEW
,LPCWSTR
,LPCWSTR
,DWORD
);
71 #define WNetAddConnection2 WINELIB_NAME_AW(WNetAddConnection2)
72 UINT WINAPI
WNetAddConnection3A(HWND
,LPNETRESOURCEA
,LPCSTR
,LPCSTR
,DWORD
);
73 UINT WINAPI
WNetAddConnection3W(HWND
,LPNETRESOURCEW
,LPCWSTR
,LPCWSTR
,DWORD
);
74 #define WNetAddConnection3 WINELIB_NAME_AW(WNetAddConnection3)
75 UINT WINAPI
WNetConnectionDialog1(HWND
,DWORD
);
76 UINT WINAPI
WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA
);
77 UINT WINAPI
WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW
);
78 #define WNetConnectionDialog1 WINELIB_NAME_AW(WNetConnectionDialog1)
79 UINT WINAPI
MultinetGetErrorTextA(DWORD
,DWORD
,DWORD
);
80 UINT WINAPI
MultinetGetErrorTextW(DWORD
,DWORD
,DWORD
);
81 #define MultinetGetErrorText WINELIB_NAME_AW(MultinetGetErrorText)
82 DWORD WINAPI
NPSGetSectionNameA(DWORD
,LPCSTR
*);
83 DWORD WINAPI
NPSGetSectionNameW(DWORD
,LPCWSTR
*);
84 #define NPSGetSectionName WINELIB_NAME_AW(NPSGetSectionName)
86 #define RESOURCETYPE_ANY 0x00000000
87 #define RESOURCETYPE_DISK 0x00000001
88 #define RESOURCETYPE_PRINT 0x00000002
90 #define CONNECT_UPDATE_PROFILE 0x00000001
91 #define CONNECT_UPDATE_RECENT 0x00000002
92 #define CONNECT_TEMPORARY 0x00000004
93 #define CONNECT_INTERACTIVE 0x00000008
94 #define CONNECT_PROMPT 0x00000010
95 #define CONNECT_NEED_DRIVE 0x00000020
97 #endif /* _WINNETWK_H_ */