Lines Matching refs:curSize
241 UInt32 curSize = 0; in QueryValue() local
242 LONG res = RegQueryValueEx(_object, (LPTSTR)name, NULL, &type, NULL, (DWORD *)&curSize); in QueryValue()
245 UInt32 curSize2 = curSize; in QueryValue()
246 res = QueryValue(name, value.GetBuf(curSize), curSize2); in QueryValue()
247 if (curSize > curSize2) in QueryValue()
248 curSize = curSize2; in QueryValue()
249 value.ReleaseBuf_CalcLen(curSize / sizeof(TCHAR)); in QueryValue()
268 UInt32 curSize = 0; in QueryValue() local
274 res = RegQueryValueExW(_object, name, NULL, &type, NULL, (DWORD *)&curSize); in QueryValue()
277 UInt32 curSize2 = curSize; in QueryValue()
278 res = QueryValue(name, value.GetBuf(curSize), curSize2); in QueryValue()
279 if (curSize > curSize2) in QueryValue()
280 curSize = curSize2; in QueryValue()
281 value.ReleaseBuf_CalcLen(curSize / sizeof(wchar_t)); in QueryValue()