90{
93
96 return;
97
101
102
103
105 {
108
110
112 {
114 continue;
115 }
116
118 ok(num_shims == expected_shims,
"Expected %u shims, got %u for %s\n",
120 for (
h = 0;
h <
min(num_shims, expected_shims); ++
h)
121 {
126 ok(lib == 0,
"Expected LibraryName to be %s, was: %s for %s\n",
128 ok(
fn == 0,
"Expected FunctionName to be %s, was: %s for %s\n",
130 }
131 if (num_shims > expected_shims)
132 {
133 for (
h = expected_shims;
h < num_shims; ++
h)
134 {
136
137 ok(0,
"Extra shim: %s!%s for %s\n",
139 }
140 }
141 else
142 {
143 for (
h = num_shims;
h < expected_shims; ++
h)
144 {
146
147 ok(0,
"Missing shim: %s!%s for %s\n",
149 }
150 }
151 }
152}
PHOOKAPI(WINAPI * tGETHOOKAPIS)(LPCSTR szCommandLine, LPCWSTR wszShimName, PDWORD pdwHookCount)
tGETHOOKAPIS LoadShimDLL2(PCWSTR ShimDll)
NTSTATUS NTAPI RtlGetVersion(IN OUT PRTL_OSVERSIONINFOW lpVersionInformation)
int WINAPI lstrcmpA(LPCSTR str1, LPCSTR str2)
for(i=0;i< ARRAY_SIZE(offsets);i++)
GLfloat GLfloat GLfloat GLfloat h
static DWORD count_shims(expect_shim_data *data)
static const char * safe_str(const char *ptr)
static DWORD g_WinVersion
struct task_struct * current
static tGETHOOKAPIS pGetHookAPIs
ULONG dwOSVersionInfoSize
static GLenum _GLUfuncptr fn