> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IGameInput::FindDeviceFromPlatformHandle (en desuso)

> IGameInput::FindDeviceFromPlatformHandle

# IGameInput::FindDeviceFromPlatformHandle

> [!WARNING]
>
> **En desuso.** Este método se quitó en GameInput v1 y no está disponible en la API actual.

Recupera una interfaz [IGameInputDevice](https://docs.xbox.com/es/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md) basándose en un identificador de ventana o de archivo de la plataforma coincidente.

## Sintaxis

```cpp theme={null}
HRESULT FindDeviceFromPlatformHandle(
    HANDLE value,
    IGameInputDevice** device
);
```

### Parámetros

*value*   \_In\_\
Tipo: HANDLE

Un HANDLE de plataforma (como un identificador de ventana o un identificador de archivo de dispositivo) con el que buscar coincidencias.

*device*   \_COM\_Outptr\_\
Tipo: IGameInputDevice\*\*

La interfaz [IGameInputDevice](https://docs.xbox.com/es/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md) devuelta.

### Valor devuelto

Tipo: HRESULT

Devuelve E\_NOTIMPL, ya que este método nunca se implementó en v0.

## Comentarios

Este método permitía a las aplicaciones encontrar un dispositivo de GameInput mediante un identificador Win32 asociado a ese dispositivo. Se quitó en v1. Use [FindDeviceFromId](https://docs.xbox.com/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromid.md) o [FindDeviceFromPlatformString](https://docs.xbox.com/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromplatformstring.md) en su lugar.

## Historial de versiones

| Versión | Cambios |
| - | - |
| **v1** | Se quitó. |
| **v0** | Se introdujo. |

## Consulte también

[Miembros de la API de GameInput en desuso](https://docs.xbox.com/es/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)\
[IGameInput::FindDeviceFromId](https://docs.xbox.com/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromid.md)\
[IGameInput::FindDeviceFromPlatformString](https://docs.xbox.com/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromplatformstring.md)\
[IGameInput](https://docs.xbox.com/es/reference/input/gameinput/interfaces/igameinput/igameinput.md)


## Related topics

- [IGameInput::FindDeviceFromObject (en desuso)](https://docs.xbox.com/es/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_finddevicefromobject.md)
- [IGameInput::FindDeviceFromPlatformString](https://docs.xbox.com/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromplatformstring.md)
- [IGameInput::EnableOemDeviceSupport (en desuso)](https://docs.xbox.com/es/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_enableoemdevicesupport.md)
- [Miembros de la API de GameInput en desuso](https://docs.xbox.com/es/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [IGameInputDevice::PowerOff (en desuso)](https://docs.xbox.com/es/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_poweroff.md)
