How to implement code to support an HID device on the Discovery biard

I would like to implement on the STM32F4 Discovery board the support for an USB device that simulates a sound card, using the same HID protocol that Windows uses.
Specifically, I would like to be able to connect that device to the Discovery board, and to read the stereo stream coming from it at a sampling rate of 192 kHz. The M4F has ample processing power for this, as I do that already with an I2S interface. Now I would like to use the USB port for this new device.

Is there anywhere an example on how to simulate the Windows HID protocol on the STM32M4F Discovery board ?

Thanks.

More questions in this forum