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);
#define WideCharToMultiByte
static const WCHAR szDllName[]
char * wine_dbgstr_w(const wchar_t *wstr)
int WINAPI lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2)
static BOOL init_functionpointers(void)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
static const WCHAR version[]
static LPWSTR pwzCachePath
static HRESULT(WINAPI *pGetCachePath)(ASM_CACHE_FLAGS dwCacheFlags
static DWORD DWORD * dwLength
static void test_GetCachePath(void)
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
static LPCWSTR LPVOID HMODULE * phModDll
#define E_NOT_SUFFICIENT_BUFFER
static LPWSTR PDWORD pcchPath
int WINAPIV wsprintfA(_Out_ LPSTR, _In_ _Printf_format_string_ LPCSTR,...)
UINT WINAPI GetWindowsDirectoryA(OUT LPSTR lpBuffer, IN UINT uSize)
#define MultiByteToWideChar
static LPCWSTR LPVOID pvReserved
#define GetProcAddress(x, y)
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)