TwclWiiRemoteHidClientConnection.HalWrite(PByte,Byte) Method
Sends data to the Wii Remote as to HID device.
protected function HalWrite(const Report: PByte; const Size: Byte): Integer; override;
Parameters
- Report
- Type: PByte
The pointer to the report data buffer.
- Size
- Type: Byte
The report data size.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.