Lines Matching defs:szNewKeyValue
524 TCHAR szNewKeyValue[512] = { 0 };
546 TCHAR *pNewKeyValuePos = szNewKeyValue;
579 lRet = RegSetValueExW(hKey, pszKeyValue, 0, REG_MULTI_SZ, (LPBYTE)szNewKeyValue, (DWORD)cb);
705 TCHAR szNewKeyValue[512] = { 0 };
732 wcscat(szNewKeyValue, pszValueToAdd);
733 wcscat(szNewKeyValue, _T(","));
746 wcscat(szNewKeyValue, pszToken);
747 wcscat(szNewKeyValue, _T(","));
752 _tprintf (_T("RegistryAddStringToList: Temp new key value: %ws\n"), szNewKeyValue);
759 wcscat(szNewKeyValue, pszValueToAdd);
762 if (szNewKeyValue[wcslen(szNewKeyValue) - 1] == ',')
763 szNewKeyValue[wcslen(szNewKeyValue) - 1] = '\0';
765 size_t iNewLen = (wcslen(szNewKeyValue) * sizeof(WCHAR)) + sizeof(WCHAR);
768 _tprintf(_T("RegistryAddStringToList: New provider list: %ws (%u bytes)\n"), szNewKeyValue, iNewLen);
771 lRet = RegSetValueExW(hKey, pszKeyValue, 0, REG_SZ, (LPBYTE)szNewKeyValue, (DWORD)iNewLen);
800 TCHAR szNewKeyValue[512] = { 0 };
829 wcscat(szNewKeyValue, pszToken);
830 wcscat(szNewKeyValue, _T(","));
835 _tprintf (_T("RegistryRemoveStringFromList: Temp new key value: %ws\n"), szNewKeyValue);
841 if (szNewKeyValue[wcslen(szNewKeyValue) - 1] == ',')
842 szNewKeyValue[wcslen(szNewKeyValue) - 1] = '\0';
844 size_t iNewLen = (wcslen(szNewKeyValue) * sizeof(WCHAR)) + sizeof(WCHAR);
847 _tprintf(_T("RegistryRemoveStringFromList: New provider list: %ws (%u bytes)\n"), szNewKeyValue, iNewLen);
850 lRet = RegSetValueExW(hKey, pszKeyValue, 0, REG_SZ, (LPBYTE)szNewKeyValue, (DWORD)iNewLen);