• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Windows System Libraries


Commit MetaInfo

Revision52b37225c97e8c74f8f3e985dc882f6957af00e1 (tree)
Time2021-02-19 20:32:13
AuthorKeith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Make <winnetwk.h> header effectively self-contained.

Change Summary

Incremental Difference

--- a/w32api/ChangeLog
+++ b/w32api/ChangeLog
@@ -1,3 +1,27 @@
1+2021-02-19 Keith Marshall <keith@users.osdn.me>
2+
3+ Make <winnetwk.h> header effectively self-contained.
4+
5+ * include/winnetwk.h: Tidy layout; assert copyright.
6+ (GCC system_header) [__GNUC__ >= 3]: Remove prerequisite condition.
7+ (windef.h): Include this, to support stand-alone use.
8+ (_BEGIN_C_DECLS, _END_C_DECLS): Use them.
9+ [UNICODE vs. ! UNICODE] (__AW_ALIAS__): Use it to declare...
10+ (NETRESOURCE, LPNETRESOURCE, CONNECTDLGSTRUCT, LPCONNECTDLGSTRUCT)
11+ (DISCDLGSTRUCT, LPDISCDLGSTRUCT, UNIVERSAL_NAME_INFO)
12+ (LPUNIVERSAL_NAME_INFO, REMOTE_NAME_INFO)
13+ (LPREMOTE_NAME_INFO): ...these.
14+ [UNICODE vs. ! UNICODE] (__AW_SUFFIXED__): Use it to declare...
15+ (PFNGETPROFILEPATH, PFNRECONCILEPROFILE, PFNPROCESSPOLICIES)
16+ (WNetAddConnection, WNetAddConnection2, WNetAddConnection3)
17+ (WNetCancelConnection, WNetCancelConnection2, WNetGetConnection)
18+ (WNetUseConnection, WNetSetConnection, WNetConnectionDialog1)
19+ (WNetDisconnectDialog1, WNetOpenEnum, WNetEnumResource)
20+ (WNetGetUniversalName, WNetGetUser, WNetGetProviderName)
21+ (WNetGetNetworkInformation, WNetGetResourceInformation)
22+ (WNetGetResourceParent, WNetGetLastError)
23+ (MultinetGetConnectionPerformance): ...these.
24+
125 2021-02-13 Keith Marshall <keith@users.osdn.me>
226
327 Update support for Internet Explorer features selection macros.
--- a/w32api/include/winnetwk.h
+++ b/w32api/include/winnetwk.h
@@ -1,350 +1,418 @@
1+/*
2+ * winnetwk.h
3+ *
4+ * Windows Networking API.
5+ *
6+ * $Id$
7+ *
8+ * Written by Anders Norlander <anorland@hem2.passagen.se>
9+ * Copyright (C) 1998, 2000-2002, 2005, 2006, 2021, MinGW.org Project
10+ *
11+ *
12+ * Permission is hereby granted, free of charge, to any person obtaining a
13+ * copy of this software and associated documentation files (the "Software"),
14+ * to deal in the Software without restriction, including without limitation
15+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16+ * and/or sell copies of the Software, and to permit persons to whom the
17+ * Software is furnished to do so, subject to the following conditions:
18+ *
19+ * The above copyright notice and this permission notice (including the next
20+ * paragraph) shall be included in all copies or substantial portions of the
21+ * Software.
22+ *
23+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29+ * DEALINGS IN THE SOFTWARE.
30+ *
31+ */
132 #ifndef _WINNETWK_H
2-#define _WINNETWK_H
3-#if __GNUC__ >=3
433 #pragma GCC system_header
5-#endif
6-
7-#ifdef __cplusplus
8-extern "C" {
9-#endif
10-#define WNNC_NET_MSNET 0x00010000
11-#define WNNC_NET_LANMAN 0x00020000
12-#define WNNC_NET_NETWARE 0x00030000
13-#define WNNC_NET_VINES 0x00040000
14-#define WNNC_NET_10NET 0x00050000
15-#define WNNC_NET_LOCUS 0x00060000
16-#define WNNC_NET_SUN_PC_NFS 0x00070000
17-#define WNNC_NET_LANSTEP 0x00080000
18-#define WNNC_NET_9TILES 0x00090000
19-#define WNNC_NET_LANTASTIC 0x000A0000
20-#define WNNC_NET_AS400 0x000B0000
21-#define WNNC_NET_FTP_NFS 0x000C0000
22-#define WNNC_NET_PATHWORKS 0x000D0000
23-#define WNNC_NET_LIFENET 0x000E0000
24-#define WNNC_NET_POWERLAN 0x000F0000
25-#define WNNC_NET_BWNFS 0x00100000
26-#define WNNC_NET_COGENT 0x00110000
27-#define WNNC_NET_FARALLON 0x00120000
28-#define WNNC_NET_APPLETALK 0x00130000
29-#define WNNC_NET_INTERGRAPH 0x00140000
30-#define WNNC_NET_SYMFONET 0x00150000
31-#define WNNC_NET_CLEARCASE 0x00160000
32-#define WNNC_NET_FRONTIER 0x00170000
33-#define WNNC_NET_BMC 0x00180000
34-#define WNNC_NET_DCE 0x00190000
35-#define WNNC_NET_AVID 0x001A0000
36-#define WNNC_NET_DOCUSPACE 0x001B0000
37-#define WNNC_NET_MANGOSOFT 0x001C0000
38-#define WNNC_NET_SERNET 0x001D0000
39-#define WNNC_NET_DECORB 0x00200000
40-#define WNNC_NET_PROTSTOR 0x00210000
41-#define WNNC_NET_FJ_REDIR 0x00220000
42-#define WNNC_NET_DISTINCT 0x00230000
43-#define WNNC_NET_TWINS 0x00240000
44-#define WNNC_NET_RDR2SAMPLE 0x00250000
45-#define WNNC_NET_CSC 0x00260000
46-#define WNNC_NET_3IN1 0x00270000
47-#define WNNC_NET_EXTENDNET 0x00290000
48-#define WNNC_NET_OBJECT_DIRE 0x00300000
49-#define WNNC_NET_MASFAX 0x00310000
50-#define WNNC_NET_HOB_NFS 0x00320000
51-#define WNNC_NET_SHIVA 0x00330000
52-#define WNNC_NET_IBMAL 0x00340000
53-#define WNNC_CRED_MANAGER 0xFFFF0000
54-
55-#define RESOURCE_CONNECTED 1
56-#define RESOURCE_GLOBALNET 2
57-#define RESOURCE_REMEMBERED 3
58-#define RESOURCE_RECENT 4
59-#define RESOURCE_CONTEXT 5
60-#define RESOURCETYPE_ANY 0
61-#define RESOURCETYPE_DISK 1
62-#define RESOURCETYPE_PRINT 2
63-#define RESOURCETYPE_RESERVED 8
64-#define RESOURCETYPE_UNKNOWN 0xFFFFFFFF
65-#define RESOURCEUSAGE_CONNECTABLE 0x00000001
66-#define RESOURCEUSAGE_CONTAINER 0x00000002
67-#define RESOURCEUSAGE_NOLOCALDEVICE 0x00000004
68-#define RESOURCEUSAGE_SIBLING 0x00000008
69-#define RESOURCEUSAGE_ATTACHED 0x00000010
70-#define RESOURCEUSAGE_ALL (RESOURCEUSAGE_CONNECTABLE | RESOURCEUSAGE_CONTAINER | RESOURCEUSAGE_ATTACHED)
71-#define RESOURCEUSAGE_RESERVED 0x80000000
72-#define RESOURCEDISPLAYTYPE_GENERIC 0
73-#define RESOURCEDISPLAYTYPE_DOMAIN 1
74-#define RESOURCEDISPLAYTYPE_SERVER 2
75-#define RESOURCEDISPLAYTYPE_SHARE 3
76-#define RESOURCEDISPLAYTYPE_FILE 4
77-#define RESOURCEDISPLAYTYPE_GROUP 5
78-#define RESOURCEDISPLAYTYPE_NETWORK 6
79-#define RESOURCEDISPLAYTYPE_ROOT 7
80-#define RESOURCEDISPLAYTYPE_SHAREADMIN 8
81-#define RESOURCEDISPLAYTYPE_DIRECTORY 9
82-#define RESOURCEDISPLAYTYPE_TREE 10
83-#define NETPROPERTY_PERSISTENT 1
84-#define CONNECT_UPDATE_PROFILE 1
85-#define CONNECT_UPDATE_RECENT 2
86-#define CONNECT_TEMPORARY 4
87-#define CONNECT_INTERACTIVE 8
88-#define CONNECT_PROMPT 16
89-#define CONNECT_NEED_DRIVE 32
90-#define CONNECT_REFCOUNT 64
91-#define CONNECT_REDIRECT 128
92-#define CONNECT_LOCALDRIVE 256
93-#define CONNECT_CURRENT_MEDIA 512
94-#define CONNDLG_RO_PATH 1
95-#define CONNDLG_CONN_POINT 2
96-#define CONNDLG_USE_MRU 4
97-#define CONNDLG_HIDE_BOX 8
98-#define CONNDLG_PERSIST 16
99-#define CONNDLG_NOT_PERSIST 32
100-#define DISC_UPDATE_PROFILE 1
101-#define DISC_NO_FORCE 64
102-#define WNFMT_MULTILINE 1
103-#define WNFMT_ABBREVIATED 2
104-#define WNFMT_INENUM 16
105-#define WNFMT_CONNECTION 32
106-#define WN_SUCCESS NO_ERROR
107-#define WN_NO_ERROR NO_ERROR
108-#define WN_NOT_SUPPORTED ERROR_NOT_SUPPORTED
109-#define WN_CANCEL ERROR_CANCELLED
110-#define WN_RETRY ERROR_RETRY
111-#define WN_NET_ERROR ERROR_UNEXP_NET_ERR
112-#define WN_MORE_DATA ERROR_MORE_DATA
113-#define WN_BAD_POINTER ERROR_INVALID_ADDRESS
114-#define WN_BAD_VALUE ERROR_INVALID_PARAMETER
115-#define WN_BAD_USER ERROR_BAD_USERNAME
116-#define WN_BAD_PASSWORD ERROR_INVALID_PASSWORD
117-#define WN_ACCESS_DENIED ERROR_ACCESS_DENIED
118-#define WN_FUNCTION_BUSY ERROR_BUSY
119-#define WN_WINDOWS_ERROR ERROR_UNEXP_NET_ERR
120-#define WN_OUT_OF_MEMORY ERROR_NOT_ENOUGH_MEMORY
121-#define WN_NO_NETWORK ERROR_NO_NETWORK
122-#define WN_EXTENDED_ERROR ERROR_EXTENDED_ERROR
123-#define WN_BAD_LEVEL ERROR_INVALID_LEVEL
124-#define WN_BAD_HANDLE ERROR_INVALID_HANDLE
125-#define WN_NOT_INITIALIZING ERROR_ALREADY_INITIALIZED
126-#define WN_NO_MORE_DEVICES ERROR_NO_MORE_DEVICES
127-#define WN_NOT_CONNECTED ERROR_NOT_CONNECTED
128-#define WN_OPEN_FILES ERROR_OPEN_FILES
129-#define WN_DEVICE_IN_USE ERROR_DEVICE_IN_USE
130-#define WN_BAD_NETNAME ERROR_BAD_NET_NAME
131-#define WN_BAD_LOCALNAME ERROR_BAD_DEVICE
132-#define WN_ALREADY_CONNECTED ERROR_ALREADY_ASSIGNED
133-#define WN_DEVICE_ERROR ERROR_GEN_FAILURE
134-#define WN_CONNECTION_CLOSED ERROR_CONNECTION_UNAVAIL
135-#define WN_NO_NET_OR_BAD_PATH ERROR_NO_NET_OR_BAD_PATH
136-#define WN_BAD_PROVIDER ERROR_BAD_PROVIDER
137-#define WN_CANNOT_OPEN_PROFILE ERROR_CANNOT_OPEN_PROFILE
138-#define WN_BAD_PROFILE ERROR_BAD_PROFILE
139-#define WN_BAD_DEV_TYPE ERROR_BAD_DEV_TYPE
140-#define WN_DEVICE_ALREADY_REMEMBERED ERROR_DEVICE_ALREADY_REMEMBERED
141-#define WN_NO_MORE_ENTRIES ERROR_NO_MORE_ITEMS
142-#define WN_NOT_CONTAINER ERROR_NOT_CONTAINER
143-#define WN_NOT_AUTHENTICATED ERROR_NOT_AUTHENTICATED
144-#define WN_NOT_LOGGED_ON ERROR_NOT_LOGGED_ON
145-#define WN_NOT_VALIDATED ERROR_NO_LOGON_SERVERS
146-#define UNIVERSAL_NAME_INFO_LEVEL 1
147-#define REMOTE_NAME_INFO_LEVEL 2
148-#define NETINFO_DLL16 1
149-#define NETINFO_DISKRED 4
150-#define NETINFO_PRINTERRED 8
151-#define RP_LOGON 1
152-#define RP_INIFILE 2
153-#define PP_DISPLAYERRORS 1
154-#define WNCON_FORNETCARD 1
155-#define WNCON_NOTROUTED 2
156-#define WNCON_SLOWLINK 4
157-#define WNCON_DYNAMIC 8
34+#define _WINNETWK_H
35+
36+/* <winnetwk.h> is NOT a free-standing header; it requires definitions
37+ * from <windef.h>, to make it effectively self-contained.
38+ */
39+#include <windef.h>
40+
41+_BEGIN_C_DECLS
42+
43+#define WNNC_NET_MSNET 0x00010000
44+#define WNNC_NET_LANMAN 0x00020000
45+#define WNNC_NET_NETWARE 0x00030000
46+#define WNNC_NET_VINES 0x00040000
47+#define WNNC_NET_10NET 0x00050000
48+#define WNNC_NET_LOCUS 0x00060000
49+#define WNNC_NET_SUN_PC_NFS 0x00070000
50+#define WNNC_NET_LANSTEP 0x00080000
51+#define WNNC_NET_9TILES 0x00090000
52+#define WNNC_NET_LANTASTIC 0x000A0000
53+#define WNNC_NET_AS400 0x000B0000
54+#define WNNC_NET_FTP_NFS 0x000C0000
55+#define WNNC_NET_PATHWORKS 0x000D0000
56+#define WNNC_NET_LIFENET 0x000E0000
57+#define WNNC_NET_POWERLAN 0x000F0000
58+#define WNNC_NET_BWNFS 0x00100000
59+#define WNNC_NET_COGENT 0x00110000
60+#define WNNC_NET_FARALLON 0x00120000
61+#define WNNC_NET_APPLETALK 0x00130000
62+#define WNNC_NET_INTERGRAPH 0x00140000
63+#define WNNC_NET_SYMFONET 0x00150000
64+#define WNNC_NET_CLEARCASE 0x00160000
65+#define WNNC_NET_FRONTIER 0x00170000
66+#define WNNC_NET_BMC 0x00180000
67+#define WNNC_NET_DCE 0x00190000
68+#define WNNC_NET_AVID 0x001A0000
69+#define WNNC_NET_DOCUSPACE 0x001B0000
70+#define WNNC_NET_MANGOSOFT 0x001C0000
71+#define WNNC_NET_SERNET 0x001D0000
72+#define WNNC_NET_DECORB 0x00200000
73+#define WNNC_NET_PROTSTOR 0x00210000
74+#define WNNC_NET_FJ_REDIR 0x00220000
75+#define WNNC_NET_DISTINCT 0x00230000
76+#define WNNC_NET_TWINS 0x00240000
77+#define WNNC_NET_RDR2SAMPLE 0x00250000
78+#define WNNC_NET_CSC 0x00260000
79+#define WNNC_NET_3IN1 0x00270000
80+#define WNNC_NET_EXTENDNET 0x00290000
81+#define WNNC_NET_OBJECT_DIRE 0x00300000
82+#define WNNC_NET_MASFAX 0x00310000
83+#define WNNC_NET_HOB_NFS 0x00320000
84+#define WNNC_NET_SHIVA 0x00330000
85+#define WNNC_NET_IBMAL 0x00340000
86+#define WNNC_CRED_MANAGER 0xFFFF0000
87+
88+#define RESOURCE_CONNECTED 1
89+#define RESOURCE_GLOBALNET 2
90+#define RESOURCE_REMEMBERED 3
91+#define RESOURCE_RECENT 4
92+#define RESOURCE_CONTEXT 5
93+#define RESOURCETYPE_ANY 0
94+#define RESOURCETYPE_DISK 1
95+#define RESOURCETYPE_PRINT 2
96+#define RESOURCETYPE_RESERVED 8
97+#define RESOURCETYPE_UNKNOWN 0xFFFFFFFF
98+#define RESOURCEUSAGE_CONNECTABLE 0x00000001
99+#define RESOURCEUSAGE_CONTAINER 0x00000002
100+#define RESOURCEUSAGE_NOLOCALDEVICE 0x00000004
101+#define RESOURCEUSAGE_SIBLING 0x00000008
102+#define RESOURCEUSAGE_ATTACHED 0x00000010
103+
104+#define RESOURCEUSAGE_ALL \
105+ (RESOURCEUSAGE_CONNECTABLE \
106+ | RESOURCEUSAGE_CONTAINER \
107+ | RESOURCEUSAGE_ATTACHED \
108+ )
109+
110+#define RESOURCEUSAGE_RESERVED 0x80000000
111+#define RESOURCEDISPLAYTYPE_GENERIC 0
112+#define RESOURCEDISPLAYTYPE_DOMAIN 1
113+#define RESOURCEDISPLAYTYPE_SERVER 2
114+#define RESOURCEDISPLAYTYPE_SHARE 3
115+#define RESOURCEDISPLAYTYPE_FILE 4
116+#define RESOURCEDISPLAYTYPE_GROUP 5
117+#define RESOURCEDISPLAYTYPE_NETWORK 6
118+#define RESOURCEDISPLAYTYPE_ROOT 7
119+#define RESOURCEDISPLAYTYPE_SHAREADMIN 8
120+#define RESOURCEDISPLAYTYPE_DIRECTORY 9
121+#define RESOURCEDISPLAYTYPE_TREE 10
122+#define NETPROPERTY_PERSISTENT 1
123+#define CONNECT_UPDATE_PROFILE 1
124+#define CONNECT_UPDATE_RECENT 2
125+#define CONNECT_TEMPORARY 4
126+#define CONNECT_INTERACTIVE 8
127+#define CONNECT_PROMPT 16
128+#define CONNECT_NEED_DRIVE 32
129+#define CONNECT_REFCOUNT 64
130+#define CONNECT_REDIRECT 128
131+#define CONNECT_LOCALDRIVE 256
132+#define CONNECT_CURRENT_MEDIA 512
133+#define CONNDLG_RO_PATH 1
134+#define CONNDLG_CONN_POINT 2
135+#define CONNDLG_USE_MRU 4
136+#define CONNDLG_HIDE_BOX 8
137+#define CONNDLG_PERSIST 16
138+#define CONNDLG_NOT_PERSIST 32
139+#define DISC_UPDATE_PROFILE 1
140+#define DISC_NO_FORCE 64
141+#define WNFMT_MULTILINE 1
142+#define WNFMT_ABBREVIATED 2
143+#define WNFMT_INENUM 16
144+#define WNFMT_CONNECTION 32
145+
146+#define WN_SUCCESS NO_ERROR
147+#define WN_NO_ERROR NO_ERROR
148+#define WN_NOT_SUPPORTED ERROR_NOT_SUPPORTED
149+#define WN_CANCEL ERROR_CANCELLED
150+#define WN_RETRY ERROR_RETRY
151+#define WN_NET_ERROR ERROR_UNEXP_NET_ERR
152+#define WN_MORE_DATA ERROR_MORE_DATA
153+#define WN_BAD_POINTER ERROR_INVALID_ADDRESS
154+#define WN_BAD_VALUE ERROR_INVALID_PARAMETER
155+#define WN_BAD_USER ERROR_BAD_USERNAME
156+#define WN_BAD_PASSWORD ERROR_INVALID_PASSWORD
157+#define WN_ACCESS_DENIED ERROR_ACCESS_DENIED
158+#define WN_FUNCTION_BUSY ERROR_BUSY
159+#define WN_WINDOWS_ERROR ERROR_UNEXP_NET_ERR
160+#define WN_OUT_OF_MEMORY ERROR_NOT_ENOUGH_MEMORY
161+#define WN_NO_NETWORK ERROR_NO_NETWORK
162+#define WN_EXTENDED_ERROR ERROR_EXTENDED_ERROR
163+#define WN_BAD_LEVEL ERROR_INVALID_LEVEL
164+#define WN_BAD_HANDLE ERROR_INVALID_HANDLE
165+#define WN_NOT_INITIALIZING ERROR_ALREADY_INITIALIZED
166+#define WN_NO_MORE_DEVICES ERROR_NO_MORE_DEVICES
167+#define WN_NOT_CONNECTED ERROR_NOT_CONNECTED
168+#define WN_OPEN_FILES ERROR_OPEN_FILES
169+#define WN_DEVICE_IN_USE ERROR_DEVICE_IN_USE
170+#define WN_BAD_NETNAME ERROR_BAD_NET_NAME
171+#define WN_BAD_LOCALNAME ERROR_BAD_DEVICE
172+#define WN_ALREADY_CONNECTED ERROR_ALREADY_ASSIGNED
173+#define WN_DEVICE_ERROR ERROR_GEN_FAILURE
174+#define WN_CONNECTION_CLOSED ERROR_CONNECTION_UNAVAIL
175+#define WN_NO_NET_OR_BAD_PATH ERROR_NO_NET_OR_BAD_PATH
176+#define WN_BAD_PROVIDER ERROR_BAD_PROVIDER
177+#define WN_CANNOT_OPEN_PROFILE ERROR_CANNOT_OPEN_PROFILE
178+#define WN_BAD_PROFILE ERROR_BAD_PROFILE
179+#define WN_BAD_DEV_TYPE ERROR_BAD_DEV_TYPE
180+#define WN_DEVICE_ALREADY_REMEMBERED ERROR_DEVICE_ALREADY_REMEMBERED
181+#define WN_NO_MORE_ENTRIES ERROR_NO_MORE_ITEMS
182+#define WN_NOT_CONTAINER ERROR_NOT_CONTAINER
183+#define WN_NOT_AUTHENTICATED ERROR_NOT_AUTHENTICATED
184+#define WN_NOT_LOGGED_ON ERROR_NOT_LOGGED_ON
185+#define WN_NOT_VALIDATED ERROR_NO_LOGON_SERVERS
186+
187+#define UNIVERSAL_NAME_INFO_LEVEL 1
188+#define REMOTE_NAME_INFO_LEVEL 2
189+#define NETINFO_DLL16 1
190+#define NETINFO_DISKRED 4
191+#define NETINFO_PRINTERRED 8
192+#define RP_LOGON 1
193+#define RP_INIFILE 2
194+#define PP_DISPLAYERRORS 1
195+#define WNCON_FORNETCARD 1
196+#define WNCON_NOTROUTED 2
197+#define WNCON_SLOWLINK 4
198+#define WNCON_DYNAMIC 8
158199
159200 #ifndef RC_INVOKED
160-typedef struct _NETRESOURCEA {
161- DWORD dwScope;
162- DWORD dwType;
163- DWORD dwDisplayType;
164- DWORD dwUsage;
165- LPSTR lpLocalName;
166- LPSTR lpRemoteName;
167- LPSTR lpComment ;
168- LPSTR lpProvider;
169-}NETRESOURCEA,*LPNETRESOURCEA;
170-typedef struct _NETRESOURCEW {
171- DWORD dwScope;
172- DWORD dwType;
173- DWORD dwDisplayType;
174- DWORD dwUsage;
175- LPWSTR lpLocalName;
176- LPWSTR lpRemoteName;
177- LPWSTR lpComment ;
178- LPWSTR lpProvider;
179-}NETRESOURCEW,*LPNETRESOURCEW;
180-typedef struct _CONNECTDLGSTRUCTA{
181- DWORD cbStructure;
182- HWND hwndOwner;
183- LPNETRESOURCEA lpConnRes;
184- DWORD dwFlags;
185- DWORD dwDevNum;
186-} CONNECTDLGSTRUCTA,*LPCONNECTDLGSTRUCTA;
187-typedef struct _CONNECTDLGSTRUCTW{
188- DWORD cbStructure;
189- HWND hwndOwner;
190- LPNETRESOURCEW lpConnRes;
191- DWORD dwFlags;
192- DWORD dwDevNum;
193-} CONNECTDLGSTRUCTW,*LPCONNECTDLGSTRUCTW;
194-typedef struct _DISCDLGSTRUCTA{
195- DWORD cbStructure;
196- HWND hwndOwner;
197- LPSTR lpLocalName;
198- LPSTR lpRemoteName;
199- DWORD dwFlags;
200-} DISCDLGSTRUCTA,*LPDISCDLGSTRUCTA;
201-typedef struct _DISCDLGSTRUCTW{
202- DWORD cbStructure;
203- HWND hwndOwner;
204- LPWSTR lpLocalName;
205- LPWSTR lpRemoteName;
206- DWORD dwFlags;
207-} DISCDLGSTRUCTW,*LPDISCDLGSTRUCTW;
208-typedef struct _UNIVERSAL_NAME_INFOA { LPSTR lpUniversalName; }UNIVERSAL_NAME_INFOA,*LPUNIVERSAL_NAME_INFOA;
209-typedef struct _UNIVERSAL_NAME_INFOW { LPWSTR lpUniversalName; }UNIVERSAL_NAME_INFOW,*LPUNIVERSAL_NAME_INFOW;
210-typedef struct _REMOTE_NAME_INFOA {
211- LPSTR lpUniversalName;
212- LPSTR lpConnectionName;
213- LPSTR lpRemainingPath;
214-}REMOTE_NAME_INFOA,*LPREMOTE_NAME_INFOA;
215-typedef struct _REMOTE_NAME_INFOW {
216- LPWSTR lpUniversalName;
217- LPWSTR lpConnectionName;
218- LPWSTR lpRemainingPath;
219-}REMOTE_NAME_INFOW,*LPREMOTE_NAME_INFOW;
220-typedef struct _NETINFOSTRUCT{
221- DWORD cbStructure;
222- DWORD dwProviderVersion;
223- DWORD dwStatus;
224- DWORD dwCharacteristics;
225- DWORD dwHandle;
226- WORD wNetType;
227- DWORD dwPrinters;
228- DWORD dwDrives;
229-} NETINFOSTRUCT,*LPNETINFOSTRUCT;
230-typedef UINT(PASCAL *PFNGETPROFILEPATHA)(LPCSTR,LPSTR,UINT);
231-typedef UINT(PASCAL *PFNGETPROFILEPATHW)(LPCWSTR,LPWSTR,UINT);
232-typedef UINT(PASCAL *PFNRECONCILEPROFILEA)(LPCSTR,LPCSTR,DWORD);
233-typedef UINT(PASCAL *PFNRECONCILEPROFILEW)(LPCWSTR,LPCWSTR,DWORD);
234-typedef BOOL(PASCAL *PFNPROCESSPOLICIESA)(HWND,LPCSTR,LPCSTR,LPCSTR,DWORD);
235-typedef BOOL(PASCAL *PFNPROCESSPOLICIESW)(HWND,LPCWSTR,LPCWSTR,LPCWSTR,DWORD);
236-typedef struct _NETCONNECTINFOSTRUCT{
237- DWORD cbStructure;
238- DWORD dwFlags;
239- DWORD dwSpeed;
240- DWORD dwDelay;
241- DWORD dwOptDataSize;
201+
202+typedef
203+struct _NETRESOURCEA
204+{ DWORD dwScope;
205+ DWORD dwType;
206+ DWORD dwDisplayType;
207+ DWORD dwUsage;
208+ LPSTR lpLocalName;
209+ LPSTR lpRemoteName;
210+ LPSTR lpComment ;
211+ LPSTR lpProvider;
212+} NETRESOURCEA, *LPNETRESOURCEA;
213+
214+typedef
215+struct _NETRESOURCEW
216+{ DWORD dwScope;
217+ DWORD dwType;
218+ DWORD dwDisplayType;
219+ DWORD dwUsage;
220+ LPWSTR lpLocalName;
221+ LPWSTR lpRemoteName;
222+ LPWSTR lpComment ;
223+ LPWSTR lpProvider;
224+} NETRESOURCEW, *LPNETRESOURCEW;
225+
226+typedef __AW_ALIAS__(NETRESOURCE), *LPNETRESOURCE;
227+
228+typedef
229+struct _CONNECTDLGSTRUCTA
230+{ DWORD cbStructure;
231+ HWND hwndOwner;
232+ LPNETRESOURCEA lpConnRes;
233+ DWORD dwFlags;
234+ DWORD dwDevNum;
235+} CONNECTDLGSTRUCTA, *LPCONNECTDLGSTRUCTA;
236+
237+typedef
238+struct _CONNECTDLGSTRUCTW
239+{ DWORD cbStructure;
240+ HWND hwndOwner;
241+ LPNETRESOURCEW lpConnRes;
242+ DWORD dwFlags;
243+ DWORD dwDevNum;
244+} CONNECTDLGSTRUCTW, *LPCONNECTDLGSTRUCTW;
245+
246+typedef __AW_ALIAS__(CONNECTDLGSTRUCT), *LPCONNECTDLGSTRUCT;
247+
248+typedef
249+struct _DISCDLGSTRUCTA
250+{ DWORD cbStructure;
251+ HWND hwndOwner;
252+ LPSTR lpLocalName;
253+ LPSTR lpRemoteName;
254+ DWORD dwFlags;
255+} DISCDLGSTRUCTA, *LPDISCDLGSTRUCTA;
256+
257+typedef
258+struct _DISCDLGSTRUCTW
259+{ DWORD cbStructure;
260+ HWND hwndOwner;
261+ LPWSTR lpLocalName;
262+ LPWSTR lpRemoteName;
263+ DWORD dwFlags;
264+} DISCDLGSTRUCTW, *LPDISCDLGSTRUCTW;
265+
266+typedef __AW_ALIAS__(DISCDLGSTRUCT), *LPDISCDLGSTRUCT;
267+
268+typedef
269+struct _UNIVERSAL_NAME_INFOA
270+{ LPSTR lpUniversalName;
271+} UNIVERSAL_NAME_INFOA, *LPUNIVERSAL_NAME_INFOA;
272+
273+typedef
274+struct _UNIVERSAL_NAME_INFOW
275+{ LPWSTR lpUniversalName;
276+} UNIVERSAL_NAME_INFOW, *LPUNIVERSAL_NAME_INFOW;
277+
278+typedef __AW_ALIAS__(UNIVERSAL_NAME_INFO), *LPUNIVERSAL_NAME_INFO;
279+
280+typedef
281+struct _REMOTE_NAME_INFOA
282+{ LPSTR lpUniversalName;
283+ LPSTR lpConnectionName;
284+ LPSTR lpRemainingPath;
285+} REMOTE_NAME_INFOA, *LPREMOTE_NAME_INFOA;
286+
287+typedef
288+struct _REMOTE_NAME_INFOW
289+{ LPWSTR lpUniversalName;
290+ LPWSTR lpConnectionName;
291+ LPWSTR lpRemainingPath;
292+} REMOTE_NAME_INFOW, *LPREMOTE_NAME_INFOW;
293+
294+typedef __AW_ALIAS__(REMOTE_NAME_INFO), *LPREMOTE_NAME_INFO;
295+
296+typedef
297+struct _NETINFOSTRUCT
298+{ DWORD cbStructure;
299+ DWORD dwProviderVersion;
300+ DWORD dwStatus;
301+ DWORD dwCharacteristics;
302+ DWORD dwHandle;
303+ WORD wNetType;
304+ DWORD dwPrinters;
305+ DWORD dwDrives;
306+} NETINFOSTRUCT, *LPNETINFOSTRUCT;
307+
308+#define PFNGETPROFILEPATH __AW_SUFFIXED__(PFNGETPROFILEPATH)
309+typedef UINT (PASCAL *PFNGETPROFILEPATHA)(LPCSTR, LPSTR, UINT);
310+typedef UINT (PASCAL *PFNGETPROFILEPATHW)(LPCWSTR, LPWSTR, UINT);
311+
312+#define PFNRECONCILEPROFILE __AW_SUFFIXED__(PFNRECONCILEPROFILE)
313+typedef UINT (PASCAL *PFNRECONCILEPROFILEA)(LPCSTR, LPCSTR, DWORD);
314+typedef UINT (PASCAL *PFNRECONCILEPROFILEW)(LPCWSTR,LPCWSTR, DWORD);
315+
316+#define PFNPROCESSPOLICIES __AW_SUFFIXED__(PFNPROCESSPOLICIES)
317+typedef BOOL (PASCAL *PFNPROCESSPOLICIESA)(HWND, LPCSTR, LPCSTR, LPCSTR, DWORD);
318+typedef BOOL (PASCAL *PFNPROCESSPOLICIESW)(HWND, LPCWSTR, LPCWSTR, LPCWSTR, DWORD);
319+
320+typedef
321+struct _NETCONNECTINFOSTRUCT
322+{ DWORD cbStructure;
323+ DWORD dwFlags;
324+ DWORD dwSpeed;
325+ DWORD dwDelay;
326+ DWORD dwOptDataSize;
242327 } NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT;
243328
244-DWORD APIENTRY WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR);
245-DWORD APIENTRY WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR);
246-DWORD APIENTRY WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
247-DWORD APIENTRY WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
248-DWORD APIENTRY WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
249-DWORD APIENTRY WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
250-DWORD APIENTRY WNetCancelConnectionA(LPCSTR,BOOL);
251-DWORD APIENTRY WNetCancelConnectionW(LPCWSTR,BOOL);
252-DWORD APIENTRY WNetCancelConnection2A(LPCSTR,DWORD,BOOL);
253-DWORD APIENTRY WNetCancelConnection2W(LPCWSTR,DWORD,BOOL);
254-DWORD APIENTRY WNetGetConnectionA(LPCSTR,LPSTR,PDWORD);
255-DWORD APIENTRY WNetGetConnectionW(LPCWSTR,LPWSTR,PDWORD);
256-DWORD APIENTRY WNetUseConnectionA(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD,LPSTR,PDWORD,PDWORD);
257-DWORD APIENTRY WNetUseConnectionW(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD,LPWSTR,PDWORD,PDWORD);
258-DWORD APIENTRY WNetSetConnectionA(LPCSTR,DWORD,PVOID);
259-DWORD APIENTRY WNetSetConnectionW(LPCWSTR,DWORD,PVOID);
260-DWORD APIENTRY WNetConnectionDialog(HWND,DWORD);
261-DWORD APIENTRY WNetDisconnectDialog(HWND,DWORD);
262-DWORD APIENTRY WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA);
263-DWORD APIENTRY WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW);
264-DWORD APIENTRY WNetDisconnectDialog1A(LPDISCDLGSTRUCTA);
265-DWORD APIENTRY WNetDisconnectDialog1W(LPDISCDLGSTRUCTW);
266-DWORD APIENTRY WNetOpenEnumA(DWORD,DWORD,DWORD,LPNETRESOURCEA,LPHANDLE);
267-DWORD APIENTRY WNetOpenEnumW(DWORD,DWORD,DWORD,LPNETRESOURCEW,LPHANDLE);
268-DWORD APIENTRY WNetEnumResourceA(HANDLE,PDWORD,PVOID,PDWORD);
269-DWORD APIENTRY WNetEnumResourceW(HANDLE,PDWORD,PVOID,PDWORD);
270-DWORD APIENTRY WNetCloseEnum(HANDLE);
271-DWORD APIENTRY WNetGetUniversalNameA(LPCSTR,DWORD,PVOID,PDWORD);
272-DWORD APIENTRY WNetGetUniversalNameW(LPCWSTR,DWORD,PVOID,PDWORD);
273-DWORD APIENTRY WNetGetUserA(LPCSTR,LPSTR,PDWORD);
274-DWORD APIENTRY WNetGetUserW(LPCWSTR,LPWSTR,PDWORD);
275-DWORD APIENTRY WNetGetProviderNameA(DWORD,LPSTR,PDWORD);
276-DWORD APIENTRY WNetGetProviderNameW(DWORD,LPWSTR,PDWORD);
277-DWORD APIENTRY WNetGetNetworkInformationA(LPCSTR,LPNETINFOSTRUCT);
278-DWORD APIENTRY WNetGetNetworkInformationW(LPCWSTR,LPNETINFOSTRUCT);
279-DWORD APIENTRY WNetGetResourceInformationA(LPNETRESOURCEA,LPVOID,LPDWORD,LPSTR*);
280-DWORD APIENTRY WNetGetResourceInformationW(LPNETRESOURCEW,LPVOID,LPDWORD,LPWSTR*);
281-DWORD APIENTRY WNetGetResourceParentA(LPNETRESOURCEA,LPVOID,LPDWORD);
282-DWORD APIENTRY WNetGetResourceParentW(LPNETRESOURCEW,LPVOID,LPDWORD);
283-DWORD APIENTRY WNetGetLastErrorA(PDWORD,LPSTR,DWORD,LPSTR,DWORD);
284-DWORD APIENTRY WNetGetLastErrorW(PDWORD,LPWSTR,DWORD,LPWSTR,DWORD);
285-DWORD APIENTRY MultinetGetConnectionPerformanceA(LPNETRESOURCEA,LPNETCONNECTINFOSTRUCT);
286-DWORD APIENTRY MultinetGetConnectionPerformanceW(LPNETRESOURCEW,LPNETCONNECTINFOSTRUCT);
287-#ifdef UNICODE
288-#define PFNPROCESSPOLICIES PFNPROCESSPOLICIESW
289-#define PFNRECONCILEPROFILE PFNRECONCILEPROFILEW
290-#define PFNGETPROFILEPATH PFNGETPROFILEPATHW
291-typedef NETRESOURCEW NETRESOURCE,*LPNETRESOURCE;
292-typedef CONNECTDLGSTRUCTW CONNECTDLGSTRUCT,*LPCONNECTDLGSTRUCT;
293-typedef DISCDLGSTRUCTW DISCDLGSTRUCT,*LPDISCDLGSTRUCT;
294-typedef REMOTE_NAME_INFOW REMOTE_NAME_INFO,*LPREMOTE_NAME_INFO;
295-typedef UNIVERSAL_NAME_INFOW UNIVERSAL_NAME_INFO,*LPUNIVERSAL_NAME_INFO;
296-#define WNetEnumResource WNetEnumResourceW
297-#define WNetOpenEnum WNetOpenEnumW
298-#define WNetGetResourceInformation WNetGetResourceInformationW
299-#define WNetGetResourceParent WNetGetResourceParentW
300-#define WNetGetUniversalName WNetGetUniversalNameW
301-#define WNetSetConnection WNetSetConnectionW
302-#define WNetUseConnection WNetUseConnectionW
303-#define WNetGetConnection WNetGetConnectionW
304-#define WNetCancelConnection2 WNetCancelConnection2W
305-#define WNetCancelConnection WNetCancelConnectionW
306-#define WNetAddConnection3 WNetAddConnection3W
307-#define WNetAddConnection2 WNetAddConnection2W
308-#define WNetAddConnection WNetAddConnectionW
309-#define WNetConnectionDialog1 WNetConnectionDialog1W
310-#define WNetDisconnectDialog1 WNetDisconnectDialog1W
311-#define WNetGetNetworkInformation WNetGetNetworkInformationW
312-#define WNetGetProviderName WNetGetProviderNameW
313-#define WNetGetUser WNetGetUserW
314-#define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
315-#define WNetGetLastError WNetGetLastErrorW
316-#else
317-#define PFNGETPROFILEPATH PFNGETPROFILEPATHA
318-#define PFNRECONCILEPROFILE PFNRECONCILEPROFILEA
319-#define PFNPROCESSPOLICIES PFNPROCESSPOLICIESA
320-typedef NETRESOURCEA NETRESOURCE,*LPNETRESOURCE;
321-typedef CONNECTDLGSTRUCTA CONNECTDLGSTRUCT,*LPCONNECTDLGSTRUCT;
322-typedef DISCDLGSTRUCTA DISCDLGSTRUCT,*LPDISCDLGSTRUCT;
323-typedef UNIVERSAL_NAME_INFOA UNIVERSAL_NAME_INFO,*LPUNIVERSAL_NAME_INFO;
324-typedef REMOTE_NAME_INFOA REMOTE_NAME_INFO,*LPREMOTE_NAME_INFO;
325-#define WNetOpenEnum WNetOpenEnumA
326-#define WNetEnumResource WNetEnumResourceA
327-#define WNetGetResourceInformation WNetGetResourceInformationA
328-#define WNetGetResourceParent WNetGetResourceParentA
329-#define WNetGetUniversalName WNetGetUniversalNameA
330-#define WNetConnectionDialog1 WNetConnectionDialog1A
331-#define WNetDisconnectDialog1 WNetDisconnectDialog1A
332-#define WNetAddConnection2 WNetAddConnection2A
333-#define WNetAddConnection3 WNetAddConnection3A
334-#define WNetCancelConnection WNetCancelConnectionA
335-#define WNetCancelConnection2 WNetCancelConnection2A
336-#define WNetGetConnection WNetGetConnectionA
337-#define WNetUseConnection WNetUseConnectionA
338-#define WNetSetConnection WNetSetConnectionA
339-#define WNetAddConnection WNetAddConnectionA
340-#define WNetGetUser WNetGetUserA
341-#define WNetGetProviderName WNetGetProviderNameA
342-#define WNetGetNetworkInformation WNetGetNetworkInformationA
343-#define WNetGetLastError WNetGetLastErrorA
344-#define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
345-#endif
346-#endif
347-#ifdef __cplusplus
348-}
349-#endif
350-#endif
329+#define WNetAddConnection __AW_SUFFIXED__(WNetAddConnection)
330+DWORD APIENTRY WNetAddConnectionA (LPCSTR, LPCSTR, LPCSTR);
331+DWORD APIENTRY WNetAddConnectionW (LPCWSTR, LPCWSTR, LPCWSTR);
332+
333+#define WNetAddConnection2 __AW_SUFFIXED__(WNetAddConnection2)
334+DWORD APIENTRY WNetAddConnection2A (LPNETRESOURCEA, LPCSTR, LPCSTR, DWORD);
335+DWORD APIENTRY WNetAddConnection2W (LPNETRESOURCEW, LPCWSTR, LPCWSTR, DWORD);
336+
337+#define WNetAddConnection3 __AW_SUFFIXED__(WNetAddConnection3)
338+DWORD APIENTRY WNetAddConnection3A (HWND, LPNETRESOURCEA, LPCSTR, LPCSTR, DWORD);
339+DWORD APIENTRY WNetAddConnection3W (HWND, LPNETRESOURCEW, LPCWSTR, LPCWSTR, DWORD);
340+
341+#define WNetCancelConnection __AW_SUFFIXED__(WNetCancelConnection)
342+DWORD APIENTRY WNetCancelConnectionA (LPCSTR, BOOL);
343+DWORD APIENTRY WNetCancelConnectionW (LPCWSTR, BOOL);
344+
345+#define WNetCancelConnection2 __AW_SUFFIXED__(WNetCancelConnection2)
346+DWORD APIENTRY WNetCancelConnection2A (LPCSTR, DWORD, BOOL);
347+DWORD APIENTRY WNetCancelConnection2W (LPCWSTR, DWORD, BOOL);
348+
349+#define WNetGetConnection __AW_SUFFIXED__(WNetGetConnection)
350+DWORD APIENTRY WNetGetConnectionA (LPCSTR, LPSTR, PDWORD);
351+DWORD APIENTRY WNetGetConnectionW (LPCWSTR, LPWSTR, PDWORD);
352+
353+#define WNetUseConnection __AW_SUFFIXED__(WNetUseConnection)
354+DWORD APIENTRY WNetUseConnectionA (HWND, LPNETRESOURCEA, LPCSTR, LPCSTR, DWORD, LPSTR, PDWORD, PDWORD);
355+DWORD APIENTRY WNetUseConnectionW (HWND, LPNETRESOURCEW, LPCWSTR, LPCWSTR, DWORD, LPWSTR, PDWORD, PDWORD);
356+
357+#define WNetSetConnection __AW_SUFFIXED__(WNetSetConnection)
358+DWORD APIENTRY WNetSetConnectionA (LPCSTR, DWORD, PVOID);
359+DWORD APIENTRY WNetSetConnectionW (LPCWSTR, DWORD, PVOID);
360+
361+DWORD APIENTRY WNetConnectionDialog (HWND, DWORD);
362+DWORD APIENTRY WNetDisconnectDialog (HWND, DWORD);
363+
364+#define WNetConnectionDialog1 __AW_SUFFIXED__(WNetConnectionDialog1)
365+DWORD APIENTRY WNetConnectionDialog1A (LPCONNECTDLGSTRUCTA);
366+DWORD APIENTRY WNetConnectionDialog1W (LPCONNECTDLGSTRUCTW);
367+
368+#define WNetDisconnectDialog1 __AW_SUFFIXED__(WNetDisconnectDialog1)
369+DWORD APIENTRY WNetDisconnectDialog1A (LPDISCDLGSTRUCTA);
370+DWORD APIENTRY WNetDisconnectDialog1W (LPDISCDLGSTRUCTW);
371+
372+#define WNetOpenEnum __AW_SUFFIXED__(WNetOpenEnum)
373+DWORD APIENTRY WNetOpenEnumA (DWORD, DWORD, DWORD, LPNETRESOURCEA, LPHANDLE);
374+DWORD APIENTRY WNetOpenEnumW (DWORD, DWORD, DWORD, LPNETRESOURCEW, LPHANDLE);
375+
376+#define WNetEnumResource __AW_SUFFIXED__(WNetEnumResource)
377+DWORD APIENTRY WNetEnumResourceA (HANDLE, PDWORD, PVOID, PDWORD);
378+DWORD APIENTRY WNetEnumResourceW (HANDLE, PDWORD, PVOID, PDWORD);
379+
380+DWORD APIENTRY WNetCloseEnum (HANDLE);
381+
382+#define WNetGetUniversalName __AW_SUFFIXED__(WNetGetUniversalName)
383+DWORD APIENTRY WNetGetUniversalNameA (LPCSTR, DWORD, PVOID, PDWORD);
384+DWORD APIENTRY WNetGetUniversalNameW (LPCWSTR, DWORD, PVOID, PDWORD);
385+
386+#define WNetGetUser __AW_SUFFIXED__(WNetGetUser)
387+DWORD APIENTRY WNetGetUserA (LPCSTR, LPSTR, PDWORD);
388+DWORD APIENTRY WNetGetUserW (LPCWSTR, LPWSTR, PDWORD);
389+
390+#define WNetGetProviderName __AW_SUFFIXED__(WNetGetProviderName)
391+DWORD APIENTRY WNetGetProviderNameA (DWORD, LPSTR, PDWORD);
392+DWORD APIENTRY WNetGetProviderNameW (DWORD, LPWSTR, PDWORD);
393+
394+#define WNetGetNetworkInformation __AW_SUFFIXED__(WNetGetNetworkInformation)
395+DWORD APIENTRY WNetGetNetworkInformationA (LPCSTR, LPNETINFOSTRUCT);
396+DWORD APIENTRY WNetGetNetworkInformationW (LPCWSTR, LPNETINFOSTRUCT);
397+
398+#define WNetGetResourceInformation __AW_SUFFIXED__(WNetGetResourceInformation)
399+DWORD APIENTRY WNetGetResourceInformationA (LPNETRESOURCEA, LPVOID, LPDWORD, LPSTR *);
400+DWORD APIENTRY WNetGetResourceInformationW (LPNETRESOURCEW, LPVOID, LPDWORD, LPWSTR *);
401+
402+#define WNetGetResourceParent __AW_SUFFIXED__(WNetGetResourceParent)
403+DWORD APIENTRY WNetGetResourceParentA (LPNETRESOURCEA, LPVOID, LPDWORD);
404+DWORD APIENTRY WNetGetResourceParentW (LPNETRESOURCEW, LPVOID, LPDWORD);
405+
406+#define WNetGetLastError __AW_SUFFIXED__(WNetGetLastError)
407+DWORD APIENTRY WNetGetLastErrorA (PDWORD, LPSTR, DWORD, LPSTR, DWORD);
408+DWORD APIENTRY WNetGetLastErrorW (PDWORD, LPWSTR, DWORD, LPWSTR, DWORD);
409+
410+#define MultinetGetConnectionPerformance __AW_SUFFIXED__(MultinetGetConnectionPerformance)
411+DWORD APIENTRY MultinetGetConnectionPerformanceA (LPNETRESOURCEA, LPNETCONNECTINFOSTRUCT);
412+DWORD APIENTRY MultinetGetConnectionPerformanceW (LPNETRESOURCEW, LPNETCONNECTINFOSTRUCT);
413+
414+#endif/* ! RC_INVOKED */
415+
416+_END_C_DECLS
417+
418+#endif/* !_WINNETWK_H: $RCSfile$: end of file */