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)
Declare `i` outside of the `for`. Also, making this loop look more like `generate_uuid()` in `dlls/ntdll/actctx.c` would be good.