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

Récupère une interface `IGameInputDevice` en fonction d'une chaîne de plateforme correspondante.

## Syntaxe

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

### Paramètres

*value*   \_In\_\
Type : LPCWSTR

Chaîne de plateforme à faire correspondre.

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

Interface [IGameInputDevice](/fr-CA/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice) retournée.

### Valeur de retour

Type : HRESULT

[Rubriques avancées sur GameInput](/fr-CA/build/core-features/common/input/advanced/input-advanced-topics)\
[Vue d'ensemble de GameInput](/fr-CA/build/core-features/common/input/overviews/input-overview)\
[IGameInput](/fr-CA/reference/input/gameinput/interfaces/igameinput/igameinput)

## Historique des versions

| Version | Modifications |
| - | - |
| **v0** | Introduit. |


## 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)
