On Thu Mar 27 10:55:34 2025 +0000, Alfred Agrell wrote:
*polguid is some uninitialized stack garbage from the caller, and will soon be overwritten. Better remove the asterisk. Better trace that HKEY too. Tracing global variables like that is rare; sounds useful, but nothing else in Wine does that. I don't know if it's a good or bad idea.
Well, according to the SDK docs, the HKEY is unused and should be set to NULL. I've set it to non-null under Windows, and it doesn't seem to matter. Windows doesn't even throw an invalid parameter.