38 static const WCHAR szFusion[] = {
'f',
'u',
's',
'i',
'o',
'n',
'.',
'd',
'l',
'l',0};
43 win_skip(
"mscoree.dll not available\n");
48 if (!pLoadLibraryShim)
50 win_skip(
"LoadLibraryShim not available\n");
57 hr = pLoadLibraryShim(szFusion,
NULL,
NULL, &hfusion);
60 win_skip(
"fusion.dll not available\n");
79 static const WCHAR backslash[] = {
'\\',0};
80 static const WCHAR nochange[] = {
'n',
'o',
'c',
'h',
'a',
'n',
'g',
'e',0};
81 static const WCHAR assembly[] = {
'a',
's',
's',
'e',
'm',
'b',
'l',
'y',0};
82 static const WCHAR gac[] = {
'G',
'A',
'C',0};
86 win_skip(
"GetCachePath not implemented\n");
103 "Expected %d, got %d\n",
lstrlenW(cachepath) + 1,
size);
110 "Expected %d, got %d\n",
lstrlenW(cachepath) + 1,
size);
126 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
146 "Expected S_OK, got %08x\n",
hr);
159 lstrcpyA(nativeimgA,
"NativeImages_");
161 lstrcpyA(zapfmtA,
"%s\\%s\\%s%s_64");
163 lstrcpyA(zapfmtA,
"%s\\%s\\%s%s_32");
168 lstrcpyA(nativeimgA,
"NativeImages1_");
175 wsprintfA(cachepathA, zapfmtA, windirA,
"assembly", nativeimgA, versionA);
182 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
static const WCHAR szDllName[]
#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)
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
static LPCSTR DWORD void * pvReserved
static LPWSTR pwzCachePath
static LPWSTR PDWORD pcchPath
static BOOL init_functionpointers(void)
static void test_GetCachePath(void)
static LPCWSTR LPVOID HMODULE * phModDll
#define E_NOT_SUFFICIENT_BUFFER
int WINAPIV wsprintfA(_Out_ LPSTR, _In_ _Printf_format_string_ LPCSTR,...)