Added a few new syscalls

svn path=/trunk/; revision=5360
This commit is contained in:
Thomas Bluemel 2003-08-01 10:56:40 +00:00
parent 6af74c71d9
commit ef7b713c37
2 changed files with 79 additions and 5 deletions

View file

@ -26,6 +26,14 @@ InitMenuImpl(VOID);
NTSTATUS FASTCALL NTSTATUS FASTCALL
CleanupMenuImpl(VOID); CleanupMenuImpl(VOID);
DWORD
STDCALL
NtUserBuildMenuItemList(
HMENU hMenu,
LPCMENUITEMINFO* lpmiil,
ULONG nBufSize,
DWORD Reserved);
DWORD DWORD
STDCALL STDCALL
NtUserCheckMenuItem( NtUserCheckMenuItem(
@ -65,13 +73,13 @@ NtUserEnableMenuItem(
UINT uIDEnableItem, UINT uIDEnableItem,
UINT uEnable); UINT uEnable);
/*DWORD DWORD
STDCALL STDCALL
NtUserInsertMenuItem( NtUserInsertMenuItem(
HMENU hMenu, HMENU hMenu,
UINT uItem, UINT uItem,
WINBOOL fByPosition, WINBOOL fByPosition,
LPCMENUITEMINFO lpmii);*/ LPCMENUITEMINFO lpmii);
BOOL BOOL
STDCALL STDCALL
@ -106,6 +114,13 @@ NtUserHiliteMenuItem(
HMENU hmenu, HMENU hmenu,
UINT uItemHilite, UINT uItemHilite,
UINT uHilite); UINT uHilite);
BOOL
STDCALL
NtUserMenuInfo(
HMENU hmenu,
LPCMENUINFO lpcmi,
BOOL fsog);
int int
STDCALL STDCALL
@ -114,6 +129,15 @@ NtUserMenuItemFromPoint(
HMENU hMenu, HMENU hMenu,
DWORD X, DWORD X,
DWORD Y); DWORD Y);
BOOL
STDCALL
NtUserMenuItemInfo(
HMENU hMenu,
UINT uItem,
BOOL fByPosition,
LPMENUITEMINFO lpmii,
BOOL fsog);
BOOL BOOL
STDCALL STDCALL

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.1 2003/07/31 23:13:55 weiden Exp $ /* $Id: menu.c,v 1.2 2003/08/01 10:56:28 weiden Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -148,6 +148,23 @@ W32kSetMenuContextHelpId(PMENU_OBJECT MenuObject, DWORD dwContextHelpId)
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
/*
* @unimplemented
*/
DWORD
STDCALL
NtUserBuildMenuItemList(
HMENU hMenu,
LPCMENUITEMINFO* lpmiil,
ULONG nBufSize,
DWORD Reserved)
{
UNIMPLEMENTED
return 0;
}
/* /*
* @unimplemented * @unimplemented
*/ */
@ -262,7 +279,7 @@ NtUserEnableMenuItem(
/* /*
* @unimplemented * @unimplemented
*/ */
/*DWORD STDCALL DWORD STDCALL
NtUserInsertMenuItem( NtUserInsertMenuItem(
HMENU hMenu, HMENU hMenu,
UINT uItem, UINT uItem,
@ -272,7 +289,7 @@ NtUserInsertMenuItem(
UNIMPLEMENTED UNIMPLEMENTED
return 0; return 0;
}*/ }
/* /*
@ -349,6 +366,20 @@ NtUserHiliteMenuItem(
} }
/*
* @unimplemented
*/
BOOL
STDCALL
NtUserMenuInfo(
HMENU hmenu,
LPCMENUINFO lpcmi,
BOOL fsog)
{
}
/* /*
* @unimplemented * @unimplemented
*/ */
@ -365,6 +396,24 @@ NtUserMenuItemFromPoint(
} }
/*
* @unimplemented
*/
BOOL
STDCALL
NtUserMenuItemInfo(
HMENU hMenu,
UINT uItem,
BOOL fByPosition,
LPMENUITEMINFO lpmii,
BOOL fsog)
{
UNIMPLEMENTED
return 0;
}
/* /*
* @unimplemented * @unimplemented
*/ */
@ -485,4 +534,5 @@ NtUserTrackPopupMenuEx(
return 0; return 0;
} }
/* EOF */ /* EOF */