Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d93781f2
Commit
d93781f2
authored
May 14, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledlg: Forward OleUIAddVerbMenuA to OleUIAddVerbMenuW.
parent
461deb73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
11 deletions
+21
-11
oledlg_main.c
dlls/oledlg/oledlg_main.c
+21
-11
No files found.
dlls/oledlg/oledlg_main.c
View file @
d93781f2
...
...
@@ -98,18 +98,28 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
/***********************************************************************
* OleUIAddVerbMenuA (OLEDLG.1)
*/
BOOL
WINAPI
OleUIAddVerbMenuA
(
LPOLEOBJECT
lpOleObj
,
LPCSTR
lpszShortType
,
HMENU
hMenu
,
UINT
uPos
,
UINT
uIDVerbMin
,
UINT
uIDVerbMax
,
BOOL
bAddConvert
,
UINT
idConvert
,
HMENU
*
lphMenu
)
BOOL
WINAPI
OleUIAddVerbMenuA
(
IOleObject
*
object
,
LPCSTR
shorttype
,
HMENU
hMenu
,
UINT
uPos
,
UINT
uIDVerbMin
,
UINT
uIDVerbMax
,
BOOL
addConvert
,
UINT
idConvert
,
HMENU
*
lphMenu
)
{
FIXME
(
"(%p, %s, %p, %d, %d, %d, %d, %d, %p): stub
\n
"
,
lpOleObj
,
debugstr_a
(
lpszShortType
),
hMenu
,
uPos
,
uIDVerbMin
,
uIDVerbMax
,
bAddConvert
,
idConvert
,
lphMenu
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
WCHAR
*
shorttypeW
=
NULL
;
BOOL
ret
;
TRACE
(
"(%p, %s, %p, %d, %d, %d, %d, %d, %p)
\n
"
,
object
,
debugstr_a
(
shorttype
),
hMenu
,
uPos
,
uIDVerbMin
,
uIDVerbMax
,
addConvert
,
idConvert
,
lphMenu
);
if
(
shorttype
)
{
INT
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
shorttype
,
-
1
,
NULL
,
0
);
shorttypeW
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
));
if
(
shorttypeW
)
MultiByteToWideChar
(
CP_ACP
,
0
,
shorttype
,
-
1
,
shorttypeW
,
len
);
}
ret
=
OleUIAddVerbMenuW
(
object
,
shorttypeW
,
hMenu
,
uPos
,
uIDVerbMin
,
uIDVerbMax
,
addConvert
,
idConvert
,
lphMenu
);
HeapFree
(
GetProcessHeap
(),
0
,
shorttypeW
);
return
ret
;
}
/***********************************************************************
...
...
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