OleSetMenuDescriptor.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

OleSetMenuDescriptor (OLE32.@)

SYNOPSIS

HRESULT OleSetMenuDescriptor
 (
  HOLEMENU                 hOleMenu,
  HWND                     hwndFrame,
  HWND                     hwndActiveObject,
  LPOLEINPLACEFRAME        lpFrame,
  LPOLEINPLACEACTIVEOBJECT lpActiveObject
 )

DESCRIPTION

Installs or removes OLE dispatching code for the containers frame window.

PARAMS

hOleMenu Handle to composite menu descriptor

hwndFrame Handle to containers frame window

hwndActiveObject Handle to objects in-place activation window

lpFrame Pointer to IOleInPlaceFrame on containers window

lpActiveObject Pointer to IOleInPlaceActiveObject on active in-place object.

RETURNS

S_OK - menu installed correctly E_FAIL, E_INVALIDARG, E_UNEXPECTED - failure.

FIXME

The lpFrame and lpActiveObject parameters are currently ignored OLE should install context sensitive help F1 filtering for the application when these are non NULL.

IMPLEMENTATION

Defined in "ole2.h".

Implemented in "dlls/ole32/ole2.c".

Debug channel "ole".