012fc7b748fbe037ffbf27113971d0c29daa20d1
2 * PROJECT: ReactOS api tests
3 * LICENSE: GPL - See COPYING in the top level directory
4 * PURPOSE: Test for mbstowcs
9 #define WIN32_NO_STATUS
12 #include <specstrings.h>
14 #define StrROS "ReactOS"
21 len
= mbstowcs(NULL
, StrROS
, sizeof(StrROS
) / sizeof(StrROS
[0]));
22 ok(len
== 7, "Got len = %u, excepting 7\n", len
);
23 len
= mbstowcs(NULL
, StrROS
, sizeof(StrROS
) / sizeof(StrROS
[0]) - 1);
24 ok(len
== 7, "Got len = %u, excepting 7\n", len
);