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
12 START_TEST(MultiByteToWideChar
)
16 ret
= MultiByteToWideChar(CP_UTF8
, 0, "a", sizeof("a"), 0, 0);
17 ok(ret
== 2, "ret should be 2, is %d\n", ret
);
19 ret
= MultiByteToWideChar(CP_UTF8
, MB_ERR_INVALID_CHARS
, "a", sizeof("a"), 0, 0);
20 ok(ret
== 2, "ret should be 2, is %d\n", ret
);