Commit 42235c3c authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

dinput8/tests: Use CLSCTX_INPROC_SERVER instead of a magic number.

parent 146176cc
...@@ -271,7 +271,7 @@ static void test_action_mapping(void) ...@@ -271,7 +271,7 @@ static void test_action_mapping(void)
DIACTIONFORMAT af; DIACTIONFORMAT af;
struct enum_data data = {pDI, &af, NULL, NULL, NULL, 0}; 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 || if (hr == DIERR_OLDDIRECTINPUTVERSION ||
hr == DIERR_BETADIRECTINPUTVERSION || hr == DIERR_BETADIRECTINPUTVERSION ||
hr == REGDB_E_CLASSNOTREG) hr == REGDB_E_CLASSNOTREG)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment