Searched refs:MaxValueLen (Results 1 – 2 of 2) sorted by relevance
/reactos/base/services/eventlog/ |
H A D | eventlog.c | 283 DWORD MaxValueLen, ValueLen, Type, ExpandedLen; in LoadLogFile() local 294 NULL, NULL, &MaxValueLen, NULL, NULL); in LoadLogFile() 301 MaxValueLen = ROUND_DOWN(MaxValueLen, sizeof(WCHAR)); in LoadLogFile() 302 Buf = HeapAlloc(GetProcessHeap(), 0, MaxValueLen); in LoadLogFile() 309 ValueLen = MaxValueLen; in LoadLogFile() 323 MaxValueLen = (wcslen(L"%SystemRoot%\\System32\\Config\\") + in LoadLogFile() 326 Expanded = HeapReAlloc(GetProcessHeap(), 0, Buf, MaxValueLen); in LoadLogFile() 335 StringCbCopyW(Buf, MaxValueLen, L"%SystemRoot%\\System32\\Config\\"); in LoadLogFile() 336 StringCbCatW(Buf, MaxValueLen, LogName); in LoadLogFile() 337 StringCbCatW(Buf, MaxValueLen, L".evt"); in LoadLogFile() [all …]
|
H A D | eventsource.c | 87 DWORD dwEventSourceNameLength, MaxValueLen; in LoadEventSources() local 117 MaxValueLen = dwNumSubKeys * dwMaxSubKeyLength + wcslen(pLogFile->LogName) + 2; in LoadEventSources() 118 SourceList = HeapAlloc(GetProcessHeap(), 0, MaxValueLen * sizeof(WCHAR)); in LoadEventSources() 126 cchRemaining = MaxValueLen; in LoadEventSources() 184 (MaxValueLen - cchRemaining + 1) * sizeof(WCHAR)); in LoadEventSources()
|