78{
81
84 return;
85
89
90
91
93 {
96
98
100 {
102 continue;
103 }
104
106 ok(num_shims == expected_shims,
"Expected %u shims, got %u for %s\n",
108 for (
h = 0;
h <
min(num_shims, expected_shims); ++
h)
109 {
114 ok(lib == 0,
"Expected LibraryName to be %s, was: %s for %s\n",
116 ok(
fn == 0,
"Expected FunctionName to be %s, was: %s for %s\n",
118 }
119 if (num_shims > expected_shims)
120 {
121 for (
h = expected_shims;
h < num_shims; ++
h)
122 {
124
125 ok(0,
"Extra shim: %s!%s for %s\n",
127 }
128 }
129 else
130 {
131 for (
h = num_shims;
h < expected_shims; ++
h)
132 {
134
135 ok(0,
"Missing shim: %s!%s for %s\n",
137 }
138 }
139 }
140}
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)
static DWORD count_shims(expect_shim_data *data)
static const char * safe_str(const char *ptr)
static DWORD g_WinVersion
GLfloat GLfloat GLfloat GLfloat h
struct task_struct * current
static tGETHOOKAPIS pGetHookAPIs
for(i=0;i< sizeof(testsuite)/sizeof(testsuite[0]);++i) ok(call_test(testsuite[i].func)
ULONG dwOSVersionInfoSize
static GLenum _GLUfuncptr fn