I just googled and found this. Seems a little hackish though:

http://hallvards.blogspot.com/2006/09/hack11-get-guid-of-interface-reference.html


Where do you need the GUID for?