209{
215
218 {
219 skip(
"Tests require a newer dinput version\n");
220 return;
221 }
224
228
229 hr = IUnknown_QueryInterface(
pDI, &IID_IDirectInput2W, (
LPVOID*)&
obj);
230 ok(
SUCCEEDED(
hr),
"QueryInterface(IDirectInput7W) failed: %08x\n",
hr);
231
236 {
238
243
244
245
248 {
250
254 }
255
257 }
258 if (
obj) IUnknown_Release(
obj);
259 if (
pDI) IUnknown_Release(
pDI);
260}
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define WS_OVERLAPPEDWINDOW
DWORD WINAPI GetLastError(void)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k)
BOOL WINAPI DestroyWindow(_In_ HWND)