> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetRawDataSize

> IGameInputRawDeviceReport::GetRawDataSize

# IGameInputRawDeviceReport::GetRawDataSize

raw レポート バッファーのサイズをバイト単位で返します。

## 構文

```cpp theme={null}
size_t GetRawDataSize();
```

### パラメーター

このメソッドにパラメーターはありません。

### 戻り値

型: size\_t

Game Input Protocol (GIP) デバイスの場合、raw データ バッファーのサイズをバイト単位で返します。この関数は他のデバイスでは未実装で、0 を返します。

## 解説

`IGameInputRawDeviceReport::GetRawDataSize` メソッドは、raw レポート バッファーのサイズをバイト単位で返します。

GameInput API の中級・上級ユース ケースについては、「[GameInput の高度なトピック](https://docs.xbox.com/ja-jp/build/core-features/common/input/advanced/input-advanced-topics.md)」を参照してください。

## 要件

[GameInput の概要](https://docs.xbox.com/ja-jp/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputRawDeviceReport](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)

## バージョン履歴

| バージョン | 変更点 |
| - | - |
| **v3** | 再導入。 |
| **v1** | IGameInputRawDeviceReport インターフェイスとともに削除。 |
| **v0** | 導入。 |


## Related topics

- [IGameInputRawDeviceReport (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)
- [PFDataGetFilesGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfdata/functions/pfdatagetfilesgetresultsize.md)
- [PFDataGetObjectsGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfdata/functions/pfdatagetobjectsgetresultsize.md)
- [XSpeechSynthesizerGetStreamDataSize](https://docs.xbox.com/ja-jp/reference/system/xspeechsynthesizer/functions/xspeechsynthesizergetstreamdatasize.md)
- [PFTitleDataManagementServerGetPublisherDataGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftitledatamanagement/functions/pftitledatamanagementservergetpublisherdatagetresultsize.md)
