LPTRANSLATE_STRING_DESCR (Windows CE 5.0)
This function translates a universal serial bus (USB) string descriptor into a null-terminated string.
typedef BOOL (* LPTRANSLATE_STRING_DESCR)( LPCUSB_STRING_DESCRIPTOR lpStringDescr, LPWSTR szString, DWORD cchStringLength);
Parameters
- lpStringDescr
[in] Pointer to a USB string descriptor. - szString
[out] Buffer to receive string data. - cchStringLength
[in] Size, in characters, of the string buffer.
Return Values
TRUE indicates that lpStringDescr points to a valid USB string descriptor.
Remarks
If the translated string would overflow the supplied buffer, it is truncated.
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Usbdi.h.
Send Feedback on this topic to the authors