added NtUserGetMenuDefaultItem() syscall

svn path=/trunk/; revision=5697
This commit is contained in:
Thomas Bluemel 2003-08-20 10:08:53 +00:00
parent 10f0f6628e
commit bcefe84d60
5 changed files with 33 additions and 5 deletions

View file

@ -379,6 +379,7 @@ NtUserGetCursorFrameInfo 4
NtUserGetCursorInfo 1
NtUserGetDC 1
NtUserGetDCEx 3
NtUserGetMenuDefaultItem 3
NtUserGetDoubleClickTime 0
NtUserGetForegroundWindow 0
NtUserGetGuiResources 2

View file

@ -661,6 +661,12 @@ STDCALL
NtUserGetCursorInfo(
DWORD Unknown0);
UINT STDCALL
NtUserGetMenuDefaultItem(
HMENU hMenu,
UINT fByPos,
UINT gmdiFlags);
HDC STDCALL
NtUserGetDC(HWND hWnd);

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: menu.c,v 1.25 2003/08/15 15:55:02 weiden Exp $
/* $Id: menu.c,v 1.26 2003/08/20 10:08:53 weiden Exp $
*
* PROJECT: ReactOS user32.dll
* FILE: lib/user32/windows/menu.c
@ -501,15 +501,14 @@ GetMenuCheckMarkDimensions(VOID)
/*
* @unimplemented
* @implemented
*/
UINT STDCALL
GetMenuDefaultItem(HMENU hMenu,
UINT fByPos,
UINT gmdiFlags)
{
UNIMPLEMENTED;
return -1;
return NtUserGetMenuDefaultItem(hMenu, fByPos, gmdiFlags);
}

View file

@ -170,6 +170,13 @@ BOOL
STDCALL
NtUserEndMenu(VOID);
UINT
STDCALL
NtUserGetMenuDefaultItem(
HMENU hMenu,
UINT fByPos,
UINT gmdiFlags);
BOOL
STDCALL
NtUserGetMenuBarInfo(

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: menu.c,v 1.18 2003/08/19 11:48:49 weiden Exp $
/* $Id: menu.c,v 1.19 2003/08/20 10:08:53 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -989,6 +989,21 @@ NtUserEndMenu(VOID)
}
/*
* @unimplemented
*/
UINT STDCALL
NtUserGetMenuDefaultItem(
HMENU hMenu,
UINT fByPos,
UINT gmdiFlags)
{
UNIMPLEMENTED
return -1;
}
/*
* @unimplemented
*/