<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Miscellaneous Functions > WLHardwareGetNumberUsbDrives |
The WLHardwareGetNumberUsbDrives function retrieves the number of USB drives from the system where a USB ID can be obtained.
int WLHardwareGetNumberUsbDrives(void) |
function WLHardwareGetNumberUsbDrives():Integer; stdcall;; |
Public Declare Function WLHardwareGetNumberUsbDrives Lib "WinLicenseSDK.dll" () As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLHardwareGetNumberUsbDrives();
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLHardwareGetNumberUsbDrives() As Integer End Function |
Parameters
This function has no parameters.
Return Values
Returns the number of USB drives (to obtain their hardware ID) that were found on the current system.