Home COM GDI+ WebBrowser Data Access

IProvideClassInfo Interface

 

IID_IProvideClassInfo

{B196B283-BAB4-101A-B69C-00AA00341D07}

 

 

The IProvideClassInfo interface provides a single method for accessing the type information for an object's coclass entry in its type library.

 

Use this interface to access the coclass type information for an object.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IProvideClassInfo Methods

Description

GetClassInfo

Returns a pointer to the ITypeInfo interface for the object's type information. The type information for an object corresponds to the object's coclass entry in a type library.

 

GetClassInfo

 

FUNCTION IProvideClassInfo_GetClassInfo ( _

  BYVAL pthis AS DWORD PTR _

, BYREF ppTI AS DWORD _

  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IProvideClassInfo_GetClassInfo (pthis, ppTI) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

 

FUNCTION IProvideClassInfo_GetClassInfo ( _

  BYVAL pthis AS DWORD PTR _

, BYREF ppTI AS DWORD _

  ) AS LONG

  ! push ppTI
  ! mov  eax, pthis
  ! push eax
  ! mov  eax, dword ptr[eax]
  ! call dword ptr[eax+12]
  ! mov  FUNCTION, eax


END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 20:22:06 +0200