Need example code for playing and captures audio data with ASIO devices

I’m an experienced media software developed.

I’m trying to add support for ASIO audio input devices to some existing audio processing software that I have. I’ve downloaded the latest ASIO SDK. I am however having some trouble making use of it.

Is there some example code that actually shows how to play audio buffers using an ASIO output device? It would be great if there was some example code that showed how to capture audio data with an ASIO device.

Thanks in advance for any help you can offer.