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 NtUserGetCursorInfo 1
NtUserGetDC 1 NtUserGetDC 1
NtUserGetDCEx 3 NtUserGetDCEx 3
NtUserGetMenuDefaultItem 3
NtUserGetDoubleClickTime 0 NtUserGetDoubleClickTime 0
NtUserGetForegroundWindow 0 NtUserGetForegroundWindow 0
NtUserGetGuiResources 2 NtUserGetGuiResources 2

View file

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

View file

@ -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.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 * PROJECT: ReactOS user32.dll
* FILE: lib/user32/windows/menu.c * FILE: lib/user32/windows/menu.c
@ -501,15 +501,14 @@ GetMenuCheckMarkDimensions(VOID)
/* /*
* @unimplemented * @implemented
*/ */
UINT STDCALL UINT STDCALL
GetMenuDefaultItem(HMENU hMenu, GetMenuDefaultItem(HMENU hMenu,
UINT fByPos, UINT fByPos,
UINT gmdiFlags) UINT gmdiFlags)
{ {
UNIMPLEMENTED; return NtUserGetMenuDefaultItem(hMenu, fByPos, gmdiFlags);
return -1;
} }

View file

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

View file

@ -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.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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -989,6 +989,21 @@ NtUserEndMenu(VOID)
} }
/*
* @unimplemented
*/
UINT STDCALL
NtUserGetMenuDefaultItem(
HMENU hMenu,
UINT fByPos,
UINT gmdiFlags)
{
UNIMPLEMENTED
return -1;
}
/* /*
* @unimplemented * @unimplemented
*/ */