ASIOGetSamplePosition

I am trying to figure out how to do realtime samplerate conversion on windows from one asio soundcard to another without synchronized clocks… I have been studying zita-a2j which does this for linux alsa to jack. This uses the jack call jack_get_cycle_times. In studying the asio sdk it appears that the call ASIOGetSamplePosition could be used to get this information. This could also be used to determine if an audio dropout has occurred.

But I am unclear on how to make this query to the asio driver via Juce. Can this be done and if so how?

I would rather not reinvent the wheel so if this sample rate conversion already available somwhere could some point me in the right direction?

Thanks.