Lines Matching defs:lRc
164 LONG lRc;
169 lRc = RegOpenKeyEx(HKEY_LOCAL_MACHINE,
174 if (ERROR_SUCCESS != lRc)
176 crDebug("RegOpenKeyEx 1 failed, %d", lRc);
182 lRc = RegEnumKeyA(hKey, dwIndex, NameBuf, CRREG_MAXKEYNAME);
183 if (lRc == ERROR_NO_MORE_ITEMS)
185 if (lRc == ERROR_MORE_DATA)
187 if (lRc != ERROR_SUCCESS)
189 crWarning("RegEnumKeyA failed, %d", lRc);
193 lRc = RegOpenKeyEx(hKey,
198 if (ERROR_SUCCESS != lRc)
200 crDebug("RegOpenKeyEx 2 failed, %d", lRc);
209 lRc = RegQueryValueExA(hSubkey, aValueNames[i], NULL, /* reserved*/
215 if (ERROR_MORE_DATA == lRc)
229 if (ERROR_SUCCESS != lRc)
231 crDebug("RegQueryValueExA failed, %d", lRc);