/* USBD_CDC_RNDIS_ProcessHaltMsg Parse, extract data and check correctness of CDC_RNDIS Halt command.  */
static uint8_t USBD_CDC_RNDIS_ProcessHaltMsg(USBD_HandleTypeDef *pdev, USBD_CDC_RNDIS_HaltMsgTypeDef *Msg)
/* USBD_CDC_RNDIS_ProcessHaltMsg Parse, extract data and check correctness of CDC_RNDIS Halt command.  */
static uint8_t USBD_CDC_RNDIS_ProcessHaltMsg(USBD_HandleTypeDef *pdev, USBD_CDC_RNDIS_HaltMsgTypeDef *Msg)
{
  USBD_CDC_RNDIS_HandleTypeDef *hcdc = (USBD_CDC_RNDIS_HandleTypeDef *)pdev->pClassData;
  if (hcdc == NULL)
  {
    return (uint8_t)USBD_FAIL;
  }
  hcdc->State = CDC_RNDIS_STATE_UNINITIALIZED;
  UNUSED(Msg);
  return (uint8_t)USBD_OK;
}