|
|
|
|
BTDisableService( Función) Desactiva un servicio en un dispositivo Bluetooth. nDeviceNumber is int sService is string // The devices are stored in a Table control nDeviceNumber = TABLE_Device.COL_ID[TABLE_Device] // The services are listed in a List Box control sService = LIST_Services[LIST_Services] // Enable the selected service in the List Box control IF BTEnableService(nDeviceNumber, sService) = True THEN // Disables the service BTDisableService(LIST_EnabledServices, sService) END
Sintaxis
<Result> = BTDisableService(<Device identifier> , <Service name> [, <Radio identifier>])
<Result>: booleano - True si se desactivó el servicio,
- False en caso contrario. ErrorInfo devuelve más información sobre el error.
<Device identifier>: Integro Identificador del dispositivo Bluetooth a utilizar. Este identificador es devuelto por BTListDevice. <Service name>: Cadena de caracteres Nombre del servicio a desactivar. El nombre de los servicios es devuelto por Servicio BTList. <Radio identifier>: Entero opcional Identificador de la radio Bluetooth a utilizar. Este identificador es devuelto por BTListRadio. Si no se especifica este parámetro, se utilizarán todas las radios disponibles.. Observaciones Esta versión sólo soporta las pilas de bluetooth de Microsoft y Bluesoleil.. Para conocer la pila utilizada, llame a BTStack.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|