The IDirectInputDevice::Unacquire method releases access to the device.
HRESULT Unacquire();
None.
The return value is DI_OK is the device was unacquired, or DI_NOEFFECT if the device was not in an acquired state.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dinput.h.
Import Library: Use dinput.lib.