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

一致するプラットフォーム文字列に基づいて `IGameInputDevice` インターフェイスを取得します。

## 構文

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

### パラメーター

*value*   \_In\_\
型: LPCWSTR

一致させるプラットフォーム文字列。

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

返される [IGameInputDevice](/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice) インターフェイス。

### 戻り値

型: HRESULT

[高度な GameInput トピック](/build/core-features/common/input/advanced/input-advanced-topics)\
[GameInput の概要](/build/core-features/common/input/overviews/input-overview)\
[IGameInput](/reference/input/gameinput/interfaces/igameinput/igameinput)

## バージョン履歴

| バージョン  | 変更内容     |
| ------ | -------- |
| **v0** | 導入されました。 |


## Related topics

- [IGameInput::FindDeviceFromPlatformHandle](/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_finddevicefromplatformhandle.md)
- [IGameInput::FindDeviceFromObject](/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_finddevicefromobject.md)
- [IGameInput::FindDeviceFromId](/ja-jp/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromid.md)
- [非推奨の GameInput API メンバー](/ja-jp/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [APP_LOCAL_DEVICE_ID](/ja-jp/reference/system/xuser/structs/app_local_device_id.md)
