10#define WIN32_NO_STATUS
25#define RETURN_DIFF (g_WinVersion >= _WIN32_WINNT_VISTA)
28#define DIFF_RETURN(sign, absolute) (sign (RETURN_DIFF ? absolute : 1))
41 ret =
_mbsncmp((
const unsigned char *)
"a", (
const unsigned char *)
"c", 0);
54 ret =
_mbsncmp((
const unsigned char *)
"a", (
const unsigned char *)
"c", 1);
57 ret =
_mbsncmp((
const unsigned char *)
"a", (
const unsigned char *)
"a", 1);
60 ret =
_mbsncmp((
const unsigned char *)
"ab", (
const unsigned char *)
"aB", 1);
63 ret =
_mbsncmp((
const unsigned char *)
"aa", (
const unsigned char *)
"ac", 2);
67 ret =
_mbsncmp((
const unsigned char *)
"a", (
const unsigned char *)
"ac", 2);
70 ret =
_mbsncmp((
const unsigned char *)
"aa", (
const unsigned char *)
"a", 2);
73 ret =
_mbsncmp((
const unsigned char *)
"ab", (
const unsigned char *)
"ab", 100);
#define DIFF_RETURN(sign, absolute)
#define EndSeh(ExpectedStatus)
_Check_return_ _CRTIMP int __cdecl _mbsncmp(_In_z_ const unsigned char *_Str1, _In_z_ const unsigned char *_Str2, _In_ size_t _MaxCount)
#define STATUS_ACCESS_VIOLATION
DWORD WINAPI GetVersion()
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version