(c) 2002 Visual Studio Magazine 
Fawcette Technical Publications

Issue: August 2002
Section: Q&A
Authors: Karl E. Peterson, Juval Lowy
Filename: vs0208qa

This articles code includes a demo that shows how to pass interface pointers through API callbacks.

You can find Listings 1 and 2 in the listings.txt file.