Some additions to the USER code; nothing is working yet.

svn path=/trunk/; revision=2915
This commit is contained in:
David Welch 2002-05-06 22:20:32 +00:00
parent 2593e9b43d
commit f1694d4913
16 changed files with 922 additions and 90 deletions

View file

@ -1,4 +1,4 @@
/* $Id: message.c,v 1.4 2001/06/12 17:50:27 chorns Exp $
/* $Id: message.c,v 1.5 2002/05/06 22:20:31 dwelch Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS user32.dll
@ -266,4 +266,28 @@ WaitMessage(VOID)
return FALSE;
}
UINT STDCALL
RegisterWindowMessageA(LPCSTR lpString)
{
UNICODE_STRING String;
BOOLEAN Result;
UINT Atom;
Result = RtlCreateUnicodeStringFromAsciiz(&String, lpString);
if (!Result)
{
return(0);
}
Atom = RegisterWindowMessageW(String.Buffer);
RtlFreeUnicodeString(&String);
return(Atom);
}
UINT STDCALL
RegisterWindowMessageW(LPCWSTR lpString)
{
return(NtUserRegisterWindowMessage(lpString));
}
/* EOF */