On Thu Sep 5 17:54:21 2024 +0000, Alfred Agrell wrote:
RtlInitUnicodeString doesn't allocate, it just puts the pointer in the struct. Better just just drop that variable.
@Alcaro But this is char string, not wchar. First, the char string is copied to wchar string, and then the UNICODE_SATRING structure is filled.