http://bugs.winehq.org/show_bug.cgi?id=16195
Summary: GetKeyNameTextW returns a wrong length Product: Wine Version: 1.1.9 Platform: PC-x86-64 OS/Version: Windows Vista Status: UNCONFIRMED Severity: enhancement Priority: P4 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: winehq.5.tahtu@spamgourmet.com
int Len; LPTSTR lpString[64];
Len = GetKeyNameTextW(22151168, lpString, 32);
After this call lpString has the correct "Insert" string - bug Len has the wrong value 1 - I expect the value 6.
PS Please note: It's the unicode version of GetKeyNameText.