Home COM GDI+ WebBrowser Data Access

IQuickActivate Interface

 

IID_IQuickActivate

{CF51ED10-62FE-11CF-BF86-00A0C9034836}

 

 

The IQuickActivate interface allows controls and containers to avoid performance bottlenecks on loading controls. It combines the load-time or initialization-time handshaking between the control and its container into a single call.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IQuickActivate Methods

Description

QuickActivate

Quick activates a control.

SetContentExtent

Sets the content extent of a control.

GetContentExtent

Gets the contentg extent of a control.

 

QuickActivate

 

FUNCTION IQuickActivate_QuickActivate ( _

  BYVAL pthis AS DWORD PTR _

, BYREF pQaContainer AS QACONTAINER _

, BYREF pQaControl AS QACONTROL _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IQuickActivate_QuickActivate (pthis, pQaContainer, pQaControl) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

SetContentExtent

 

FUNCTION IQuickActivate_SetContentExtent ( _

  BYVAL pthis AS DWORD PTR _

, BYREF pSizel AS SIZEL _

  ) AS LONG
 

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IQuickActivate_SetContentExtent (pthis, pSizel) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

GetContentExtent

 

FUNCTION IQuickActivate_GetContentExtent ( _

  BYVAL pthis AS DWORD PTR _

, BYREF pSizel AS SIZEL _

  ) AS LONG
 

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IQuickActivate_GetContentExtent (pthis, pSizel) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 20:27:30 +0200