> ## 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::FindDeviceFromPlatformString

> IGameInput::FindDeviceFromPlatformString

# IGameInput::FindDeviceFromPlatformString

Recupera una interfaz `IGameInputDevice` en función de una cadena de plataforma coincidente.

## Sintaxis

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

### Parámetros

*value*   \_In\_\\
Tipo: LPCWSTR

Cadena de plataforma que debe coincidir.

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

Interfaz [IGameInputDevice](/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice) devuelta.

### Valor devuelto

Tipo: HRESULT

[Temas avanzados de GameInput](/build/core-features/common/input/advanced/input-advanced-topics)\
[Información general de GameInput](/build/core-features/common/input/overviews/input-overview)\
[IGameInput](/reference/input/gameinput/interfaces/igameinput/igameinput)

## Historial de versiones

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


## Related topics

- [IGameInput::FindDeviceFromPlatformHandle](/es/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_finddevicefromplatformhandle.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)
