Playing Audio using WASAPI


I want to create an application using Qt (C ++) to read an audio file of 1s for example ‘Hello’, and I want it to be read with a minimum latency of 10 or 20ms, and I saw an article explaining the Low Latency, and I decided to use WASAPI, but I can not find a simple example that allows reading an audio file or the complete documentation of this API.
That’s why I’m asking for help here. And thank you.

I realize this doesn’t answer the question asked regarding WASAPI but, if you are using Qt, why not use the audio facilities it provides?  There are interfaces for raw access to devices as well as low latency high level interfaces that may well fit your needs.