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

Declared in "ole2.h". https://source.winehq.org/source/include/ole2.h

Implemented in "dlls/ole32/ole2.c". https://source.winehq.org/source/dlls/ole32/ole2.c

Debug channel "ole".


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Feb 2021.