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

# GetRawData

> IGameInputRawDeviceReport::GetRawData

# IGameInputRawDeviceReport::GetRawData

원시 바이트 형식으로 보고서 버퍼의 내용을 검색합니다.

## 구문

```cpp theme={null}
size_t GetRawData(
    size_t bufferSize,
    void* buffer
)
```

### 매개변수

*bufferSize*   \_In\_\

형식: size\_t

`GetRawData`에 전달되는 버퍼의 크기입니다.

*buffer*   \_Out\_writes\_(bufferSize)\

형식: void\*

원시 데이터가 반환되는 사용자가 만든 버퍼입니다.

### 반환값

형식: size\_t

Game Input Protocol(GIP) 장치의 경우 호출자의 버퍼에 기록된 바이트 수를 반환합니다.

## 설명

`IGameInputRawDeviceReport::GetRawData` 메서드는 애플리케이션이 원시 바이트 형식으로 보고서 버퍼의 내용을 읽을 수 있도록 합니다. 호출자는 일반적으로 [GetRawDataSize](/ko/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getrawdatasize.md) 메서드에서 반환된 값과 크기가 일치하는 버퍼를 전달합니다. 그러나 `GetRawData` 메서드는 어떤 크기의 버퍼도 수용합니다. 버퍼가 너무 작으면 출력이 잘립니다. `GetRawData` 메서드의 반환값은 호출자의 버퍼에 기록된 바이트 수를 나타냅니다. 이는 필요한 것보다 큰 버퍼가 제공될 때만 `bufferSize` 매개변수의 값과 다릅니다.

## 요구 사항

**헤더:** 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)
- [GetRawDataSize](/ko/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getrawdatasize.md)
- [SetRawData](/ko/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_setrawdata.md)
- [GetShapeEqCompRawFilterCoefficients](/ko/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprawfiltercoefficients.md)
- [GetShapeEqCompRawFilterTargetCoefficients](/ko/reference/audio/shapeeqcompcontext/functions/getshapeeqcomprawfiltertargetcoefficients.md)
