Contents Previous Page Next Page
IProvideClassInfo2

IProvideClassInfo2 is a simples extension to IProvideClassInfo for the purpose of making it quick and easy to retrieve an objectÆs outgoing interface IID for its default event set. The mechanism, the added GetGUID method, is extensible for other types of GUIDs as well.

Methods in Vtable Order

IUnknown Methods                       Description                                    
                                                                                      
QueryInterface                         
Returns pointers to supported interfaces.      
                                                                                      
AddRef                                 Increments reference count.                    
                                                                                      
Release                                Decrements reference count.                    
                                                                                      

IProvideClassInfo Method               Description                                    
                                                                                      
GetClassInfo                           
Returns the ITypeInfo interface for the        
                                       objectÆs coclass type information.              
                                                                                      

IProvideClassInfo2 Method              Description                                    
                                                                                      
GetGUID                                
Returns the GUID for the objectÆs outgoing IID 
                                       for its default event set.