IGameInputRawDeviceReport::GetRawData
Retrieves the report buffer contents in raw byte form.Syntax
Parameters
bufferSize _In_Type: size_t Size of the buffer passed into
GetRawData.
buffer _Out_writes_(bufferSize)Type: void* User-created buffer returned with raw data.
Return value
Type: size_t Returns the number of bytes written to the caller’s buffer for Game Input Protocol (GIP) devices.Remarks
TheIGameInputRawDeviceReport::GetRawData method allows applications to read the report buffer contents in raw byte form. The caller typically passes in a buffer whose size matches the value returned from the GetRawDataSize method. However, the GetRawData method accepts any size buffer. If the buffer is too small, the output is simply truncated. The return value from the GetRawData method indicates how many bytes were written to the caller’s buffer. This differs only from the value of the bufferSize parameter when a buffer is provided that is larger than required.
Requirements
Header: GameInput.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
Advanced GameInput topicsOverview of GameInput
IGameInputRawDeviceReport
