///////////////////////////////////////////////////////
| 443 | |
| 444 | //////////////////////////////////////////////////////////// |
| 445 | void JoystickImpl::cleanupDInput() |
| 446 | { |
| 447 | // Release the DirectInput interface |
| 448 | if (directInput) |
| 449 | { |
| 450 | directInput->Release(); |
| 451 | directInput = nullptr; |
| 452 | } |
| 453 | |
| 454 | // Unload dinput8.dll |
| 455 | if (dinput8dll) |
| 456 | FreeLibrary(dinput8dll); |
| 457 | } |
| 458 | |
| 459 | |
| 460 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected