Contents

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