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

# IGameInputDevice::AcquireExclusiveRawDeviceAccess

> IGameInputDevice::AcquireExclusiveRawDeviceAccess

# IGameInputDevice::AcquireExclusiveRawDeviceAccess

<Warning>**非推奨。** このメソッドは GameInput v1 で削除され、現在の API では利用できません。</Warning>

生のデバイス インターフェイスへの排他アクセスを取得し、他のアプリケーションが生のデバイス レポートを読み取れないようにします。

## 構文

```cpp theme={null}
HRESULT AcquireExclusiveRawDeviceAccess(
    uint64_t timeoutInMicroseconds
);
```

### パラメーター

*timeoutInMicroseconds*   \_In\_\
型: uint64\_t

排他アクセスが付与されるまで待機する時間 (マイクロ秒単位) です。

### 戻り値

型: HRESULT

このメソッドは v0 で実装されなかったため、E\_NOTIMPL を返します。

## 解説

このメソッドは、生のデバイス アクセス モデルの簡素化の一環として v1 で削除されました。現在の API における生のデバイス レポート アクセスは、[IGameInputRawDeviceReport](/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport) インターフェイスを通じて処理されます。

## バージョン履歴

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

## 関連項目

[非推奨の GameInput API メンバー](/reference/input/gameinput/deprecated/gameinput_deprecated_members)\
[IGameInputDevice::ReleaseExclusiveRawDeviceAccess](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_releaseexclusiverawdeviceaccess)\
[IGameInputDevice](/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice)


## Related topics

- [IGameInputDevice::ReleaseExclusiveRawDeviceAccess](/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_releaseexclusiverawdeviceaccess.md)
- [IGameInputDevice::ExecuteRawDeviceIoControl](/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_executerawdeviceiocontrol.md)
- [IGameInputDevice::SetRawDeviceFeature](/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
- [IGameInputDevice::GetRawDeviceFeature](/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getrawdevicefeature.md)
- [非推奨の GameInput API メンバー](/ja-jp/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
