CAPIHandleIRCommand

Public Function CAPIHandleIRCommand(ByVal ref As Integer, ByVal index As Integer) As String

 

This function handles IRBUTTON type device controls.

 

If the return from this procedure is an empty string, then the call was successful.  If the return value is not an empty string, then it will contain information about the failure of the call.

 

ref - This is the unique device reference ID (dv.ref).

index - This is the device IR button index number, which is obtained from the ControlData property of the control object.