IGameInputRawDeviceReport::SetRawData
Note
This function is not yet implemented.
Sets the contents of the report buffer.
Syntax
bool SetRawData(
size_t bufferSize,
const void* buffer
)
Parameters
bufferSize _In_
Type: size_t
Size of the raw data buffer to be set.
buffer _In_reads_(bufferSize)
Type: void*
Buffer to be written to.
Return value
Type: bool
Returns true on success; returns false otherwise.
Remarks
The IGameInputRawDeviceReport::SetRawData
method allows applications to set the report buffer contents directly. The caller must pass a source buffer whose size matches the value returned from the GetRawDataSize method. Setting the report buffer contents is allowed only for output and feature reports.
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