mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
CORE-11700
This commit is contained in:
parent
8043706bf0
commit
bfa92268da
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,7 @@ START_TEST(NtUserGetKeyboardLayoutName)
|
|||
RtlZeroMemory(szBuff, sizeof(szBuff));
|
||||
ustr.Buffer = szBuff;
|
||||
ustr.Length = 0;
|
||||
ustr.MaximumLength = RTL_NUMBER_OF(szBuff);
|
||||
ustr.MaximumLength = RTL_NUMBER_OF(szBuff) * sizeof(WCHAR);
|
||||
ret = bHung = FALSE;
|
||||
_SEH2_TRY
|
||||
{
|
||||
|
@ -56,4 +56,5 @@ START_TEST(NtUserGetKeyboardLayoutName)
|
|||
ok_int(bHung, FALSE);
|
||||
ok_int(ret, TRUE);
|
||||
ok(szBuff[0] != 0, "szBuff[0] was %d\n", szBuff[0]);
|
||||
trace("szBuff: %S\n", szBuff);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue