|
|
|
|
Recupera el valor de un Property para un dispositivo USB. sDescription is string sList is string = USBListDevice() IF sList <> "" THEN sDescription = USBProperty(ExtractString(sList, firstRank, CR), USBPropertyDeviceDesc) IF sDescription <> "" THEN Info("First USB controller found: " + sDescription) END END
// Start to explore without specifying an identifier Explore("")
// ----------------------------------------------------------- // Explore the entire tree structure PROCÉDURE Explore(sBeginning) sList is string sList = USBListDevice(sBeginning) IF sList <> "" THEN sDevice is string FOR EACH STRING sDevice OF sList SEPARATED BY CR Trace(USBProperty(sDevice, USBPropertyDeviceDesc)) Explore(sDevice) END END
Sintaxis
<Result> = USBProperty(<USB Identifier> , <Property>)
<Result>: Tipo correspondiente a la Property - Cadena o entero que contiene el resultado. También puede corresponder a una cadena múltiple: los diferentes elementos de la cadena están separados por Charact( 0).
- Vaciar la cadena ("") si la Property no está disponible (no suministrada por el controlador del dispositivo, por ejemplo).
<USB Identifier>: Cadena de caracteres Identificador del dispositivo USB a utilizar. Este identificador es devuelto por Dispositivo USBList. <Property>: Constante de tipo Integer Opción detallada del resultado: | | USBPropertyClass | Clase de dispositivo | USBPropertyDeviceDesc | description del dispositivo | USBPropertyFriendlyName | Nombre explícito del dispositivo | USBPropertyLocation | Ubicación física del dispositivo | USBPropertyManufacturer | Nombre del fabricante |
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|