> ## 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 uma interface `IGameInputDevice` com base em uma cadeia de caracteres de plataforma correspondente.

## Sintaxe

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

### Parâmetros

*value*   \_In\_\
Tipo: LPCWSTR

Cadeia de caracteres de plataforma a ser correspondida.

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

Interface [IGameInputDevice](/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice) retornada.

### Valor retornado

Tipo: HRESULT

[Tópicos avançados do GameInput](/pt-BR/build/core-features/common/input/advanced/input-advanced-topics)\
[Visão geral do GameInput](/pt-BR/build/core-features/common/input/overviews/input-overview)\
[IGameInput](/pt-BR/reference/input/gameinput/interfaces/igameinput/igameinput)

## Histórico de versões

| Versão | Alterações |
| - | - |
| **v0** | Introduzido. |


## Related topics

- [IGameInput::FindDeviceFromPlatformString](/ko/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromplatformstring.md)
- [IGameInput::FindDeviceFromPlatformHandle](/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_finddevicefromplatformhandle.md)
