24 ok_str(szBuff,
"%WINDIR%\\TEST");
28 ok_str(szBuff,
"Test string one.");
42 ok_wstr(szBuff,
L"Test string one.");
52 static const WCHAR s_szTestValue1[] =
L"%WINDIR%\\TEST";
53 static const WCHAR s_szTestValue2[] =
L"@SHLoadRegUIString.dll%EmptyEnvVar%,-3";
64 skip(
"No procedure found\n");
70 skip(
"File 'SHLoadRegUIString.dll' cannot be extracted\n");
static FN_SHLoadRegUIStringW pSHLoadRegUIStringW
BOOL extract_resource(const WCHAR *Filename, LPCWSTR ResourceName)
static FN_SHLoadRegUIStringA pSHLoadRegUIStringA
HRESULT(WINAPI * FN_SHLoadRegUIStringA)(HKEY hkey, LPCSTR value, LPSTR buf, DWORD size)
static void test_SHLoadRegUIStringW(HKEY hKey)
static void test_SHLoadRegUIStringA(HKEY hKey)
HRESULT(WINAPI * FN_SHLoadRegUIStringW)(HKEY hkey, LPCWSTR value, LPWSTR buf, DWORD size)
#define ok_long(expression, result)
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegDeleteValueW(HKEY hKey, LPCWSTR lpValueName)
#define GetProcAddress(x, y)
BOOL WINAPI DECLSPEC_HOTPATCH SetEnvironmentVariableW(IN LPCWSTR lpName, IN LPCWSTR lpValue)
BOOL WINAPI DeleteFileW(IN LPCWSTR lpFileName)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
GLenum GLuint GLenum GLsizei const GLchar * buf
#define SHLoadRegUIString
#define HKEY_CURRENT_USER
#define MAKEINTRESOURCEW(i)