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

# SetRawData

> IGameInputRawDeviceReport::SetRawData

# IGameInputRawDeviceReport::SetRawData

보고서 버퍼의 내용을 설정합니다.

## 구문

```cpp theme={null}
bool SetRawData(
    size_t bufferSize,
    const void* buffer
)
```

### 매개변수

*bufferSize*   \_In\_\

형식: size\_t

설정할 원시 데이터 버퍼의 크기입니다.

*buffer*   \_In\_reads\_(bufferSize)\

형식: void\*

기록할 버퍼입니다.

### 반환값

형식: bool

성공하면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

## 설명

`IGameInputRawDeviceReport::SetRawData` 메서드는 애플리케이션이 보고서 버퍼의 내용을 직접 설정할 수 있도록 합니다. 호출자는 [GetRawDataSize](/ko/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getrawdatasize.md) 메서드에서 반환된 값과 크기가 일치하는 원본 버퍼를 전달해야 합니다. 보고서 버퍼 내용 설정은 출력 보고서에서만 허용됩니다.

## 요구 사항

**헤더:** GameInput.h

**라이브러리:** xgameruntime.lib

**지원되는 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

[GameInput 고급 항목](/ko/build/core-features/common/input/advanced/input-advanced-topics.md)\
[GameInput 개요](/ko/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputRawDeviceReport](/ko/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)

## 버전 기록

| 버전 | 변경 사항 |
| - | - |
| **v3** | 재도입됨. |
| **v1** | IGameInputRawDeviceReport 인터페이스와 함께 제거됨. |
| **v0** | 도입됨. |


## Related topics

- [IGameInputRawDeviceReport (인터페이스 콘텐츠)](/ko/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)
- [GetRawData](/ko/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getrawdata.md)
- [GetRawDataSize](/ko/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getrawdatasize.md)
- [SetShapeEqCompRawFilterCoefficients](/ko/reference/audio/shapeeqcompcontext/functions/setshapeeqcomprawfiltercoefficients.md)
- [XblMultiplayerSessionSetRawServersJson](/ko/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetrawserversjson.md)
