1 /*
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
6  */
7 
8 #include "precomp.h"
9 
10 START_TEST(MultiByteToWideChar)
11 {
12     int ret;
13 
14     ret = MultiByteToWideChar(CP_UTF8, 0, "a", sizeof("a"), 0, 0);
15     ok(ret == 2, "ret should be 2, is %d\n", ret);
16 
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);
19 }
20