From 42235c3cc9dc34bce5e54fbbef0a7a379baf8890 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Sun, 25 Mar 2012 15:48:37 +0200 Subject: [PATCH] dinput8/tests: Use CLSCTX_INPROC_SERVER instead of a magic number. --- dlls/dinput8/tests/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dinput8/tests/device.c b/dlls/dinput8/tests/device.c index 7fbdfaac1bf..2deb3488b9b 100644 --- a/dlls/dinput8/tests/device.c +++ b/dlls/dinput8/tests/device.c @@ -271,7 +271,7 @@ static void test_action_mapping(void) DIACTIONFORMAT af; struct enum_data data = {pDI, &af, NULL, NULL, NULL, 0}; - hr = CoCreateInstance(&CLSID_DirectInput8, 0, 1, &IID_IDirectInput8A, (LPVOID*)&pDI); + hr = CoCreateInstance(&CLSID_DirectInput8, 0, CLSCTX_INPROC_SERVER, &IID_IDirectInput8A, (LPVOID*)&pDI); if (hr == DIERR_OLDDIRECTINPUTVERSION || hr == DIERR_BETADIRECTINPUTVERSION || hr == REGDB_E_CLASSNOTREG)