MaxDevices

Public Function MaxDevices() As Short

 

This procedure, which is called by HomeSeer if your plug-in supports Infrared, tells HomeSeer how many infrared devices your infrared hardware supports.  This procedure was created for HomeSeer 1.x which used a page (device) metaphor with up to 36 infrared keys (signals) per page.  This procedure is not fully deprecated in HomeSeer 2.0, even though the page metaphor has been removed.  If your plug-in returns a non-zero value from this function, then the total number of infrared signals that your plug-in supports will be the product of MaxKeys and MaxDevices.  For full HomeSeer 2.0 compatibility, return the total number of infrared signals that your plug-in supports in MaxKeys and return 0 from this procedure.