Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1921ef21
Commit
1921ef21
authored
Feb 20, 1999
by
Francis Beaudet
Committed by
Alexandre Julliard
Feb 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some new stubs for the OLE menu descriptor methods.
parent
4d1d359c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
5 deletions
+57
-5
ole2.h
include/ole2.h
+13
-2
ole2.c
ole/ole2.c
+41
-0
ole32.spec
relay32/ole32.spec
+3
-3
No files found.
include/ole2.h
View file @
1921ef21
...
...
@@ -17,9 +17,9 @@ typedef struct tagOleMenuGroupWidths
{
LONG
width
[
6
];
}
OLEMENUGROUPWIDTHS32
,
OLEMENUGROUPWIDTHS
;
typedef
struct
tagOleMenuGroupWidths
*
LPOLEMENUGROUPWIDTHS32
;
typedef
struct
IOleInPlaceFrame
*
LPOLEINPLACEFRAME
;
typedef
struct
IOleInPlaceActiveObject
*
LPOLEINPLACEACTIVEOBJECT
;
typedef
HGLOBAL32
HOLEMENU32
;
...
...
@@ -42,4 +42,15 @@ HRESULT WINAPI DoDragDrop32(LPDATAOBJECT,
DWORD
*
);
#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 */
ole/ole2.c
View file @
1921ef21
...
...
@@ -464,6 +464,47 @@ HRESULT WINAPI OleGetClipboard32(
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()
*
...
...
relay32/ole32.spec
View file @
1921ef21
...
...
@@ -97,9 +97,9 @@ type win32
94 stub OleCreateLink
95 stub OleCreateLinkFromData
96 stub OleCreateLinkToFile
97 st
ub
OleCreateMenuDescriptor
97 st
dcall OleCreateMenuDescriptor(long ptr)
OleCreateMenuDescriptor
98 stub OleCreateStaticFromData
99 st
ub
OleDestroyMenuDescriptor
99 st
dcall OleDestroyMenuDescriptor(long)
OleDestroyMenuDescriptor
100 stub OleDoAutoConvert
101 stub OleDraw
102 stub OleDuplicateData
...
...
@@ -129,7 +129,7 @@ type win32
126 stub OleSetAutoConvert
127 stdcall OleSetClipboard(ptr) OleSetClipboard
128 stub OleSetContainedObject
129 st
ub
OleSetMenuDescriptor
129 st
dcall OleSetMenuDescriptor(long long long ptr ptr)
OleSetMenuDescriptor
130 stub OleTranslateAccelerator
131 stdcall OleUninitialize() OleUninitialize
132 stub OpenOrCreateStream
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment