#include <apitest.h>
#include <apitest_guard.h>
#include <stdio.h>
#include <tchar.h>
#include <pseh/pseh2.h>
#include <ndk/mmfuncs.h>
#include <ndk/rtlfuncs.h>
Go to the source code of this file.
◆ WIN32_NO_STATUS
◆ START_TEST()
Definition at line 31 of file sprintf.c.
32{
36
37
41
45#if TEST_CRTDLL || TEST_USER32
47#else
49#endif
50
54#if TEST_CRTDLL || TEST_USER32
56#else
58#endif
59
60
64
68
72
76
80
84
85
89
93
97
101
105
109
111#ifdef TEST_USER32
114#else
117#endif
118
119
123
127
131
135
139
142#ifdef TEST_USER32
145#else
148#endif
150
153 {
154 skip(
"Guarded allocation failure\n");
155 return;
156 }
157
164
170
176
182
188#ifdef TEST_USER32
190#else
192#endif
193
198#ifdef TEST_USER32
200#else
202#endif
203
206#ifdef TEST_USER32
209#else
212#endif
214
217#ifdef TEST_USER32
220#else
223#endif
225
226
231#ifdef TEST_USER32
233#else
235#endif
236
239#ifdef TEST_USER32
242#else
245#endif
247
250#ifdef TEST_USER32
253#else
256#endif
258
260}
#define EndSeh(ExpectedStatus)
char * strcpy(char *DstString, const char *SrcString)
static VOID FreeGuarded(_In_ PVOID Pointer)
static PVOID AllocateGuarded(_In_ SIZE_T SizeRequested)
#define ok_int(expression, result)
#define sprintf(buf, format,...)
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define STATUS_ACCESS_VIOLATION
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String