#include <apitest.h>
#include <shlwapi.h>
#include <strsafe.h>
Go to the source code of this file.
◆ DO_TEST
Value:do { \
ok(
ret == (Res),
"Tested %s, expected returned value %d, got %d\n", \
ok(
_wcsicmp(OutStr, (ExpStr)) == 0,
"Tested %s, expected %s, got %s\n", \
} while (0)
BOOL WINAPI PathUnExpandEnvStringsW(LPCWSTR path, LPWSTR buffer, UINT buf_len)
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
Definition at line 12 of file PathUnExpandEnvStrings.c.
◆ START_TEST()
Definition at line 22 of file PathUnExpandEnvStrings.c.
23{
29
30
31
32
33
34
35
36
38
39
43#if 0
50#endif
51
52
53
54
55
56
57
58 DO_TEST(
FALSE,
L"%SystemRoot%\\%SystemRoot%",
L"%SystemRoot%\\%SystemRoot%");
59
60
61
62
63
64
70
76
77
78
79
80
86
87
88
89
90
95
96
97
98
99
107
108
109
110
111
112
119}
#define DO_TEST(Res, TestStr, ExpStr)
#define GetEnvironmentVariableW(x, y, z)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
STRSAFEAPI StringCchCatW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
STRSAFEAPI StringCchCopyW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)