353{
354 static const WCHAR providerOrderKey[] = {
'S',
'y',
's',
't',
'e',
'm',
'\\',
355 'C','u','r','r','e','n','t','C','o','n','t','r','o','l','S','e','t','\\',
356 'C','o','n','t','r','o','l','\\',
357 'N','e','t','w','o','r','k','P','r','o','v','i','d','e','r','\\',
358 'O','r','d','e','r',0 };
359 static const WCHAR providerOrder[] = {
'P',
'r',
'o',
'v',
'i',
'd',
'e',
'r',
360 'O','r','d','e','r',0 };
362
365 {
367
370 {
372
374 {
376
379 {
382
384
385
387 {
390 numToAllocate++;
392 }
393 }
399 {
401 int entireNetworkLen;
403
410 {
413 }
416 {
422 }
423 }
424 }
426 }
427 }
429 }
430
431#ifdef __REACTOS__
433 {
435
437 {
439 WCHAR subkey[8] = {
'N',
'e',
't',
'w',
'o',
'r',
'k', 0};
440
442 {
444
445 TRACE(
"Enumerating remembered connections\n");
446
447 if (
RegQueryInfoKey(
network,
NULL,
NULL,
NULL, &
max, &
size,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL) ==
ERROR_SUCCESS)
448 {
450
451 TRACE(
"There are %lu connections\n",
max);
452
455 {
457
459 {
462
464
466 continue;
467
469
471 continue;
472
473 _restoreSavedConnection(connection,
local);
475 }
476
478 }
479 }
480
482 }
483
485 }
486 }
487#endif
488}
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegEnumKeyExW(_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_ LPWSTR lpName, _Inout_ LPDWORD lpcbName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPWSTR lpClass, _Inout_opt_ LPDWORD lpcbClass, _Out_opt_ PFILETIME lpftLastWriteTime)
LONG WINAPI RegOpenCurrentUser(IN REGSAM samDesired, OUT PHKEY phkResult)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
static struct list providers
GLuint GLuint GLsizei GLenum type
#define memcpy(s1, s2, n)
#define IDS_ENTIRENETWORK
#define HKEY_LOCAL_MACHINE
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
static void _tryLoadProvider(PCWSTR provider)