Help needed to read output from Sound Forge

Hi All,

I want to read audio output from Sound Forge, do some processing and then start playback on RME using ASIO sdk.
Kindly share me the procedure/pseudo code to read audio data from Sound Forge.
Thanks in advance.