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

# IGameInput::FindDeviceFromPlatformHandle

> IGameInput::FindDeviceFromPlatformHandle

# IGameInput::FindDeviceFromPlatformHandle

<Warning>**En desuso.** Este método se quitó en GameInput v1 y no está disponible en la API actual.</Warning>

Recupera una interfaz [IGameInputDevice](/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice) 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](/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice) 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](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromid) o [FindDeviceFromPlatformString](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromplatformstring) 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](/reference/input/gameinput/deprecated/gameinput_deprecated_members)\
[IGameInput::FindDeviceFromId](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromid)\
[IGameInput::FindDeviceFromPlatformString](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromplatformstring)\
[IGameInput](/reference/input/gameinput/interfaces/igameinput/igameinput)


## Related topics

- [IGameInput::FindDeviceFromPlatformString](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromplatformstring.md)
- [IGameInput::FindDeviceFromObject](/es/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_finddevicefromobject.md)
- [IGameInput::FindDeviceFromId](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromid.md)
- [Miembros de la API de GameInput en desuso](/es/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [APP_LOCAL_DEVICE_ID](/es/reference/system/xuser/structs/app_local_device_id.md)
