TwclWiiRemoteHidClientConnection.HalConnect(THandle) Method

Connects to the Wii Remote as to HID device.

Namespace: wclBluetooth
protected
 function HalConnect(const Event: THandle): Integer; override;

Parameters

Event
Type: THandle

The system even object handle.

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.

Overrides

TwclWiiRemoteClientConnection.HalConnect(THandle)