usb_prop.c
/*******************************************************************************
* Function Name  : Virtual_Com_Port_GetStringDescriptor
* Description    : Gets the string descriptors according to the needed index
* Input          : Length.
* Output         : None.
* Return         : The address of the string descriptors.
*******************************************************************************/
Function Name  : Virtual_Com_Port_GetStringDescriptor
Description    : Gets the string descriptors according to the needed index
Input          : Length.
Output         : None.
Return         : The address of the string descriptors.
Function Name : Virtual_Com_Port_GetStringDescriptor Description : Gets the string descriptors according to the needed index Input : Length . Output : None . Return : The address of the string descriptors .
u8 *Virtual_Com_Port_GetStringDescriptor(u16 Length)
{
  u8 wValue0 = pInformation->USBwValue0;
  if (wValue0 > 4)
  {
    return NULL;
  }
  else
  {
    return Standard_GetDescriptorData(Length, &String_Descriptor[wValue0]);
  }
}
u8 * Virtual_Com_Port_GetStringDescriptor ( u16 Length ) { u8 wValue0 = pInformation -> USBwValue0 ; if ( wValue0 > 4 ) { return NULL ; } else { return Standard_GetDescriptorData ( Length , & String_Descriptor [ wValue0 ] ) ; } }
Function Name  : Virtual_Com_Port_GetStringDescriptor
Description    : Gets the string descriptors according to the needed index
Input          : Length.
Function Name : Virtual_Com_Port_GetStringDescriptor Description : Gets the string descriptors according to the needed index Input : Length .
//TxDString("Virtual_Com_Port_GetStringDescriptor\r\n");