Author: jimtabor
Date: Thu Dec 30 03:03:45 2010
New Revision: 50220
URL:
http://svn.reactos.org/svn/reactos?rev=50220&view=rev
Log:
[Win32k]
- NtUserSetWindowFNID, sets user client side window function Ids, expands to ghost.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Thu Dec 30 03:03:45
2010
@@ -3887,9 +3887,10 @@
// From user land we only set these.
if (fnID != FNID_DESTROY)
{
- if ( ((fnID < FNID_BUTTON) && (fnID > FNID_IME)) ||
+ if ( ((fnID < FNID_BUTTON) && (fnID > FNID_GHOST)) ||
Wnd->fnid != 0 )
{
+ EngSetLastError(ERROR_INVALID_PARAMETER);
RETURN( FALSE);
}
}