Go to the source code of this file.
◆ expect_shim
◆ HOOKAPI
◆ PHOOKAPI
◆ tGETHOOKAPIS
◆ tSDBGETAPPPATCHDIR
◆ expect_shim_imp()
Definition at line 45 of file versionlie.c.
49 winetest_ok(lib == 0,
"Expected LibrarayName to be %s, was: %s for %s\n",
library,
hook->LibraryName, shim);
50 winetest_ok(
fn == 0,
"Expected FunctionName to be %s, was: %s for %s\n",
function,
hook->FunctionName, shim);
51 *same = (lib == 0 &&
fn == 0);
static GLenum _GLUfuncptr fn
int WINAPI lstrcmpA(LPCSTR lpString1, LPCSTR lpString2)
void __winetest_cdecl winetest_ok(int condition, const char *msg,...)
◆ LoadShimDLL()
Definition at line 307 of file versionlie.c.
312 if (!pSdbGetAppPatchDir)
317 if (!pSdbGetAppPatchDir)
319 skip(
"Unable to retrieve SdbGetAppPatchDir (%p, %p)\n",
dll, pSdbGetAppPatchDir);
325 skip(
"Unable to retrieve AppPatch dir, building manually\n");
328 skip(
"Unable to build AppPatch name(1)\n");
333 skip(
"Unable to build AppPatch name(2)\n");
340 skip(
"Unable to append dll name\n");
347 skip(
"Unable to load shim dll from AppPatch\n");
358 skip(
"Unable to load shim dll from System32 (Recent Win10)\n");
365 return *ppGetHookAPIs !=
NULL;
UINT WINAPI GetSystemWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
STRSAFEAPI StringCchCatW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
GLenum GLuint GLenum GLsizei const GLchar * buf
HRESULT(WINAPI * tSDBGETAPPPATCHDIR)(PVOID hsdb, LPWSTR path, DWORD size)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
PHOOKAPI(WINAPI * tGETHOOKAPIS)(LPCSTR szCommandLine, LPCWSTR wszShimName, PDWORD pdwHookCount)
#define GetProcAddress(x, y)
Referenced by LoadShimDLL2(), run_test(), and START_TEST().
◆ LoadShimDLL2()
Definition at line 369 of file versionlie.c.
377 skip(
"No GetHookAPIs found\n");
PHOOKAPI(WINAPI * tGETHOOKAPIS)(LPCSTR szCommandLine, LPCWSTR wszShimName, PDWORD pdwHookCount)
static tGETHOOKAPIS pGetHookAPIs
BOOL LoadShimDLL(PCWSTR ShimDll, HMODULE *module, tGETHOOKAPIS *ppGetHookAPIs)
Referenced by START_TEST().