ReactOS 0.4.15-dev-8138-g1e75ea8
winnetwk.h
Go to the documentation of this file.
1#ifndef _WINNETWK_
2#define _WINNETWK_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#ifdef _MSC_VER
9#pragma warning(push)
10#pragma warning(disable:4820)
11#endif
12
13#define WNNC_NET_MSNET 0x00010000
14#define WNNC_NET_LANMAN 0x00020000
15#define WNNC_NET_NETWARE 0x00030000
16#define WNNC_NET_VINES 0x00040000
17#define WNNC_NET_10NET 0x00050000
18#define WNNC_NET_LOCUS 0x00060000
19#define WNNC_NET_SUN_PC_NFS 0x00070000
20#define WNNC_NET_LANSTEP 0x00080000
21#define WNNC_NET_9TILES 0x00090000
22#define WNNC_NET_LANTASTIC 0x000A0000
23#define WNNC_NET_AS400 0x000B0000
24#define WNNC_NET_FTP_NFS 0x000C0000
25#define WNNC_NET_PATHWORKS 0x000D0000
26#define WNNC_NET_LIFENET 0x000E0000
27#define WNNC_NET_POWERLAN 0x000F0000
28#define WNNC_NET_BWNFS 0x00100000
29#define WNNC_NET_COGENT 0x00110000
30#define WNNC_NET_FARALLON 0x00120000
31#define WNNC_NET_APPLETALK 0x00130000
32#define WNNC_NET_INTERGRAPH 0x00140000
33#define WNNC_NET_SYMFONET 0x00150000
34#define WNNC_NET_CLEARCASE 0x00160000
35#define WNNC_NET_FRONTIER 0x00170000
36#define WNNC_NET_BMC 0x00180000
37#define WNNC_NET_DCE 0x00190000
38#define WNNC_NET_AVID 0x001A0000
39#define WNNC_NET_DOCUSPACE 0x001B0000
40#define WNNC_NET_MANGOSOFT 0x001C0000
41#define WNNC_NET_SERNET 0x001D0000
42#define WNNC_NET_DECORB 0x00200000
43#define WNNC_NET_PROTSTOR 0x00210000
44#define WNNC_NET_FJ_REDIR 0x00220000
45#define WNNC_NET_DISTINCT 0x00230000
46#define WNNC_NET_TWINS 0x00240000
47#define WNNC_NET_RDR2SAMPLE 0x00250000
48#define WNNC_NET_CSC 0x00260000
49#define WNNC_NET_3IN1 0x00270000
50#define WNNC_NET_EXTENDNET 0x00290000
51#define WNNC_NET_OBJECT_DIRE 0x00300000
52#define WNNC_NET_MASFAX 0x00310000
53#define WNNC_NET_HOB_NFS 0x00320000
54#define WNNC_NET_SHIVA 0x00330000
55#define WNNC_NET_IBMAL 0x00340000
56#define WNNC_CRED_MANAGER 0xFFFF0000
57
58#define RESOURCE_CONNECTED 1
59#define RESOURCE_GLOBALNET 2
60#define RESOURCE_REMEMBERED 3
61#define RESOURCE_RECENT 4
62#define RESOURCE_CONTEXT 5
63#define RESOURCETYPE_ANY 0
64#define RESOURCETYPE_DISK 1
65#define RESOURCETYPE_PRINT 2
66#define RESOURCETYPE_RESERVED 8
67#define RESOURCETYPE_UNKNOWN 0xFFFFFFFF
68#define RESOURCEUSAGE_CONNECTABLE 0x00000001
69#define RESOURCEUSAGE_CONTAINER 0x00000002
70#define RESOURCEUSAGE_NOLOCALDEVICE 0x00000004
71#define RESOURCEUSAGE_SIBLING 0x00000008
72#define RESOURCEUSAGE_ATTACHED 0x00000010
73#define RESOURCEUSAGE_ALL (RESOURCEUSAGE_CONNECTABLE | RESOURCEUSAGE_CONTAINER | RESOURCEUSAGE_ATTACHED)
74#define RESOURCEUSAGE_RESERVED 0x80000000
75#define RESOURCEDISPLAYTYPE_GENERIC 0
76#define RESOURCEDISPLAYTYPE_DOMAIN 1
77#define RESOURCEDISPLAYTYPE_SERVER 2
78#define RESOURCEDISPLAYTYPE_SHARE 3
79#define RESOURCEDISPLAYTYPE_FILE 4
80#define RESOURCEDISPLAYTYPE_GROUP 5
81#define RESOURCEDISPLAYTYPE_NETWORK 6
82#define RESOURCEDISPLAYTYPE_ROOT 7
83#define RESOURCEDISPLAYTYPE_SHAREADMIN 8
84#define RESOURCEDISPLAYTYPE_DIRECTORY 9
85#define RESOURCEDISPLAYTYPE_TREE 10
86#define NETPROPERTY_PERSISTENT 1
87#define CONNECT_UPDATE_PROFILE 1
88#define CONNECT_UPDATE_RECENT 2
89#define CONNECT_TEMPORARY 4
90#define CONNECT_INTERACTIVE 8
91#define CONNECT_PROMPT 16
92#define CONNECT_NEED_DRIVE 32
93#define CONNECT_REFCOUNT 64
94#define CONNECT_REDIRECT 128
95#define CONNECT_LOCALDRIVE 256
96#define CONNECT_CURRENT_MEDIA 512
97#define CONNECT_COMMANDLINE 2048
98#define CONNECT_CMD_SAVECRED 4096
99#define CONNDLG_RO_PATH 1
100#define CONNDLG_CONN_POINT 2
101#define CONNDLG_USE_MRU 4
102#define CONNDLG_HIDE_BOX 8
103#define CONNDLG_PERSIST 16
104#define CONNDLG_NOT_PERSIST 32
105#define DISC_UPDATE_PROFILE 1
106#define DISC_NO_FORCE 64
107#define WNFMT_MULTILINE 1
108#define WNFMT_ABBREVIATED 2
109#define WNFMT_INENUM 16
110#define WNFMT_CONNECTION 32
111#define WN_SUCCESS NO_ERROR
112#define WN_NO_ERROR NO_ERROR
113#define WN_NOT_SUPPORTED ERROR_NOT_SUPPORTED
114#define WN_CANCEL ERROR_CANCELLED
115#define WN_RETRY ERROR_RETRY
116#define WN_NET_ERROR ERROR_UNEXP_NET_ERR
117#define WN_MORE_DATA ERROR_MORE_DATA
118#define WN_BAD_POINTER ERROR_INVALID_ADDRESS
119#define WN_BAD_VALUE ERROR_INVALID_PARAMETER
120#define WN_BAD_USER ERROR_BAD_USERNAME
121#define WN_BAD_PASSWORD ERROR_INVALID_PASSWORD
122#define WN_ACCESS_DENIED ERROR_ACCESS_DENIED
123#define WN_FUNCTION_BUSY ERROR_BUSY
124#define WN_WINDOWS_ERROR ERROR_UNEXP_NET_ERR
125#define WN_OUT_OF_MEMORY ERROR_NOT_ENOUGH_MEMORY
126#define WN_NO_NETWORK ERROR_NO_NETWORK
127#define WN_EXTENDED_ERROR ERROR_EXTENDED_ERROR
128#define WN_BAD_LEVEL ERROR_INVALID_LEVEL
129#define WN_BAD_HANDLE ERROR_INVALID_HANDLE
130#define WN_NOT_INITIALIZING ERROR_ALREADY_INITIALIZED
131#define WN_NO_MORE_DEVICES ERROR_NO_MORE_DEVICES
132#define WN_NOT_CONNECTED ERROR_NOT_CONNECTED
133#define WN_OPEN_FILES ERROR_OPEN_FILES
134#define WN_DEVICE_IN_USE ERROR_DEVICE_IN_USE
135#define WN_BAD_NETNAME ERROR_BAD_NET_NAME
136#define WN_BAD_LOCALNAME ERROR_BAD_DEVICE
137#define WN_ALREADY_CONNECTED ERROR_ALREADY_ASSIGNED
138#define WN_DEVICE_ERROR ERROR_GEN_FAILURE
139#define WN_CONNECTION_CLOSED ERROR_CONNECTION_UNAVAIL
140#define WN_NO_NET_OR_BAD_PATH ERROR_NO_NET_OR_BAD_PATH
141#define WN_BAD_PROVIDER ERROR_BAD_PROVIDER
142#define WN_CANNOT_OPEN_PROFILE ERROR_CANNOT_OPEN_PROFILE
143#define WN_BAD_PROFILE ERROR_BAD_PROFILE
144#define WN_BAD_DEV_TYPE ERROR_BAD_DEV_TYPE
145#define WN_DEVICE_ALREADY_REMEMBERED ERROR_DEVICE_ALREADY_REMEMBERED
146#define WN_NO_MORE_ENTRIES ERROR_NO_MORE_ITEMS
147#define WN_NOT_CONTAINER ERROR_NOT_CONTAINER
148#define WN_NOT_AUTHENTICATED ERROR_NOT_AUTHENTICATED
149#define WN_NOT_LOGGED_ON ERROR_NOT_LOGGED_ON
150#define WN_NOT_VALIDATED ERROR_NO_LOGON_SERVERS
151#define UNIVERSAL_NAME_INFO_LEVEL 1
152#define REMOTE_NAME_INFO_LEVEL 2
153#define NETINFO_DLL16 1
154#define NETINFO_DISKRED 4
155#define NETINFO_PRINTERRED 8
156#define RP_LOGON 1
157#define RP_INIFILE 2
158#define PP_DISPLAYERRORS 1
159#define WNCON_FORNETCARD 1
160#define WNCON_NOTROUTED 2
161#define WNCON_SLOWLINK 4
162#define WNCON_DYNAMIC 8
163
164#ifndef RC_INVOKED
165
166typedef struct _NETRESOURCEA {
176typedef struct _NETRESOURCEW {
186typedef struct _CONNECTDLGSTRUCTA{
193typedef struct _CONNECTDLGSTRUCTW{
200typedef struct _DISCDLGSTRUCTA{
207typedef struct _DISCDLGSTRUCTW{
216typedef struct _REMOTE_NAME_INFOA {
221typedef struct _REMOTE_NAME_INFOW {
226typedef struct _NETINFOSTRUCT{
249
251DWORD
254 _In_ LPCSTR,
257
259DWORD
265
267DWORD
273 _In_ DWORD);
274
276DWORD
282 _In_ DWORD);
283
285DWORD
292 _In_ DWORD);
293
295DWORD
302 _In_ DWORD);
303
306
308DWORD
311 _In_ LPCSTR,
312 _In_ DWORD,
313 _In_ BOOL);
314
316DWORD
320 _In_ DWORD,
321 _In_ BOOL);
322
324DWORD
327 _In_ LPCSTR lpLocalName,
328 _Out_writes_opt_(*lpnLength) LPSTR lpRemoteName,
329 _Inout_ LPDWORD lpnLength);
330
332DWORD
335 _In_ LPCWSTR lpLocalName,
336 _Out_writes_opt_(*lpnLength) LPWSTR lpRemoteName,
337 _Inout_ LPDWORD lpnLength);
338
340DWORD
343 _In_opt_ HWND hwndOwner,
344 _In_ LPNETRESOURCEA lpNetResource,
345 _In_opt_ LPCSTR lpPassword,
346 _In_opt_ LPCSTR lpUserId,
348 _Out_writes_opt_(*lpBufferSize) LPSTR lpAccessName,
349 _Inout_opt_ LPDWORD lpBufferSize,
350 _Out_opt_ LPDWORD lpResult);
351
353DWORD
356 _In_opt_ HWND hwndOwner,
357 _In_ LPNETRESOURCEW lpNetResource,
358 _In_opt_ LPCWSTR lpPassword,
359 _In_opt_ LPCWSTR lpUserId,
361 _Out_writes_opt_(*lpBufferSize) LPWSTR lpAccessName,
362 _Inout_opt_ LPDWORD lpBufferSize,
363 _Out_opt_ LPDWORD lpResult);
364
369
371DWORD
375
377DWORD
381
384
386DWORD
389 _In_ DWORD,
390 _In_ DWORD,
391 _In_ DWORD,
394
396DWORD
399 _In_ DWORD,
400 _In_ DWORD,
401 _In_ DWORD,
404
406DWORD
409 _In_ HANDLE hEnum,
410 _Inout_ LPDWORD lpcCount,
411 _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer,
412 _Inout_ LPDWORD lpBufferSize);
413
415DWORD
418 _In_ HANDLE hEnum,
419 _Inout_ LPDWORD lpcCount,
420 _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer,
421 _Inout_ LPDWORD lpBufferSize);
422
424
426DWORD
429 _In_ LPCSTR lpLocalPath,
431 _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer,
432 _Inout_ LPDWORD lpBufferSize);
433
435DWORD
438 _In_ LPCWSTR lpLocalPath,
440 _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer,
441 _Inout_ LPDWORD lpBufferSize);
442
444DWORD
448 _Out_writes_(*lpnLength) LPSTR lpUserName,
449 _Inout_ LPDWORD lpnLength);
450
452DWORD
456 _Out_writes_(*lpnLength) LPWSTR lpUserName,
457 _Inout_ LPDWORD lpnLength);
458
460DWORD
463 _In_ DWORD dwNetType,
464 _Out_writes_(*lpBufferSize) LPSTR lpProviderName,
465 _Inout_ LPDWORD lpBufferSize);
466
468DWORD
471 _In_ DWORD dwNetType,
472 _Out_writes_(*lpBufferSize) LPWSTR lpProviderName,
473 _Inout_ LPDWORD lpBufferSize);
474
476DWORD
479 _In_ LPCSTR,
481
483DWORD
488
490DWORD
493 _In_ LPNETRESOURCEA lpNetResource,
495 _Inout_ LPDWORD lpcbBuffer,
496 _Outptr_ LPSTR *lplpSystem);
497
499DWORD
502 _In_ LPNETRESOURCEW lpNetResource,
504 _Inout_ LPDWORD lpcbBuffer,
505 _Outptr_ LPWSTR *lplpSystem);
506
508DWORD
511 _Out_ LPDWORD lpError,
512 _Out_writes_(nErrorBufSize) LPSTR lpErrorBuf,
513 _In_ DWORD nErrorBufSize,
514 _Out_writes_(nNameBufSize) LPSTR lpNameBuf,
515 _In_ DWORD nNameBufSize);
516
518DWORD
521 _Out_ LPDWORD lpError,
522 _Out_writes_(nErrorBufSize) LPWSTR lpErrorBuf,
523 _In_ DWORD nErrorBufSize,
524 _Out_writes_(nNameBufSize) LPWSTR lpNameBuf,
525 _In_ DWORD nNameBufSize);
526
529
531DWORD
536
538DWORD
543
544#ifdef _WINE
545typedef struct tagPASSWORD_CACHE_ENTRY
546{
547 WORD cbEntry;
548 WORD cbResource;
549 WORD cbPassword;
550 BYTE iEntry;
551 BYTE nType;
552 BYTE abResource[1];
553} PASSWORD_CACHE_ENTRY;
554
555typedef BOOL (CALLBACK *ENUMPASSWORDPROC)(PASSWORD_CACHE_ENTRY *, DWORD);
559#endif
560
561#ifdef UNICODE
562#define PFNPROCESSPOLICIES PFNPROCESSPOLICIESW
563#define PFNRECONCILEPROFILE PFNRECONCILEPROFILEW
564#define PFNGETPROFILEPATH PFNGETPROFILEPATHW
570#define WNetEnumResource WNetEnumResourceW
571#define WNetOpenEnum WNetOpenEnumW
572#define WNetGetResourceInformation WNetGetResourceInformationW
573#define WNetGetUniversalName WNetGetUniversalNameW
574#define WNetSetConnection WNetSetConnectionW
575#define WNetUseConnection WNetUseConnectionW
576#define WNetGetConnection WNetGetConnectionW
577#define WNetCancelConnection2 WNetCancelConnection2W
578#define WNetCancelConnection WNetCancelConnectionW
579#define WNetAddConnection3 WNetAddConnection3W
580#define WNetAddConnection2 WNetAddConnection2W
581#define WNetAddConnection WNetAddConnectionW
582#define WNetConnectionDialog1 WNetConnectionDialog1W
583#define WNetDisconnectDialog1 WNetDisconnectDialog1W
584#define WNetGetNetworkInformation WNetGetNetworkInformationW
585#define WNetGetProviderName WNetGetProviderNameW
586#define WNetGetUser WNetGetUserW
587#define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
588#define WNetGetLastError WNetGetLastErrorW
589#else
590#define PFNGETPROFILEPATH PFNGETPROFILEPATHA
591#define PFNRECONCILEPROFILE PFNRECONCILEPROFILEA
592#define PFNPROCESSPOLICIES PFNPROCESSPOLICIESA
598#define WNetOpenEnum WNetOpenEnumA
599#define WNetEnumResource WNetEnumResourceA
600#define WNetGetResourceInformation WNetGetResourceInformationA
601#define WNetGetUniversalName WNetGetUniversalNameA
602#define WNetConnectionDialog1 WNetConnectionDialog1A
603#define WNetDisconnectDialog1 WNetDisconnectDialog1A
604#define WNetAddConnection2 WNetAddConnection2A
605#define WNetAddConnection3 WNetAddConnection3A
606#define WNetCancelConnection WNetCancelConnectionA
607#define WNetCancelConnection2 WNetCancelConnection2A
608#define WNetGetConnection WNetGetConnectionA
609#define WNetUseConnection WNetUseConnectionA
610#define WNetSetConnection WNetSetConnectionA
611#define WNetAddConnection WNetAddConnectionA
612#define WNetGetUser WNetGetUserA
613#define WNetGetProviderName WNetGetProviderNameA
614#define WNetGetNetworkInformation WNetGetNetworkInformationA
615#define WNetGetLastError WNetGetLastErrorA
616#define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
617#endif
618
619#endif /* !RC_INVOKED */
620
621#ifdef _MSC_VER
622#pragma warning(pop)
623#endif
624
625#ifdef __cplusplus
626}
627#endif
628
629#endif /* _WINNETWK_ */
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
Definition: db.cpp:175
#define APIENTRY
Definition: api.h:79
HANDLE HWND
Definition: compat.h:19
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
static ENUMPASSWORDPROC
Definition: mpr.c:165
#define _Out_opt_
Definition: ms_sal.h:346
#define _Inout_
Definition: ms_sal.h:378
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _Check_return_
Definition: ms_sal.h:557
#define _Outptr_
Definition: ms_sal.h:427
#define _Out_writes_(size)
Definition: ms_sal.h:348
#define _Out_writes_opt_(size)
Definition: ms_sal.h:349
#define _Inout_opt_
Definition: ms_sal.h:379
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
unsigned int UINT
Definition: ndis.h:50
#define BOOL
Definition: nt_native.h:43
#define DWORD
Definition: nt_native.h:44
DWORD WINAPI WNetGetCachedPassword(LPSTR pbResource, WORD cbResource, LPSTR pbPassword, LPWORD pcbPassword, BYTE nType)
Definition: pwcache.c:180
UINT WINAPI WNetEnumCachedPasswords(LPSTR pbPrefix, WORD cbPrefix, BYTE nType, ENUMPASSWORDPROC enumPasswordProc, DWORD param)
Definition: pwcache.c:240
DWORD WINAPI WNetCachePassword(LPSTR pbResource, WORD cbResource, LPSTR pbPassword, WORD cbPassword, BYTE nType, WORD x)
Definition: pwcache.c:85
LPNETRESOURCEA lpConnRes
Definition: winnetwk.h:189
LPNETRESOURCEW lpConnRes
Definition: winnetwk.h:196
DWORD cbStructure
Definition: winnetwk.h:201
LPSTR lpRemoteName
Definition: winnetwk.h:204
LPSTR lpLocalName
Definition: winnetwk.h:203
DWORD cbStructure
Definition: winnetwk.h:208
LPWSTR lpRemoteName
Definition: winnetwk.h:211
LPWSTR lpLocalName
Definition: winnetwk.h:210
DWORD cbStructure
Definition: winnetwk.h:227
DWORD dwProviderVersion
Definition: winnetwk.h:228
DWORD dwPrinters
Definition: winnetwk.h:233
DWORD dwDrives
Definition: winnetwk.h:234
DWORD dwCharacteristics
Definition: winnetwk.h:230
ULONG_PTR dwHandle
Definition: winnetwk.h:231
DWORD dwStatus
Definition: winnetwk.h:229
LPSTR lpLocalName
Definition: winnetwk.h:171
DWORD dwDisplayType
Definition: winnetwk.h:169
LPSTR lpComment
Definition: winnetwk.h:173
DWORD dwScope
Definition: winnetwk.h:167
LPSTR lpProvider
Definition: winnetwk.h:174
LPSTR lpRemoteName
Definition: winnetwk.h:172
DWORD dwUsage
Definition: winnetwk.h:170
DWORD dwType
Definition: winnetwk.h:168
DWORD dwType
Definition: winnetwk.h:178
DWORD dwDisplayType
Definition: winnetwk.h:179
LPWSTR lpComment
Definition: winnetwk.h:183
DWORD dwUsage
Definition: winnetwk.h:180
DWORD dwScope
Definition: winnetwk.h:177
LPWSTR lpLocalName
Definition: winnetwk.h:181
LPWSTR lpProvider
Definition: winnetwk.h:184
LPWSTR lpRemoteName
Definition: winnetwk.h:182
LPSTR lpConnectionName
Definition: winnetwk.h:218
LPSTR lpRemainingPath
Definition: winnetwk.h:219
LPSTR lpUniversalName
Definition: winnetwk.h:217
LPWSTR lpUniversalName
Definition: winnetwk.h:222
LPWSTR lpConnectionName
Definition: winnetwk.h:223
LPWSTR lpRemainingPath
Definition: winnetwk.h:224
uint16_t * LPWORD
Definition: typedefs.h:56
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG_PTR
Definition: typedefs.h:65
_In_ LPCSTR lpName
Definition: winbase.h:2789
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
#define PASCAL
Definition: windef.h:133
#define WINAPI
Definition: msvc.h:6
_Check_return_ DWORD APIENTRY WNetOpenEnumW(_In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPNETRESOURCEW, _Out_ LPHANDLE)
_Check_return_ DWORD APIENTRY WNetAddConnectionA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
_Check_return_ DWORD APIENTRY WNetDisconnectDialog(_In_opt_ HWND, _In_ DWORD)
_Check_return_ DWORD APIENTRY WNetCancelConnectionA(_In_ LPCSTR, _In_ BOOL)
struct _UNIVERSAL_NAME_INFOW * LPUNIVERSAL_NAME_INFOW
_Check_return_ DWORD APIENTRY WNetGetLastErrorA(_Out_ LPDWORD lpError, _Out_writes_(nErrorBufSize) LPSTR lpErrorBuf, _In_ DWORD nErrorBufSize, _Out_writes_(nNameBufSize) LPSTR lpNameBuf, _In_ DWORD nNameBufSize)
NETRESOURCEA NETRESOURCE
Definition: winnetwk.h:593
struct _DISCDLGSTRUCTW * LPDISCDLGSTRUCTW
struct _REMOTE_NAME_INFOA REMOTE_NAME_INFOA
_Check_return_ DWORD APIENTRY WNetAddConnection3W(_In_opt_ HWND, _In_ LPNETRESOURCEW, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD)
struct _NETRESOURCEA * LPNETRESOURCEA
_Check_return_ DWORD APIENTRY WNetCancelConnection2A(_In_ LPCSTR, _In_ DWORD, _In_ BOOL)
_Check_return_ DWORD APIENTRY WNetGetUserW(_In_opt_ LPCWSTR lpName, _Out_writes_(*lpnLength) LPWSTR lpUserName, _Inout_ LPDWORD lpnLength)
_Check_return_ DWORD APIENTRY WNetConnectionDialog1A(_Inout_ LPCONNECTDLGSTRUCTA)
struct _UNIVERSAL_NAME_INFOW UNIVERSAL_NAME_INFOW
REMOTE_NAME_INFOA REMOTE_NAME_INFO
Definition: winnetwk.h:597
_Check_return_ DWORD APIENTRY WNetCancelConnectionW(_In_ LPCWSTR, _In_ BOOL)
CONNECTDLGSTRUCTA CONNECTDLGSTRUCT
Definition: winnetwk.h:594
DISCDLGSTRUCTA DISCDLGSTRUCT
Definition: winnetwk.h:595
_Check_return_ DWORD APIENTRY WNetGetResourceInformationW(_In_ LPNETRESOURCEW lpNetResource, _Out_writes_bytes_(*lpcbBuffer) LPVOID lpBuffer, _Inout_ LPDWORD lpcbBuffer, _Outptr_ LPWSTR *lplpSystem)
_Check_return_ DWORD APIENTRY WNetConnectionDialog1W(_Inout_ LPCONNECTDLGSTRUCTW)
UINT(PASCAL * PFNGETPROFILEPATHW)(LPCWSTR, LPWSTR, UINT)
Definition: winnetwk.h:237
struct _UNIVERSAL_NAME_INFOA * LPUNIVERSAL_NAME_INFOA
struct _CONNECTDLGSTRUCTW * LPCONNECTDLGSTRUCTW
struct _NETINFOSTRUCT * LPNETINFOSTRUCT
struct _REMOTE_NAME_INFOW REMOTE_NAME_INFOW
_Check_return_ DWORD APIENTRY WNetGetLastErrorW(_Out_ LPDWORD lpError, _Out_writes_(nErrorBufSize) LPWSTR lpErrorBuf, _In_ DWORD nErrorBufSize, _Out_writes_(nNameBufSize) LPWSTR lpNameBuf, _In_ DWORD nNameBufSize)
_Check_return_ DWORD APIENTRY WNetGetProviderNameW(_In_ DWORD dwNetType, _Out_writes_(*lpBufferSize) LPWSTR lpProviderName, _Inout_ LPDWORD lpBufferSize)
struct _UNIVERSAL_NAME_INFOA UNIVERSAL_NAME_INFOA
struct _NETCONNECTINFOSTRUCT * LPNETCONNECTINFOSTRUCT
_Check_return_ DWORD APIENTRY WNetDisconnectDialog1W(_In_ LPDISCDLGSTRUCTW)
_Check_return_ DWORD APIENTRY WNetAddConnection2W(_In_ LPNETRESOURCEW, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD)
_Check_return_ DWORD APIENTRY WNetGetConnectionA(_In_ LPCSTR lpLocalName, _Out_writes_opt_(*lpnLength) LPSTR lpRemoteName, _Inout_ LPDWORD lpnLength)
struct _NETRESOURCEA NETRESOURCEA
_Check_return_ DWORD APIENTRY WNetCloseEnum(_In_ HANDLE)
_Check_return_ DWORD APIENTRY WNetCancelConnection2W(_In_ LPCWSTR, _In_ DWORD, _In_ BOOL)
DWORD WINAPI WNetRestoreConnectionA(HWND, LPCSTR)
Definition: wnet.c:2462
struct _DISCDLGSTRUCTA DISCDLGSTRUCTA
struct _NETCONNECTINFOSTRUCT NETCONNECTINFOSTRUCT
UINT(PASCAL * PFNGETPROFILEPATHA)(LPCSTR, LPSTR, UINT)
Definition: winnetwk.h:236
_Check_return_ DWORD APIENTRY WNetOpenEnumA(_In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPNETRESOURCEA, _Out_ LPHANDLE)
struct _NETRESOURCEW NETRESOURCEW
CONNECTDLGSTRUCTA * LPCONNECTDLGSTRUCT
Definition: winnetwk.h:594
_Check_return_ DWORD APIENTRY WNetGetUserA(_In_opt_ LPCSTR lpName, _Out_writes_(*lpnLength) LPSTR lpUserName, _Inout_ LPDWORD lpnLength)
_Check_return_ DWORD APIENTRY WNetAddConnection2A(_In_ LPNETRESOURCEA, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD)
DWORD APIENTRY WNetSetConnectionA(LPCSTR, DWORD, PVOID)
Definition: wnet.c:2706
_Check_return_ DWORD APIENTRY MultinetGetConnectionPerformanceA(_In_ LPNETRESOURCEA, _Out_ LPNETCONNECTINFOSTRUCT)
_Check_return_ DWORD APIENTRY WNetGetNetworkInformationW(_In_ LPCWSTR, _Out_ LPNETINFOSTRUCT)
struct _REMOTE_NAME_INFOW * LPREMOTE_NAME_INFOW
_Check_return_ DWORD APIENTRY WNetGetResourceInformationA(_In_ LPNETRESOURCEA lpNetResource, _Out_writes_bytes_(*lpcbBuffer) LPVOID lpBuffer, _Inout_ LPDWORD lpcbBuffer, _Outptr_ LPSTR *lplpSystem)
struct _NETINFOSTRUCT NETINFOSTRUCT
_Check_return_ DWORD APIENTRY WNetUseConnectionA(_In_opt_ HWND hwndOwner, _In_ LPNETRESOURCEA lpNetResource, _In_opt_ LPCSTR lpPassword, _In_opt_ LPCSTR lpUserId, _In_ DWORD dwFlags, _Out_writes_opt_(*lpBufferSize) LPSTR lpAccessName, _Inout_opt_ LPDWORD lpBufferSize, _Out_opt_ LPDWORD lpResult)
_Check_return_ DWORD APIENTRY WNetGetNetworkInformationA(_In_ LPCSTR, _Out_ LPNETINFOSTRUCT)
_Check_return_ DWORD APIENTRY WNetAddConnection3A(_In_opt_ HWND, _In_ LPNETRESOURCEA, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD)
UNIVERSAL_NAME_INFOA UNIVERSAL_NAME_INFO
Definition: winnetwk.h:596
BOOL(PASCAL * PFNPROCESSPOLICIESA)(HWND, LPCSTR, LPCSTR, LPCSTR, DWORD)
Definition: winnetwk.h:240
struct _DISCDLGSTRUCTW DISCDLGSTRUCTW
struct _DISCDLGSTRUCTA * LPDISCDLGSTRUCTA
struct _REMOTE_NAME_INFOA * LPREMOTE_NAME_INFOA
NETRESOURCEA * LPNETRESOURCE
Definition: winnetwk.h:593
BOOL(PASCAL * PFNPROCESSPOLICIESW)(HWND, LPCWSTR, LPCWSTR, LPCWSTR, DWORD)
Definition: winnetwk.h:241
_Check_return_ DWORD APIENTRY WNetEnumResourceW(_In_ HANDLE hEnum, _Inout_ LPDWORD lpcCount, _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer, _Inout_ LPDWORD lpBufferSize)
UINT(PASCAL * PFNRECONCILEPROFILEA)(LPCSTR, LPCSTR, DWORD)
Definition: winnetwk.h:238
_Check_return_ DWORD APIENTRY WNetConnectionDialog(_In_ HWND, _In_ DWORD)
struct _CONNECTDLGSTRUCTA CONNECTDLGSTRUCTA
struct _CONNECTDLGSTRUCTW CONNECTDLGSTRUCTW
DISCDLGSTRUCTA * LPDISCDLGSTRUCT
Definition: winnetwk.h:595
_Check_return_ DWORD APIENTRY MultinetGetConnectionPerformanceW(_In_ LPNETRESOURCEW, _Out_ LPNETCONNECTINFOSTRUCT)
UINT(PASCAL * PFNRECONCILEPROFILEW)(LPCWSTR, LPCWSTR, DWORD)
Definition: winnetwk.h:239
_Check_return_ DWORD APIENTRY WNetEnumResourceA(_In_ HANDLE hEnum, _Inout_ LPDWORD lpcCount, _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer, _Inout_ LPDWORD lpBufferSize)
_Check_return_ DWORD APIENTRY WNetDisconnectDialog1A(_In_ LPDISCDLGSTRUCTA)
_Check_return_ DWORD APIENTRY WNetGetUniversalNameW(_In_ LPCWSTR lpLocalPath, _In_ DWORD dwInfoLevel, _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer, _Inout_ LPDWORD lpBufferSize)
UNIVERSAL_NAME_INFOA * LPUNIVERSAL_NAME_INFO
Definition: winnetwk.h:596
REMOTE_NAME_INFOA * LPREMOTE_NAME_INFO
Definition: winnetwk.h:597
_Check_return_ DWORD APIENTRY WNetGetConnectionW(_In_ LPCWSTR lpLocalName, _Out_writes_opt_(*lpnLength) LPWSTR lpRemoteName, _Inout_ LPDWORD lpnLength)
_Check_return_ DWORD APIENTRY WNetUseConnectionW(_In_opt_ HWND hwndOwner, _In_ LPNETRESOURCEW lpNetResource, _In_opt_ LPCWSTR lpPassword, _In_opt_ LPCWSTR lpUserId, _In_ DWORD dwFlags, _Out_writes_opt_(*lpBufferSize) LPWSTR lpAccessName, _Inout_opt_ LPDWORD lpBufferSize, _Out_opt_ LPDWORD lpResult)
_Check_return_ DWORD APIENTRY WNetAddConnectionW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
DWORD WINAPI WNetRestoreConnectionW(HWND, LPCWSTR)
Definition: wnet.c:2473
_Check_return_ DWORD APIENTRY WNetGetUniversalNameA(_In_ LPCSTR lpLocalPath, _In_ DWORD dwInfoLevel, _Out_writes_bytes_(*lpBufferSize) LPVOID lpBuffer, _Inout_ LPDWORD lpBufferSize)
struct _NETRESOURCEW * LPNETRESOURCEW
struct _CONNECTDLGSTRUCTA * LPCONNECTDLGSTRUCTA
DWORD APIENTRY WNetSetConnectionW(LPCWSTR, DWORD, PVOID)
Definition: wnet.c:2718
_Check_return_ DWORD APIENTRY WNetGetProviderNameA(_In_ DWORD dwNetType, _Out_writes_(*lpBufferSize) LPSTR lpProviderName, _Inout_ LPDWORD lpBufferSize)
_In_ DWORD dwInfoLevel
Definition: winsvc.h:422
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
unsigned char BYTE
Definition: xxhash.c:193