mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:42:58 +00:00
Some additions to the USER code; nothing is working yet.
svn path=/trunk/; revision=2915
This commit is contained in:
parent
2593e9b43d
commit
f1694d4913
16 changed files with 922 additions and 90 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue