Initializes a new Output report for the specified ReportID.
The ReportData will contain the current or default settings as specified in the specified report's descriptor.
| C# | Visual Basic | Visual C++ |
public HIDOutputReport InitializeOutputReport( byte ReportID )
Public Function InitializeOutputReport ( _ ReportID As Byte _ ) As HIDOutputReport
public: HIDOutputReport^ InitializeOutputReport( unsigned char ReportID )
- ReportID (Byte)
[Missing <param name="ReportID"/> documentation for "M:BlueNinjaSoftware.HIDLib.HIDDevice.InitializeOutputReport(System.Byte)"]
[Missing <returns> documentation for M:BlueNinjaSoftware.HIDLib.HIDDevice.InitializeOutputReport(System.Byte)]
Initializing an HID report sets all control data to zero or a control's null value, as defined by the USB HID standard. (Sending or receiving a null value indicates that the current value of a control should not be modified.)
InitializeOutputReport does the following:
- Sets to zero the bit fields of all buttons and values without null values.
- Sets the bit field of all controls with null values to their corresponding null value.
InitializeOutputReport runs at IRQL <= DISPATCH_LEVEL.