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.
46{
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);
52}
int WINAPI lstrcmpA(LPCSTR str1, LPCSTR str2)
void __winetest_cdecl winetest_ok(int condition, const char *msg,...)
static GLenum _GLUfuncptr fn
◆ LoadShimDLL()
Definition at line 307 of file versionlie.c.
308{
312 if (!pSdbGetAppPatchDir)
313 {
316
317 if (!pSdbGetAppPatchDir)
318 {
319 skip(
"Unable to retrieve SdbGetAppPatchDir (%p, %p)\n",
dll, pSdbGetAppPatchDir);
320 }
321 }
322
324 {
325 skip(
"Unable to retrieve AppPatch dir, building manually\n");
327 {
328 skip(
"Unable to build AppPatch name(1)\n");
330 }
332 {
333 skip(
"Unable to build AppPatch name(2)\n");
335 }
336 }
339 {
340 skip(
"Unable to append dll name\n");
342 }
343
346 {
347 skip(
"Unable to load shim dll from AppPatch\n");
349
352 {
354 }
355
357 {
358 skip(
"Unable to load shim dll from System32 (Recent Win10)\n");
360 }
361 }
364
365 return *ppGetHookAPIs !=
NULL;
366}
PHOOKAPI(WINAPI * tGETHOOKAPIS)(LPCSTR szCommandLine, LPCWSTR wszShimName, PDWORD pdwHookCount)
HRESULT(WINAPI * tSDBGETAPPPATCHDIR)(PVOID hsdb, LPWSTR path, DWORD size)
#define GetProcAddress(x, y)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
UINT WINAPI GetSystemWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
GLenum GLuint GLenum GLsizei const GLchar * buf
STRSAFEAPI StringCchCatW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
Referenced by LoadShimDLL2(), run_test(), and START_TEST().
◆ LoadShimDLL2()
Definition at line 369 of file versionlie.c.
370{
373
375 {
377 skip(
"No GetHookAPIs found\n");
379 }
381}
BOOL LoadShimDLL(PCWSTR ShimDll, HMODULE *module, tGETHOOKAPIS *ppGetHookAPIs)
static tGETHOOKAPIS pGetHookAPIs
Referenced by START_TEST().