Download WinDriver™ USB User`s Manual - Version 10.1.1

Transcript
Name
Type
Input/Output
hDevice
WDU_DEVICE_HANDLE
Input
dwOptions
DWORD
Input
DESCRIPTION
Name
Description
hDevice
A unique identifier for the device/interface
dwOptions
Can be either:
• WDU_WAKEUP_ENABLE – enable wakeup
OR:
• WDU_WAKEUP_DISABLE – disable wakeup
RETURN VALUE
Returns WD_STATUS_SUCCESS(0) on success, or an appropriate error code otherwise [B.8].
B.4.14 WDU_GetLangIDs
PURPOSE
• Reads a list of supported language IDs and/or the number of supported language IDs from a
device.
PROTOTYPE
DWORD DLLCALLCONV WDU_GetLangIDs(
WDU_DEVICE_HANDLE hDevice,
PBYTE pbNumSupportedLangIDs,
WDU_LANGID *pLangIDs,
BYTE bNumLangIDs);
PARAMETERS
Name
Type
Input/Output
hDevice
WDU_DEVICE_HANDLE
Input
pbNumSupportedLangIDs
PBYTE
Output
pLangIDs
WDU_LANGID*
Output
bNumLangIDs
BYTE
Input
DESCRIPTION
Name
Description
hDevice
A unique identifier for the device/interface
pbNumSupportedLangIDs
Parameter to receive number of supported language IDs
pLangIDs
Array of language IDs. If bNumLangIDs is not zero the
function will fill this array with the supported language IDs for
the device.
bNumLangIDs
Number of IDs in the pLangIDs array
© Jungo Software Technologies 2005–2010
134