41 win_skip(
"mscoree.dll not available\n");
46 if (!pLoadLibraryShim)
48 win_skip(
"LoadLibraryShim not available\n");
55 hr = pLoadLibraryShim(
L"fusion.dll",
NULL,
NULL, &hfusion);
58 win_skip(
"fusion.dll not available\n");
79 win_skip(
"GetCachePath not implemented\n");
93 "Expected %d, got %ld\n",
lstrlenW(cachepath) + 1,
size);
100 "Expected %d, got %ld\n",
lstrlenW(cachepath) + 1,
size);
117 ok(
hr ==
S_OK,
"Expected S_OK, got %08lx\n",
hr);
137 "Expected S_OK, got %08lx\n",
hr);
150 lstrcpyA(nativeimgA,
"NativeImages_");
152 lstrcpyA(zapfmtA,
"%s\\%s\\%s%s_64");
154 lstrcpyA(zapfmtA,
"%s\\%s\\%s%s_32");
159 lstrcpyA(nativeimgA,
"NativeImages1_");
166 wsprintfA(cachepathA, zapfmtA, windirA,
"assembly", nativeimgA, versionA);
173 ok(
hr ==
S_OK,
"Expected S_OK, got %08lx\n",
hr);
#define GetProcAddress(x, y)
#define WideCharToMultiByte
#define MultiByteToWideChar
static const WCHAR version[]
static DWORD DWORD * dwLength
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
UINT WINAPI GetWindowsDirectoryA(OUT LPSTR lpBuffer, IN UINT uSize)
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
static const WCHAR szDllName[]
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
static LPWSTR pwzCachePath
static LPCWSTR LPVOID pvReserved
static LPWSTR PDWORD pcchPath
static BOOL init_functionpointers(void)
static void test_GetCachePath(void)
static LPCWSTR LPVOID HMODULE * phModDll
int WINAPIV wsprintfA(_Out_ LPSTR, _In_ _Printf_format_string_ LPCSTR,...)
#define E_NOT_SUFFICIENT_BUFFER