Lines Matching defs:result
73 LONG result = RegCreateKeyEx(rootkey, ToWCharT(subkey), 0, NULL,
76 if (result == ERROR_SUCCESS) {
82 return result;
97 LONG result =
100 if (result == ERROR_SUCCESS) {
106 return result;
113 LONG result = RegOpenKeyEx(rootkey, ToWCharT(subkey), 0, access, &subhkey);
114 if (result == ERROR_SUCCESS) {
120 return result;
135 LONG result =
140 if (result == ERROR_SUCCESS) {
145 return result;
178 LONG result = RegQueryInfoKey(key_, NULL, 0, NULL, NULL, NULL, NULL, &count,
180 return (result == ERROR_SUCCESS) ? count : 0;
201 LONG result = RegOpenKeyEx(key_, ToWCharT(name), 0,
203 if (result != ERROR_SUCCESS)
204 return result;
215 LONG result = RegOpenKeyEx(key_, ToWCharT(name), 0, KEY_READ | wow64access_,
218 if (result != ERROR_SUCCESS)
219 return result;
222 result = RegQueryInfoKey(target_key, NULL, 0, NULL, NULL, NULL, NULL, &count,
227 if (result != ERROR_SUCCESS)
228 return result;
238 LONG result = RegDeleteValue(key_, ToWCharT(value_name));
239 return result;
247 LONG result = ReadValue(name, &local_value, &size, &type);
248 if (result == ERROR_SUCCESS) {
252 result = ERROR_CANTREAD;
255 return result;
263 LONG result = ReadValue(name, &local_value, &size, &type);
264 if (result == ERROR_SUCCESS) {
269 result = ERROR_CANTREAD;
272 return result;
281 LONG result = ReadValue(name, raw_value, &size, &type);
282 if (result == ERROR_SUCCESS) {
293 result = ERROR_MORE_DATA;
299 result = ERROR_CANTREAD;
303 return result;
310 LONG result = RegQueryValueEx(key_, ToWCharT(name), 0, dtype,
312 return result;
321 LONG result = ReadValue(name, NULL, &size, &type);
322 if (result != ERROR_SUCCESS || size == 0)
323 return result;
329 result = ReadValue(name, &buffer[0], &size, NULL);
330 if (result != ERROR_SUCCESS || size == 0)
331 return result;
364 LONG result =
367 return result;
394 LONG result = RegDeleteKeyExWrapper(root_key, name.c_str(), access, 0);
395 if (result == ERROR_SUCCESS)
396 return result;
399 result = RegOpenKeyEx(root_key, ToWCharT(&name), 0,
402 if (result == ERROR_FILE_NOT_FOUND)
404 if (result != ERROR_SUCCESS)
405 return result;
414 result = ERROR_SUCCESS;
418 while (result == ERROR_SUCCESS) {
420 result = RegEnumKeyEx(target_key, 0,
424 if (result != ERROR_SUCCESS)
438 result = RegDeleteKeyExWrapper(root_key, name.c_str(), access, 0);
440 return result;
462 LONG result = RegOpenKeyEx(root_key, ToWCharT(folder_key), 0,
464 if (result != ERROR_SUCCESS) {
468 result = ::RegQueryInfoKey(key_, NULL, 0, NULL, NULL, NULL, NULL, &count,
471 if (result != ERROR_SUCCESS) {
489 LONG result = ::RegQueryInfoKey(key_, NULL, 0, NULL, NULL, NULL, NULL, &count,
491 if (result != ERROR_SUCCESS)
512 LONG result = ::RegEnumValue(
516 if (result == ERROR_MORE_DATA) {
528 result = ::RegEnumValue(
533 if (result == ERROR_SUCCESS) {
566 LONG result = ::RegQueryInfoKey(key_, NULL, 0, NULL, &count, NULL, NULL, NULL,
568 if (result != ERROR_SUCCESS)
601 LONG result = RegOpenKeyEx(root_key, ToWCharT(folder_key), 0,
603 if (result != ERROR_SUCCESS) {
607 result = ::RegQueryInfoKey(key_, NULL, 0, NULL, &count, NULL, NULL, NULL,
610 if (result != ERROR_SUCCESS) {