Go to the source code of this file.
◆ START_TEST()
Definition at line 121 of file GetEnvironmentVariable.c.
122{
125}
static void Test_GetEnvironmentVariableA(void)
static void Test_GetEnvironmentVariableW(void)
◆ Test_GetEnvironmentVariableA()
| static void Test_GetEnvironmentVariableA |
( |
void |
| ) |
|
|
static |
Definition at line 10 of file GetEnvironmentVariable.c.
11{
14
15
20 ok(ActualLength <
ARRAYSIZE(
Buffer) - 1,
"ActualLength == ARRAYSIZE(Buffer) - 1. Not null-terminated?\n");
23
24
27
28
33
34
39
40
46
47
52
53
56
57
61}
#define ok_eq_char(value, expected)
#define ok_eq_ulong(value, expected)
#define ok_eq_wchar(value, expected)
#define EndSeh(ExpectedStatus)
#define GetEnvironmentVariableA(x, y, z)
_ACRTIMP size_t __cdecl strlen(const char *)
#define STATUS_ACCESS_VIOLATION
_In_ ULONG _In_ ULONG _In_ ULONG Length
Referenced by START_TEST().
◆ Test_GetEnvironmentVariableW()
| static void Test_GetEnvironmentVariableW |
( |
void |
| ) |
|
|
static |
Definition at line 63 of file GetEnvironmentVariable.c.
64{
67
68
73 ok(ActualLength <
ARRAYSIZE(
Buffer) - 1,
"ActualLength == ARRAYSIZE(Buffer) - 1. Not null-terminated?\n");
76
77
80
81
87
88
94
95
101
102
107
108
113
114
119}
#define GetEnvironmentVariableW(x, y, z)
_ACRTIMP size_t __cdecl wcslen(const wchar_t *)
Referenced by START_TEST().