reactos/subsys/win32k/ntuser
diff -u -r1.1.4.14 -r1.1.4.15
--- ntuser.c 27 Sep 2004 12:07:47 -0000 1.1.4.14
+++ ntuser.c 27 Sep 2004 12:26:31 -0000 1.1.4.15
@@ -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: ntuser.c,v 1.1.4.14 2004/09/27 12:07:47 royce Exp $
+/* $Id: ntuser.c,v 1.1.4.15 2004/09/27 12:26:31 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -2462,3 +2462,25 @@
END_NTUSER_NOERR();
}
+UINT STDCALL
+NtUserRegisterWindowMessage(PUNICODE_STRING MessageNameUnsafe)
+{
+ UNICODE_STRING SafeMessageName;
+ NTSTATUS Status;
+ BEGIN_NTUSER(UINT,0);
+
+ NTUSER_FAIL_INVALID_PARAMETER(MessageNameUnsafe,NULL);
+
+ Status = IntSafeCopyUnicodeStringTerminateNULL(&SafeMessageName, MessageNameUnsafe);
+ if(!NT_SUCCESS(Status))
+ {
+ SetLastNtError(Status);
+ return 0;
+ }
+
+ Result = (UINT)IntAddAtom(SafeMessageName.Buffer);
+
+ RtlFreeUnicodeString(&SafeMessageName);
+
+ END_NTUSER();
+}
reactos/subsys/win32k/ntuser
diff -u -r1.45.12.7 -r1.45.12.8
--- stubs.c 24 Sep 2004 18:35:40 -0000 1.45.12.7
+++ stubs.c 27 Sep 2004 12:26:32 -0000 1.45.12.8
@@ -1,4 +1,4 @@
-/* $Id: stubs.c,v 1.45.12.7 2004/09/24 18:35:40 weiden Exp $
+/* $Id: stubs.c,v 1.45.12.8 2004/09/27 12:26:32 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -796,7 +796,7 @@
SETSCROLLBARINFO *info)
{
UNIMPLEMENTED;
- return FALSE;
+ return TRUE;
}
DWORD
@@ -1063,20 +1063,6 @@
}
-BOOL STDCALL
-NtUserMoveWindow(
- HWND hWnd,
- int X,
- int Y,
- int nWidth,
- int nHeight,
- BOOL bRepaint)
-{
- UNIMPLEMENTED;
- return FALSE;
-}
-
-
/*
QueryWindow based on KJK::Hyperion and James Tabor.
@@ -1107,14 +1093,6 @@
}
-UINT STDCALL
-NtUserRegisterWindowMessage(PUNICODE_STRING MessageNameUnsafe)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-
DWORD STDCALL
NtUserSetImeOwnerWindow(DWORD Unknown0,
DWORD Unknown1)