Jump to content

UsbQueryStringReport: Difference between revisions

From EDM2
Created page with "==Description== Obtains an array of languages supported by a specific USB device. Obtains the specified string descriptor of a specific USB device. ==Syntax== <pre> ulrc=Usb..."
 
Line 10: Line 10:


==Parameters==
==Parameters==
; Handle :
; usLangID :
; ucStringID :
; *pulBufLen :
; *pucData :


==Return Code==
==Return Code==

Revision as of 04:31, 6 January 2017

Description

Obtains an array of languages supported by a specific USB device. Obtains the specified string descriptor of a specific USB device.


Syntax

ulrc=UsbQueryStringReport(Handle,usLangID,ucStringID,*pulBufLen,*pucData)

Parameters

Handle
usLangID
ucStringID
*pulBufLen
*pucData

Return Code

Errors

 [0000] - NO_ERROR
 [0057] - ERROR_INVALID_PARAMETER
 [1B58] - USB_NOT_INIT (7000)
 [FF1F] - ERROR_GEN_FAILURE
 [FF57] - ERROR_INVALID_PARAMETER

Remarks

Example Code


Related Functions