IGameInputRawDeviceReport::GetRawData
Note
This function is not yet implemented.
Retrieves the report buffer contents in raw byte form.
Syntax
size_t GetRawData(
size_t bufferSize,
void* buffer
)
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 0.
After this method gets implemented, it will return the number of bytes written to the caller's buffer.
Remarks
The IGameInputRawDeviceReport::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 consoles
See also
Advanced GameInput topics
Overview of GameInput
IGameInputRawDeviceReport