Lines Matching defs:rc

67     LONG rc;
87 rc = RegCreateKeyExW(parentkey->hkey, wkeyname, 0, NULL, 0,
90 rc = RegOpenKeyExW(parentkey->hkey, wkeyname, 0, access, &hkey);
97 rc = RegCreateKeyEx(parentkey->hkey, keyname, 0, NULL, 0,
100 rc = RegOpenKeyEx(parentkey->hkey, keyname, 0, access, &hkey);
103 if (rc != ERROR_SUCCESS) {
104 return APR_FROM_OS_ERROR(rc);
134 LONG rc;
147 rc = RegDeleteKeyW(parent->hkey, wkeyname);
159 rc = RegOpenKeyEx(parent->hkey, keyname, 0, KEY_READ, &hkey);
160 if (rc != ERROR_SUCCESS)
161 return APR_FROM_OS_ERROR(rc);
162 rc = RegQueryInfoKey(hkey, NULL, NULL, NULL, &subkeys, NULL, NULL,
165 if (rc != ERROR_SUCCESS)
166 return APR_FROM_OS_ERROR(rc);
169 rc = RegDeleteKey(parent->hkey, keyname);
172 if (rc != ERROR_SUCCESS) {
173 return APR_FROM_OS_ERROR(rc);
187 LONG rc;
205 rc = RegQueryValueExW(key->hkey, wvalname, 0, &type, NULL, (DWORD *)&size);
206 if (rc != ERROR_SUCCESS) {
207 return APR_FROM_OS_ERROR(rc);
215 rc = RegQueryValueExW(key->hkey, wvalname, 0, &type,
217 if (rc != ERROR_SUCCESS) {
218 return APR_FROM_OS_ERROR(rc);
251 rc = RegQueryValueEx(key->hkey, valuename, 0, &type, NULL, (DWORD *)&size);
252 if (rc != ERROR_SUCCESS)
253 return APR_FROM_OS_ERROR(rc);
261 rc = RegQueryValueEx(key->hkey, valuename, 0, &type, *result, (DWORD *)&size);
262 if (rc != ERROR_SUCCESS)
263 return APR_FROM_OS_ERROR(rc);
292 LONG rc;
323 rc = RegSetValueExW(key->hkey, wvalname, 0, type,
325 if (rc != ERROR_SUCCESS)
326 return APR_FROM_OS_ERROR(rc);
332 rc = RegSetValueEx(key->hkey, valuename, 0, type, value, (DWORD)size);
333 if (rc != ERROR_SUCCESS)
334 return APR_FROM_OS_ERROR(rc);
351 LONG rc;
366 rc = RegQueryValueExW(key->hkey, wvalname, 0, (LPDWORD)resulttype,
368 if (rc != ERROR_SUCCESS) {
369 return APR_FROM_OS_ERROR(rc);
374 rc = RegQueryValueExW(key->hkey, wvalname, 0, (LPDWORD)resulttype,
382 rc = RegQueryValueEx(key->hkey, valuename, 0, (LPDWORD)resulttype,
384 if (rc != ERROR_SUCCESS)
385 return APR_FROM_OS_ERROR(rc);
389 rc = RegQueryValueEx(key->hkey, valuename, 0, (LPDWORD)resulttype,
391 if (rc != ERROR_SUCCESS)
392 return APR_FROM_OS_ERROR(rc);
395 if (rc != ERROR_SUCCESS) {
396 return APR_FROM_OS_ERROR(rc);
410 LONG rc;
425 rc = RegSetValueExW(key->hkey, wvalname, 0, valuetype,
432 rc = RegSetValueEx(key->hkey, valuename, 0, valuetype,
436 if (rc != ERROR_SUCCESS) {
437 return APR_FROM_OS_ERROR(rc);
614 LONG rc;
627 rc = RegDeleteValueW(key->hkey, wvalname);
633 rc = RegDeleteValue(key->hkey, valuename);
636 if (rc != ERROR_SUCCESS) {
637 return APR_FROM_OS_ERROR(rc);