mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
moved IntIsMenu() to menu.c
svn path=/trunk/; revision=6774
This commit is contained in:
parent
a370e8e8d3
commit
415bdc5e7c
1 changed files with 1 additions and 33 deletions
|
@ -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: window.c,v 1.146 2003/11/24 00:26:08 arty Exp $
|
||||
/* $Id: window.c,v 1.147 2003/11/24 09:27:54 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -166,38 +166,6 @@ IntIsWindow(HWND hWnd)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
* IntIsMenu
|
||||
*
|
||||
* The function determines whether the specified menu handle identifies
|
||||
* an existing menu.
|
||||
*
|
||||
* Parameters
|
||||
* hMenu
|
||||
* Handle to the menu to test.
|
||||
*
|
||||
* Return Value
|
||||
* If the menu handle identifies an existing menu, the return value
|
||||
* is TRUE. If the menu handle does not identify an existing menu,
|
||||
* the return value is FALSE.
|
||||
*
|
||||
* FIXME: Move this routine to menu.c.
|
||||
*/
|
||||
|
||||
BOOL FASTCALL
|
||||
IntIsMenu(HMENU hMenu)
|
||||
{
|
||||
|
||||
PMENU_OBJECT Menu;
|
||||
|
||||
if (!(Menu = IntGetMenuObject(hMenu)))
|
||||
return FALSE;
|
||||
else
|
||||
IntReleaseMenuObject(Menu);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
* IntGetProcessWindowObject
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue