src/haptic/windows/SDL_dinputhaptic.c
changeset 13838 02e41b30186f
parent 13789 a359f4f93439
child 13914 348d0896fc9e
equal deleted inserted replaced
13837:c18c3084bd77 13838:02e41b30186f
    85     }
    85     }
    86 
    86 
    87     coinitialized = SDL_TRUE;
    87     coinitialized = SDL_TRUE;
    88 
    88 
    89     ret = CoCreateInstance(&CLSID_DirectInput8, NULL, CLSCTX_INPROC_SERVER,
    89     ret = CoCreateInstance(&CLSID_DirectInput8, NULL, CLSCTX_INPROC_SERVER,
    90         &IID_IDirectInput8, (LPVOID)& dinput);
    90         &IID_IDirectInput8, (LPVOID *) &dinput);
    91     if (FAILED(ret)) {
    91     if (FAILED(ret)) {
    92         SDL_SYS_HapticQuit();
    92         SDL_SYS_HapticQuit();
    93         return DI_SetError("CoCreateInstance", ret);
    93         return DI_SetError("CoCreateInstance", ret);
    94     }
    94     }
    95 
    95