PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE

  • Search condition
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
USBFind (Function)
 
Finds a USB device according to keywords.
Ejemplo
sDevices is string
sDevices = USBFind(USBPropertyManufacturer, "PC Soft")
IF sDevices <> "" THEN
Info("Identifiers of PC Soft devices:", sDevices)
END
Sintaxis
<Result> = USBFind(<Property> , <Word 1> [, <Word 2> [, <Word 3>, ...]])
<Result>: Character string
String containing the identifiers of the USB devices found. If several USB devices are found, the identifiers are separated by CR characters (Carriage Return). These identifiers can be used by the USB functions.
<Property>: Integer constant
Option for the result details:
USBDriveUSB identifier corresponding to the name of a drive (for example, f:)
USBPropertyLocationPhysical location of the device
USBPropertyClassDevice class
USBPropertyDeviceDescDescription of the device
USBPropertyManufacturerName of the manufacturer
USBPropertyFriendlyNameExplicit name of the device
<Word 1>: Character string
String to find in the specified property.
<Word 2>: Optional character string
String to find in the specified property.
<Word 3>: Optional character string
String to find in the specified property.
Observaciones

Search condition

In order for a device to correspond to the sort criteria, <Property> must contain all the specified <Word 1>, <Word 2>, <Word 3>. The search is not case sensitive (lowercase/uppercase characters).

Limits

This feature is available in Windows 2000 and later.
Componente : wd240std.dll
Versión mínima requerida
  • Versión 10
Esta página también está disponible para…
Comentarios
USBFind(USBDrive, ..)


Function currently works for fixed media (memory sticks) only.
Matching a drive with a certain serial number to its drive letter involves scanning of all available drives of a computer (A: -> Z:), retrieving their serial number and looking for a match.
Jimbo
26 04 2011