How does COM client code refer to the IID in the type library?
See the question and my original answer on StackOverflowYou can use the __uuidof operator (Microsoft Specific):
Retrieves the GUID attached to the expression.
Syntax
__uuidof ( expression )