Home
last modified time | relevance | path

Searched refs:szKeyName (Results 1 – 25 of 26) sorted by relevance

12

/reactos/dll/win32/shell32/dialogs/
H A Dview.cpp61 WCHAR szKeyName[64]; // entry key name member
253 WCHAR szKeyName[64], szText[MAX_PATH], *pch; in ViewTree_LoadTree() local
270 lstrcpynW(pEntry->szKeyName, pszKeyName, _countof(pEntry->szKeyName)); in ViewTree_LoadTree()
422 while (RegEnumKeyW(hKey, dwIndex, szKeyName, in ViewTree_LoadTree()
426 if (RegOpenKeyExW(hKey, szKeyName, 0, KEY_READ, in ViewTree_LoadTree()
433 ViewTree_LoadTree(hkeyChild, szKeyName, dwParentID); in ViewTree_LoadTree()
461 WCHAR szKeyName[64]; in ViewTree_LoadAll() local
463 while (RegEnumKeyW(hKey, dwIndex, szKeyName, in ViewTree_LoadAll()
467 if (RegOpenKeyExW(hKey, szKeyName, 0, KEY_READ, in ViewTree_LoadAll()
474 ViewTree_LoadTree(hkeyChild, szKeyName, DWORD(-1)); in ViewTree_LoadAll()
[all …]
/reactos/modules/rosapps/applications/vcdcontroltool/
H A Dvcdcontroltool.c434 WCHAR szKeyName[256]; in PerformMount() local
485 …wsprintf(szKeyName, L"SYSTEM\\CurrentControlSet\\Services\\Vcdrom\\Parameters\\Device%c", wMountLe… in PerformMount()
486 …if (RegCreateKeyEx(HKEY_LOCAL_MACHINE, szKeyName, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_CREATE_SUB… in PerformMount()
488 wcsncpy(szKeyName, MountParams.Path, MountParams.Length); in PerformMount()
489 szKeyName[MountParams.Length / sizeof(WCHAR)] = 0; in PerformMount()
490 … RegSetValueExW(hKey, L"IMAGE", 0, REG_SZ, (BYTE *)szKeyName, MountParams.Length); in PerformMount()
492 szKeyName[0] = wMountLetter; in PerformMount()
493 szKeyName[1] = L':'; in PerformMount()
494 szKeyName[2] = 0; in PerformMount()
495 RegSetValueExW(hKey, L"DRIVE", 0, REG_SZ, (BYTE *)szKeyName, 3 * sizeof(WCHAR)); in PerformMount()
/reactos/base/system/winlogon/
H A Dnotify.c258 WCHAR szKeyName[80]; in InitNotifications() local
281 dwKeyName = ARRAYSIZE(szKeyName); in InitNotifications()
284 szKeyName, in InitNotifications()
293 TRACE("Notification DLL: %S\n", szKeyName); in InitNotifications()
294 AddNotificationDll(hNotifyKey, szKeyName); in InitNotifications()
/reactos/base/applications/rapps/
H A Dappdb.cpp212 WCHAR szKeyName[MAX_PATH]; in EnumerateRegistry() local
213 DWORD dwSize = _countof(szKeyName); in EnumerateRegistry()
214 if (hKey.EnumKey(Index, szKeyName, &dwSize) != ERROR_SUCCESS) in EnumerateRegistry()
218 if (List || !StrCmpIW(SearchOnly, szKeyName)) in EnumerateRegistry()
221 Info = CreateInstalledAppByRegistryKey(szKeyName, hKey, rki); in EnumerateRegistry()
/reactos/sdk/lib/tzlib/
H A Dtzlib.c232 WCHAR szKeyName[256]; in EnumerateTimeZoneList() local
246 dwNameSize = sizeof(szKeyName); in EnumerateTimeZoneList()
249 szKeyName, in EnumerateTimeZoneList()
261 szKeyName, in EnumerateTimeZoneList()
/reactos/dll/win32/advapi32/misc/
H A Dhwprofiles.c86 WCHAR szKeyName[256]; in GetCurrentHwProfileW() local
124 swprintf(szKeyName, in GetCurrentHwProfileW()
129 szKeyName, in GetCurrentHwProfileW()
/reactos/dll/win32/samsrv/
H A Dsetup.c31 WCHAR szKeyName[256]; in SampSetupAddMemberToAlias() local
36 swprintf(szKeyName, L"Aliases\\%08lX\\Members", AliasId); in SampSetupAddMemberToAlias()
39 szKeyName, in SampSetupAddMemberToAlias()
58 swprintf(szKeyName, L"Aliases\\Members\\%s", MemberSidString); in SampSetupAddMemberToAlias()
61 szKeyName, in SampSetupAddMemberToAlias()
70 swprintf(szKeyName, L"%08lX", AliasId); in SampSetupAddMemberToAlias()
73 szKeyName, in SampSetupAddMemberToAlias()
181 WCHAR szKeyName[256]; in SampSetupAddMemberToGroup() local
189 swprintf(szKeyName, L"Groups\\%08lX", GroupId); in SampSetupAddMemberToGroup()
192 szKeyName, in SampSetupAddMemberToGroup()
/reactos/modules/rosapps/applications/explorer-old/services/
H A Dstartup.c289 static BOOL ProcessRunKeys(HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete, in ProcessRunKeys() argument
302 wprintf(L"processing %s entries under HKLM\n", szKeyName); in ProcessRunKeys()
304 wprintf(L"processing %s entries under HKCU\n", szKeyName); in ProcessRunKeys()
314 if ((res=RegOpenKeyExW(hkWin, szKeyName, 0, bDelete?KEY_ALL_ACCESS:KEY_READ, &hkRun))!= in ProcessRunKeys()
/reactos/base/shell/explorer/
H A Dstartup.cpp136 static BOOL ProcessRunKeys(HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete, in ProcessRunKeys() argument
146 TRACE("processing %ls entries under HKLM\n", szKeyName); in ProcessRunKeys()
148 TRACE("processing %ls entries under HKCU\n", szKeyName); in ProcessRunKeys()
163 szKeyName, in ProcessRunKeys()
/reactos/dll/win32/userenv/
H A Dprofile.c568 WCHAR szKeyName[MAX_PATH]; in CopySystemProfile() local
605 StringCbCopyW(szKeyName, sizeof(szKeyName), in CopySystemProfile()
607 StringCbCatW(szKeyName, sizeof(szKeyName), SidString.Buffer); in CopySystemProfile()
612 szKeyName, in CopySystemProfile()
1798 WCHAR szKeyName[MAX_PATH]; in GetUserProfileDirectoryW() local
1826 StringCbCopyW(szKeyName, sizeof(szKeyName), in GetUserProfileDirectoryW()
1828 StringCbCatW(szKeyName, sizeof(szKeyName), SidString.Buffer); in GetUserProfileDirectoryW()
1832 DPRINT("KeyName: '%S'\n", szKeyName); in GetUserProfileDirectoryW()
1835 szKeyName, in GetUserProfileDirectoryW()
/reactos/win32ss/user/user32/windows/
H A Dinput.c320 WCHAR szKeyName[16]; in CliGetImeHotKeysFromRegistry() local
332 cchKeyName = _countof(szKeyName); in CliGetImeHotKeysFromRegistry()
333 error = RegEnumKeyExW(hKey, dwIndex, szKeyName, &cchKeyName, NULL, NULL, NULL, NULL); in CliGetImeHotKeysFromRegistry()
337 szKeyName[_countof(szKeyName) - 1] = 0; /* Avoid stack overrun */ in CliGetImeHotKeysFromRegistry()
339 if (CliSetSingleHotKey(szKeyName, hKey)) in CliGetImeHotKeysFromRegistry()
/reactos/dll/shellext/netshell/
H A Dlanconnectui.cpp421 WCHAR szKeyName[2*MAX_PATH]; in GetDeviceInstanceID() local
430 …StringCbPrintfW(szKeyName, sizeof(szKeyName), L"SYSTEM\\CurrentControlSet\\Control\\Network\\{4D36… in GetDeviceInstanceID()
433 if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, szKeyName, 0, KEY_READ, &hKey) != ERROR_SUCCESS) in GetDeviceInstanceID()
/reactos/base/applications/regedit/
H A Dfind.c344 WCHAR szKeyName[MAX_PATH]; in RegFindWalk() local
368 wcscpy(szKeyName, szSubKey); in RegFindWalk()
374 lstrcpynW(szKeyName, pch + 1, MAX_PATH); in RegFindWalk()
418 if (!fPast && _wcsicmp(ppszNames[i], szKeyName) == 0) in RegFindWalk()
446 fKeyMatched = (_wcsicmp(ppszNames[i], szKeyName) == 0); in RegFindWalk()
/reactos/base/setup/lib/
H A Dmui.c220 WCHAR szKeyName[48] = L".DEFAULT\\Keyboard Layout"; in AddKbLayoutsToRegistry() local
226 RtlInitUnicodeString(&KeyName, szKeyName); in AddKbLayoutsToRegistry()
248 KeyName.MaximumLength = sizeof(szKeyName); in AddKbLayoutsToRegistry()
/reactos/dll/win32/syssetup/
H A Dsecurity.c446 WCHAR szKeyName[MAX_PATH]; in ApplyRegistryValues() local
491 wcsncpy(szKeyName, Ptr1, dwLength); in ApplyRegistryValues()
492 szKeyName[dwLength] = UNICODE_NULL; in ApplyRegistryValues()
498 DPRINT("KeyName: %S\n", szKeyName); in ApplyRegistryValues()
568 szKeyName, in ApplyRegistryValues()
578 DPRINT1("Failed to create the key %S (Error %lu)\n", szKeyName, dwError); in ApplyRegistryValues()
/reactos/base/services/umpnpmgr/
H A Drpcserver.c434 WCHAR szKeyName[MAX_PATH]; in OpenConfigurationKey() local
441 wcscat(szKeyName, pszDeviceID); in OpenConfigurationKey()
445 szKeyName, in OpenConfigurationKey()
2504 WCHAR szKeyName[MAX_PATH]; in PNP_GetClassName() local
2516 …if (lstrlenW(pszClassGuid) + 1 < sizeof(szKeyName)/sizeof(WCHAR)-(lstrlenW(szKeyName) * sizeof(WCH… in PNP_GetClassName()
2517 lstrcatW(szKeyName, pszClassGuid); in PNP_GetClassName()
2522 szKeyName, in PNP_GetClassName()
3957 WCHAR szKeyName[MAX_PATH]; in PNP_HwProfFlags() local
3971 wcscpy(szKeyName, in PNP_HwProfFlags()
3976 swprintf(szKeyName, in PNP_HwProfFlags()
[all …]
/reactos/win32ss/user/user32/misc/
H A Ddllmain.c52 …UNICODE_STRING szKeyName = RTL_CONSTANT_STRING(L"\\Registry\\Machine\\Software\\Microsoft\\Windows… in GetDllList() local
56 InitializeObjectAttributes(&Attributes, &szKeyName, OBJ_CASE_INSENSITIVE, NULL, NULL); in GetDllList()
/reactos/dll/win32/kernel32/winnls/string/
H A Djapanese.c32 HANDLE NLS_RegOpenKey(HANDLE hRootKey, LPCWSTR szKeyName);
/reactos/dll/win32/setupapi/
H A Ddevinst.c938 WCHAR szKeyName[40]; in SetupDiClassGuidsFromNameExW() local
977 szKeyName, in SetupDiClassGuidsFromNameExW()
986 TRACE("Key name: %p\n", szKeyName); in SetupDiClassGuidsFromNameExW()
989 szKeyName, in SetupDiClassGuidsFromNameExW()
1012 TRACE("Guid: %p\n", szKeyName); in SetupDiClassGuidsFromNameExW()
1015 if (szKeyName[0] == '{' && szKeyName[37] == '}') in SetupDiClassGuidsFromNameExW()
1017 szKeyName[37] = 0; in SetupDiClassGuidsFromNameExW()
1019 TRACE("Guid: %p\n", &szKeyName[1]); in SetupDiClassGuidsFromNameExW()
1021 UuidFromStringW(&szKeyName[1], in SetupDiClassGuidsFromNameExW()
H A Dcfgmgr.c6420 WCHAR szKeyName[MAX_PATH]; in CM_Open_Class_Key_ExW() local
6459 lstrcpyW(szKeyName, DeviceClasses); in CM_Open_Class_Key_ExW()
6463 lstrcpyW(szKeyName, ControlClass); in CM_Open_Class_Key_ExW()
6474 lstrcatW(szKeyName, BackslashOpenBrace); in CM_Open_Class_Key_ExW()
6475 lstrcatW(szKeyName, lpGuidString); in CM_Open_Class_Key_ExW()
6476 lstrcatW(szKeyName, CloseBrace); in CM_Open_Class_Key_ExW()
6481 dwError = RegCreateKeyExW(hKey, szKeyName, 0, NULL, 0, samDesired, in CM_Open_Class_Key_ExW()
6486 dwError = RegOpenKeyExW(hKey, szKeyName, 0, samDesired, phkClass); in CM_Open_Class_Key_ExW()
/reactos/dll/win32/iphlpapi/
H A Diphlpapi_main.c3242 WCHAR szKeyName[2*MAX_PATH]; in GetInterfaceNameInternal() local
3257 …hr = StringCbPrintfW(szKeyName, sizeof(szKeyName), L"SYSTEM\\CurrentControlSet\\Control\\Network\\… in GetInterfaceNameInternal()
3266 result = RegOpenKeyExW(HKEY_LOCAL_MACHINE, szKeyName, 0, KEY_READ, &hKey); in GetInterfaceNameInternal()
/reactos/base/applications/mstsc/
H A Dconnectdialog.c108 WCHAR szKeyName[] = L"Software\\Microsoft\\Terminal Server Client\\Servers"; in LoadUsernameHint() local
125 szKeyName, in LoadUsernameHint()
/reactos/base/applications/mscutils/eventvwr/
H A Deventvwr.c1537 WCHAR szKeyName[MAX_PATH]; in GetEventMessageFileDLL() local
1541 StringCbCopyW(szKeyName, sizeof(szKeyName), EVENTLOG_BASE_KEY); in GetEventMessageFileDLL()
1542 StringCbCatW(szKeyName, sizeof(szKeyName), lpLogName); in GetEventMessageFileDLL()
1545 szKeyName, in GetEventMessageFileDLL()
/reactos/dll/win32/msi/
H A Dregistry.c1562 WCHAR szKeyName[SQUASHED_GUID_SIZE]; in MsiEnumRelatedProductsW() local
1563 DWORD dwSize = ARRAY_SIZE(szKeyName); in MsiEnumRelatedProductsW()
1576 r = RegEnumValueW(hkey, iProductIndex, szKeyName, &dwSize, NULL, NULL, NULL, NULL); in MsiEnumRelatedProductsW()
1578 unsquash_guid(szKeyName, lpProductBuf); in MsiEnumRelatedProductsW()
/reactos/dll/win32/msutb/
H A Dmsutb.cpp4006 WCHAR szKeyName[MAX_PATH]; in Load() local
4009 error = ::RegEnumKeyW(regKey, dwIndex, szKeyName, _countof(szKeyName)); in Load()
4014 if (::CLSIDFromString(szKeyName, &clsid) != S_OK) in Load()
4018 error = regKey2.Open(regKey, szKeyName); in Load()

12