355{
356 static const WCHAR providerOrderKey[] = {
'S',
'y',
's',
't',
'e',
'm',
'\\',
357 'C','u','r','r','e','n','t','C','o','n','t','r','o','l','S','e','t','\\',
358 'C','o','n','t','r','o','l','\\',
359 'N','e','t','w','o','r','k','P','r','o','v','i','d','e','r','\\',
360 'O','r','d','e','r',0 };
361 static const WCHAR providerOrder[] = {
'P',
'r',
'o',
'v',
'i',
'd',
'e',
'r',
362 'O','r','d','e','r',0 };
364
367 {
369
372 {
374
376 {
378
381 {
384
386
387
389 {
392 numToAllocate++;
394 }
395 }
401 {
403 int entireNetworkLen;
405
412 {
415 }
418 {
424 }
425 }
426 }
428 }
429 }
431 }
432
433#ifdef __REACTOS__
435 {
437
439 {
441 WCHAR subkey[8] = {
'N',
'e',
't',
'w',
'o',
'r',
'k', 0};
442
444 {
446
447 TRACE(
"Enumerating remembered connections\n");
448
449 if (
RegQueryInfoKey(
network,
NULL,
NULL,
NULL, &
max, &
size,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL) ==
ERROR_SUCCESS)
450 {
452
453 TRACE(
"There are %lu connections\n",
max);
454
457 {
459
461 {
464
466
468 continue;
469
471
473 continue;
474
475 _restoreSavedConnection(connection,
local);
477 }
478
480 }
481 }
482
484 }
485
487 }
488 }
489#endif
490}
#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)