Home COM GDI+ WebBrowser Data Access

IMenuBand Interface

 

IID_IMenuBand

{568804CD-CBD7-11d0-9816-00C04FD91972}

 

 

The IMenuBand interface provides methods that allow a Component Object Model (COM) object to receive and translate appropriate messages.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IMenuBand Method

Description

IsMenuMessage

A message pump calls this method to see if any messages should be redirected to the COM object.

TranslateMenuMessage

Translates a message for a COM object.

 

IsMenuMessage

 

FUNCTION IMenuBand_IsMenuMessage ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pmsg AS tagMSG _
  ) AS LONG

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

END FUNCTION

 

 

TranslateMenuMessage

 

FUNCTION IMenuBand_TranslateMenuMessage ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pmsg AS tagMSG _
, BYREF plRret AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IMenuBand_TranslateMenuMessage (pthis, pmsg, plRet) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Wednesday, 15 February 2006 22:54:56 +0100