#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)
#define PathUnExpandEnvStringsForUserW
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
Definition at line 12 of file PathUnExpandEnvStringsForUser.c.
◆ PathUnExpandEnvStringsForUserW
◆ PATHUNEXPANDENVSTRINGSFORUSERW
◆ START_TEST()
START_TEST |
( |
PathUnExpandEnvStringsForUser |
| ) |
|
Definition at line 26 of file PathUnExpandEnvStringsForUser.c.
27{
31
34 {
35 skip(
"shlwapi.dll was not loaded\n");
36 return;
37 }
38
41
43 {
44 trace(
"PathUnExpandEnvStringsForUserW is not public\n");
47 }
49 {
50 skip(
"PathUnExpandEnvStringsForUserW was not found\n");
51 return;
52 }
53
54#define PathUnExpandEnvStringsForUserW (*pPathUnExpandEnvStringsForUserW)
55
56
61
62
67
68
80
81
93
94
106
107
119}
#define DO_TEST(Res, hToken, TestStr, ExpStr, Len)
PATHUNEXPANDENVSTRINGSFORUSERW pPathUnExpandEnvStringsForUserW
BOOL(WINAPI * PATHUNEXPANDENVSTRINGSFORUSERW)(HANDLE hToken, LPCWSTR pszPath, LPWSTR pszUnExpanded, INT cchUnExpanded)
#define GetEnvironmentVariableW(x, y, z)
#define GetProcAddress(x, y)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
STRSAFEAPI StringCbCatW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszSrc)
◆ pPathUnExpandEnvStringsForUserW