117 PCSTR Functions[] = {
121 "DirectXSetupGetVersion",
137 for (
n = 0; Functions[
n]; ++
n)
140 ok(
fn !=
NULL,
"Got NULL for %s\n", Functions[
n]);
195 ok(
hook !=
NULL,
"Expected hook to be a valid pointer\n");
196 ok(num_shims == 6,
"Expected num_shims to be 6, was: %u\n", num_shims);
198 if (!
hook || !num_shims)
201 for (
n = 0;
n < num_shims; ++
n)
217 DWORD dwMinorVersion = 0xbeefdead;
std::map< E_MODULE, HMODULE > mod
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char * FunctionName
PHOOKAPI(WINAPI * tGETHOOKAPIS)(LPCSTR szCommandLine, LPCWSTR wszShimName, PDWORD pdwHookCount)
BOOL LoadShimDLL(PCWSTR ShimDll, HMODULE *module, tGETHOOKAPIS *ppGetHookAPIs)
#define ok_hex(expression, result)
#define ok_int(expression, result)
#define ok_ptr(expression, result)
#define GetProcAddress(x, y)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
static void test_GetProcAddress(PHOOKAPI hook)
static HMODULE WINAPI my_LoadLibraryA(PCSTR Name)
HMODULE(WINAPI * LOADLIBRARYAPROC)(PCSTR)
FARPROC(WINAPI * GETPROCADDRESSPROC)(HMODULE, PCSTR)
static HMODULE g_hSentinelModule
static void test_LoadLibraryA(PHOOKAPI hook)
static void test_LoadLibraryW(PHOOKAPI hook)
static HMODULE g_hShimDll
static DWORD * lpdwMinorVersion
static HMODULE WINAPI my_LoadLibraryW(PCWSTR Name)
BOOL(WINAPI * FREELIBRARYPROC)(HMODULE)
BOOL WINAPI my_FreeLibrary(HMODULE module)
static tGETHOOKAPIS pGetHookAPIs
static void test_FreeLibrary(PHOOKAPI hook)
HMODULE(WINAPI * LOADLIBRARYWPROC)(PCWSTR)
INT_PTR WINAPI DirectXSetupGetVersion(DWORD *lpdwVersion, DWORD *lpdwMinorVersion)
static GLenum _GLUfuncptr fn