10#define WIN32_NO_STATUS
19 const WCHAR wszTestString1[] =
L"Test";
20 const WCHAR wszTestString2[] =
L"New";
50 ok(pwszTest ==
NULL,
"pwszTest is %p\n", pwszTest);
53 pwszBackup = pwszTest;
54 ok(
ReallocSplStr(&pwszTest, wszTestString2),
"ReallocSplStr is FALSE!\n");
55 ok(
wcscmp(pwszTest, wszTestString2) == 0,
"New string was not copied into pwszTest!\n");
59 dwResult = (
DWORD)
wcscmp(pwszBackup, wszTestString1);
#define EXCEPTION_EXECUTE_HANDLER
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
PWSTR WINAPI AllocSplStr(PCWSTR pwszInput)
BOOL WINAPI ReallocSplStr(PWSTR *ppwszString, PCWSTR pwszInput)
DWORD WINAPI GetLastError(void)
#define EXCEPTION_ACCESS_VIOLATION