21 Sep
2022
21 Sep
'22
2:15 p.m.
Huw Davies (@huw) commented about dlls/kernelbase/registry.c:
return ret; }
+static void generate_string_uuid(WCHAR *out, DWORD out_size) +{ + UUID uuid; + LARGE_INTEGER ft; + ULONG seed; + + NtQuerySystemTime(&ft); + seed = ft.LowPart; + for (int i = 0; i < sizeof(uuid); ++i) + ((UCHAR*)&uuid)[i] = (UCHAR)RtlRandom(&seed); + +
Remove one of the empty lines. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/820#note_8979