GetStringDescriptor
Declaration
virtual IOReturn GetStringDescriptor(
UInt8 index,
char *buf,
int maxLen,
UInt16 lang=0x409);Parameters
- index:
Index of the string descriptor to get.
- buf:
Pointer to place to store ASCII string
- maxLen:
Size of buffer pointed to by buf
- lang:
Language to get string in (default is US English)
Overview
Get a string descriptor as ASCII, in the specified language (default is US English)
See Also
Miscellaneous
CreateInterfaceIteratorDeviceRequest(IOUSBDevRequest *, UInt32, UInt32, IOUSBCompletion *)DeviceRequest(IOUSBDevRequestDesc *, UInt32, UInt32, IOUSBCompletion *)DisplayUserNotificationDoLocationOverrideAndModelMatchFindNextInterfaceFindNextInterfaceDescriptorGetAddressGetBusGetBusPowerAvailableGetChildLocationIDGetConfigurationGetConfigurationDescriptorGetDeviceInformationGetDeviceReleaseGetDeviceStatusGetExtraPowerAllocatedGetFullConfigurationDescriptorGetHubParentGetManufacturerStringIndexGetMaxPacketSizeGetNumConfigurationsGetPipeZeroGetProductIDGetProductStringIndexGetSerialNumberStringIndexGetSpeedGetVendorIDMakePipeOpenOrCloseAllInterfacePipesReEnumerateDeviceRequestExtraPowerResetDeviceReturnExtraPowerSetAddressSetConfiguration(IOService *, UInt8, bool)SetConfiguration(IOService *, UInt8, bool, bool)SetHubParentSuspendDevice