Aleksey Bragin wrote:
Shouldn't the LARGE_UNICODE_STRING be used there instead?
On Windows the window name is ANSI for an ANSI caller and UNICODE for a UNICODE caller. The class name is always in UNICODE though.
See also http://www.reactos.org/wiki/Techwiki:Win32k/LARGE_UNICODE_STRING