Microsoft DirectX 8.0 (C++)

IDirectInputDevice8::Unacquire

Releases access to the device.

HRESULT Unacquire();

Parameters

None.

Return Values

The return value is DI_OK is the device was unacquired, or DI_NOEFFECT if the device was not in an acquired state.

Requirements

  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.