OleSetMenuDescriptor (OLE32.@)
HRESULT OleSetMenuDescriptor ( HOLEMENU hOleMenu, HWND hwndFrame, HWND hwndActiveObject, LPOLEINPLACEFRAME lpFrame, LPOLEINPLACEACTIVEOBJECT lpActiveObject )
Installs or removes OLE dispatching code for the containers frame window.
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. |
S_OK - menu installed correctly E_FAIL, E_INVALIDARG, E_UNEXPECTED - failure.
The lpFrame and lpActiveObject parameters are currently ignored OLE should install context sensitive help F1 filtering for the application when these are non NULL.
Declared in "include/ole2.h". gitlab.winehq.org/wine/wine/blob/master/include/ole2.h
Implemented in "dlls/ole32/ole2.c". gitlab.winehq.org/wine/wine/blob/master/dlls/ole32/ole2.c
Debug channel "ole".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.