IDirectInputDevice8::Unacquire Method

Releases access to the device.

Syntax

HRESULT Unacquire()

Return Value

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

Requirements

Header: Declared in dinput.h.