Added some new stubs for the OLE menu descriptor methods.
This commit is contained in:
parent
4d1d359c2b
commit
1921ef213a
|
@ -17,9 +17,9 @@ typedef struct tagOleMenuGroupWidths
|
||||||
{ LONG width[ 6 ];
|
{ LONG width[ 6 ];
|
||||||
} OLEMENUGROUPWIDTHS32, OLEMENUGROUPWIDTHS;
|
} OLEMENUGROUPWIDTHS32, OLEMENUGROUPWIDTHS;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct tagOleMenuGroupWidths *LPOLEMENUGROUPWIDTHS32;
|
typedef struct tagOleMenuGroupWidths *LPOLEMENUGROUPWIDTHS32;
|
||||||
|
typedef struct IOleInPlaceFrame *LPOLEINPLACEFRAME;
|
||||||
|
typedef struct IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT;
|
||||||
|
|
||||||
typedef HGLOBAL32 HOLEMENU32;
|
typedef HGLOBAL32 HOLEMENU32;
|
||||||
|
|
||||||
|
@ -42,4 +42,15 @@ HRESULT WINAPI DoDragDrop32(LPDATAOBJECT,
|
||||||
DWORD*);
|
DWORD*);
|
||||||
#define DoDragDrop WINELIB_NAME(DoDragDrop)
|
#define DoDragDrop WINELIB_NAME(DoDragDrop)
|
||||||
|
|
||||||
|
HOLEMENU32 WINAPI OleCreateMenuDescriptor(HMENU32 hmenuCombined,
|
||||||
|
LPOLEMENUGROUPWIDTHS32 lpMenuWidths);
|
||||||
|
void WINAPI OleDestroyMenuDescriptor(HOLEMENU32 hmenuDescriptor);
|
||||||
|
HRESULT WINAPI OleSetMenuDescriptor(HOLEMENU32 hmenuDescriptor,
|
||||||
|
HWND32 hwndFrame,
|
||||||
|
HWND32 hwndActiveObject,
|
||||||
|
LPOLEINPLACEFRAME lpFrame,
|
||||||
|
LPOLEINPLACEACTIVEOBJECT lpActiveObject);
|
||||||
|
|
||||||
|
|
||||||
#endif /* __WINE_OLE2_H */
|
#endif /* __WINE_OLE2_H */
|
||||||
|
|
||||||
|
|
41
ole/ole2.c
41
ole/ole2.c
|
@ -464,6 +464,47 @@ HRESULT WINAPI OleGetClipboard32(
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* OleCreateMenuDescriptor [OLE32.97]
|
||||||
|
*/
|
||||||
|
HOLEMENU32 WINAPI OleCreateMenuDescriptor(
|
||||||
|
HMENU32 hmenuCombined,
|
||||||
|
LPOLEMENUGROUPWIDTHS32 lpMenuWidths)
|
||||||
|
{
|
||||||
|
FIXME(ole,"(%x,%p),stub!\n", hmenuCombined, lpMenuWidths);
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* OleDestroyMenuDescriptor [OLE32.99]
|
||||||
|
*/
|
||||||
|
void WINAPI OleDestroyMenuDescriptor(
|
||||||
|
HOLEMENU32 hmenuDescriptor)
|
||||||
|
{
|
||||||
|
FIXME(ole,"(%x),stub!\n", (unsigned int)hmenuDescriptor);
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* OleSetMenuDescriptor [OLE32.129]
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI OleSetMenuDescriptor(
|
||||||
|
HOLEMENU32 hmenuDescriptor,
|
||||||
|
HWND32 hwndFrame,
|
||||||
|
HWND32 hwndActiveObject,
|
||||||
|
LPOLEINPLACEFRAME lpFrame,
|
||||||
|
LPOLEINPLACEACTIVEOBJECT lpActiveObject)
|
||||||
|
{
|
||||||
|
FIXME(ole,"(%x, %x, %x, %p, %p),stub!\n",
|
||||||
|
(unsigned int)hmenuDescriptor,
|
||||||
|
hwndFrame,
|
||||||
|
hwndActiveObject,
|
||||||
|
lpFrame,
|
||||||
|
lpActiveObject);
|
||||||
|
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
* OLEDD_Initialize()
|
* OLEDD_Initialize()
|
||||||
*
|
*
|
||||||
|
|
|
@ -97,9 +97,9 @@ type win32
|
||||||
94 stub OleCreateLink
|
94 stub OleCreateLink
|
||||||
95 stub OleCreateLinkFromData
|
95 stub OleCreateLinkFromData
|
||||||
96 stub OleCreateLinkToFile
|
96 stub OleCreateLinkToFile
|
||||||
97 stub OleCreateMenuDescriptor
|
97 stdcall OleCreateMenuDescriptor(long ptr) OleCreateMenuDescriptor
|
||||||
98 stub OleCreateStaticFromData
|
98 stub OleCreateStaticFromData
|
||||||
99 stub OleDestroyMenuDescriptor
|
99 stdcall OleDestroyMenuDescriptor(long) OleDestroyMenuDescriptor
|
||||||
100 stub OleDoAutoConvert
|
100 stub OleDoAutoConvert
|
||||||
101 stub OleDraw
|
101 stub OleDraw
|
||||||
102 stub OleDuplicateData
|
102 stub OleDuplicateData
|
||||||
|
@ -129,7 +129,7 @@ type win32
|
||||||
126 stub OleSetAutoConvert
|
126 stub OleSetAutoConvert
|
||||||
127 stdcall OleSetClipboard(ptr) OleSetClipboard
|
127 stdcall OleSetClipboard(ptr) OleSetClipboard
|
||||||
128 stub OleSetContainedObject
|
128 stub OleSetContainedObject
|
||||||
129 stub OleSetMenuDescriptor
|
129 stdcall OleSetMenuDescriptor(long long long ptr ptr) OleSetMenuDescriptor
|
||||||
130 stub OleTranslateAccelerator
|
130 stub OleTranslateAccelerator
|
||||||
131 stdcall OleUninitialize() OleUninitialize
|
131 stdcall OleUninitialize() OleUninitialize
|
||||||
132 stub OpenOrCreateStream
|
132 stub OpenOrCreateStream
|
||||||
|
|
Loading…
Reference in New Issue