.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH OleSetMenuDescriptor 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBOleSetMenuDescriptor\fR (OLE32.@) .SH SYNOPSIS HRESULT OleSetMenuDescriptor ( HOLEMENU \fIhOleMenu\fR, HWND \fIhwndFrame\fR, HWND \fIhwndActiveObject\fR, LPOLEINPLACEFRAME \fIlpFrame\fR, LPOLEINPLACEACTIVEOBJECT \fIlpActiveObject\fR ) .SH DESCRIPTION .PP Installs or removes \fBOLE\fR dispatching code for the containers frame window. .SH PARAMS \fIhOleMenu\fR Handle to composite menu descriptor .PP \fIhwndFrame\fR Handle to containers frame window .PP \fIhwndActiveObject\fR Handle to objects in-place activation window .PP \fIlpFrame\fR Pointer to IOleInPlaceFrame on containers window .PP \fIlpActiveObject\fR Pointer to IOleInPlaceActiveObject on active in-place object. .PP .SH RETURNS .PP \fBS_OK\fR \fB-\fR menu installed correctly \fBE_FAIL\fR, \fBE_INVALIDARG\fR, \fBE_UNEXPECTED\fR \fB-\fR failure. .SH FIXME .PP The \fIlpFrame\fR and \fIlpActiveObject\fR parameters are currently ignored \fBOLE\fR should install context sensitive help \fBF1\fR filtering for the application when these are non \fBNULL\fR. .SH IMPLEMENTATION .PP Declared in \fB"ole2.h"\fR. .PP Implemented in \fB"dlls/ole32/ole2.c"\fR. .PP Debug channel \fB"ole"\fR.