Skip to main content

IGameInput::FindDeviceFromObject

Deprecated. This method was removed in GameInput v1 and is not available in the current API.
Retrieves an IGameInputDevice interface based on a matching platform COM object reference.

Syntax

Parameters

value   _In_
Type: IUnknown*
A platform COM object (such as an IDirectInputDevice8 instance) to match against. device   _COM_Outptr_
Type: IGameInputDevice**
The returned IGameInputDevice interface.

Return value

Type: HRESULT Returns E_NOTIMPL, as this method was never implemented in v0.

Remarks

This method allowed applications to retrieve a GameInput device interface from an existing platform object such as a DirectInput device. It was removed in v1. The active alternatives are FindDeviceFromId and FindDeviceFromPlatformString.

Version History

See also

Deprecated GameInput API members
IGameInput::FindDeviceFromId
IGameInput::FindDeviceFromPlatformString
IGameInput
Last modified on August 4, 2026