On 2018-04-08 16:17, Hermès Bélusca-Maïto wrote:
        /* Retrieve the window title of the client, if
it has one */
 -    RtlInitEmptyUnicodeString(&WindowTitleU, NULL, 0);
 +    RtlInitEmptyUnicodeString(&WindowTitleU, L"", 0); 
This looks like a bug. Can you explain why you think it's necessary please?
In particular, it will break this:
if (WindowTitleU.Buffer) RtlFreeUnicodeString(&WindowTitleU);
Thanks,
Thomas