IGameInputRawDeviceReport::GetRawDataSize

Note

This function is not yet implemented.

Returns the size of the raw report buffer in bytes.

Syntax

size_t GetRawDataSize(  
)  

Parameters

This method has no parameters.

Return value

Type: size_t

Returns 0.

After this method gets implemented, it will return the size of the raw data buffer.

Remarks

The IGameInputRawDeviceReport::GetRawDataSize method returns the size of the raw report buffer in bytes. For all device types like Human Interface Device (HID) devices, this value does not include the report ID byte or any other header data. This is tracked separately by the IGameInputRawDeviceReport instance and is added to the payload that gets sent to the device as appropriate.

For intermediate and advanced use-cases of the GameInput API, see Advanced GameInput topics.

Requirements

Header: GameInput.h

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

Overview of GameInput
IGameInputRawDeviceReport