mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +00:00
fixed build error
svn path=/trunk/; revision=5376
This commit is contained in:
parent
9bf077bd41
commit
920142e43a
1 changed files with 5 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: menu.c,v 1.4 2003/08/02 00:03:33 royce Exp $
|
/* $Id: menu.c,v 1.5 2003/08/02 00:34:19 royce Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -422,6 +422,7 @@ NtUserSetMenuContextHelpId(
|
||||||
HMENU hmenu,
|
HMENU hmenu,
|
||||||
DWORD dwContextHelpId)
|
DWORD dwContextHelpId)
|
||||||
{
|
{
|
||||||
|
BOOL res;
|
||||||
PMENU_OBJECT MenuObject = W32kGetMenuObject(hmenu);
|
PMENU_OBJECT MenuObject = W32kGetMenuObject(hmenu);
|
||||||
if(!MenuObject)
|
if(!MenuObject)
|
||||||
{
|
{
|
||||||
|
@ -429,7 +430,7 @@ NtUserSetMenuContextHelpId(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL res = W32kSetMenuContextHelpId(MenuObject, dwContextHelpId);
|
res = W32kSetMenuContextHelpId(MenuObject, dwContextHelpId);
|
||||||
W32kReleaseMenuObject(MenuObject);
|
W32kReleaseMenuObject(MenuObject);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
@ -457,6 +458,7 @@ BOOL STDCALL
|
||||||
NtUserSetMenuFlagRtoL(
|
NtUserSetMenuFlagRtoL(
|
||||||
HMENU hMenu)
|
HMENU hMenu)
|
||||||
{
|
{
|
||||||
|
BOOL res;
|
||||||
PMENU_OBJECT MenuObject = W32kGetMenuObject(hMenu);
|
PMENU_OBJECT MenuObject = W32kGetMenuObject(hMenu);
|
||||||
if(!MenuObject)
|
if(!MenuObject)
|
||||||
{
|
{
|
||||||
|
@ -464,7 +466,7 @@ NtUserSetMenuFlagRtoL(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL res = W32kSetMenuFlagRtoL(MenuObject);
|
res = W32kSetMenuFlagRtoL(MenuObject);
|
||||||
W32kReleaseMenuObject(MenuObject);
|
W32kReleaseMenuObject(MenuObject);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue