120ce60f90354045c8f42786514ca84be43d0d7d
2 * PROJECT: ReactOS api tests
3 * LICENSE: GPLv2+ - See COPYING in the top level directory
4 * PURPOSE: Test for MultiByteToWideChar
5 * PROGRAMMER: Mike "tamlin" Nordell
10 START_TEST(MultiByteToWideChar
)
14 ret
= MultiByteToWideChar(CP_UTF8
, 0, "a", sizeof("a"), 0, 0);
15 ok(ret
== 2, "ret should be 2, is %d\n", ret
);
17 ret
= MultiByteToWideChar(CP_UTF8
, MB_ERR_INVALID_CHARS
, "a", sizeof("a"), 0, 0);
18 ok(ret
== 2, "ret should be 2, is %d\n", ret
);