mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
Fixed some typos
svn path=/trunk/; revision=3086
This commit is contained in:
parent
5b804e36db
commit
0a5b749896
1 changed files with 5 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: class.c,v 1.10 2002/06/11 22:09:01 dwelch Exp $
|
/* $Id: class.c,v 1.11 2002/06/14 18:55:09 jfilby Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
|
@ -176,9 +176,8 @@ RegisterClassExA(CONST WNDCLASSEX *lpwcx)
|
||||||
return (ATOM)0;
|
return (ATOM)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!RtlCreateUnicodeStringFromAsciiz(&ClassName, (PCSZ)lpwcx->lpszMenuName))
|
if (!RtlCreateUnicodeStringFromAsciiz(&ClassName, (PCSZ)lpwcx->lpszClassName))
|
||||||
{
|
{
|
||||||
RtlFreeUnicodeString(&MenuName);
|
|
||||||
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
||||||
return (ATOM)0;
|
return (ATOM)0;
|
||||||
}
|
}
|
||||||
|
@ -187,7 +186,7 @@ RegisterClassExA(CONST WNDCLASSEX *lpwcx)
|
||||||
Class.lpszMenuName = (LPCTSTR)MenuName.Buffer;
|
Class.lpszMenuName = (LPCTSTR)MenuName.Buffer;
|
||||||
Class.lpszClassName = (LPCTSTR)ClassName.Buffer;
|
Class.lpszClassName = (LPCTSTR)ClassName.Buffer;
|
||||||
|
|
||||||
Atom = NtUserRegisterClassExWOW((WNDCLASSEX*)lpwcx,
|
Atom = NtUserRegisterClassExWOW(&Class,
|
||||||
FALSE,
|
FALSE,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
@ -205,7 +204,7 @@ ATOM STDCALL
|
||||||
RegisterClassExW(CONST WNDCLASSEX *lpwcx)
|
RegisterClassExW(CONST WNDCLASSEX *lpwcx)
|
||||||
{
|
{
|
||||||
RTL_ATOM Atom;
|
RTL_ATOM Atom;
|
||||||
|
|
||||||
Atom = NtUserRegisterClassExWOW((WNDCLASSEX*)lpwcx,
|
Atom = NtUserRegisterClassExWOW((WNDCLASSEX*)lpwcx,
|
||||||
TRUE,
|
TRUE,
|
||||||
0,
|
0,
|
||||||
|
@ -220,7 +219,7 @@ ATOM STDCALL
|
||||||
RegisterClassW(CONST WNDCLASS *lpWndClass)
|
RegisterClassW(CONST WNDCLASS *lpWndClass)
|
||||||
{
|
{
|
||||||
WNDCLASSEX Class;
|
WNDCLASSEX Class;
|
||||||
|
|
||||||
RtlMoveMemory(&Class.style, lpWndClass, sizeof(WNDCLASS));
|
RtlMoveMemory(&Class.style, lpWndClass, sizeof(WNDCLASS));
|
||||||
Class.cbSize = sizeof(WNDCLASSEX);
|
Class.cbSize = sizeof(WNDCLASSEX);
|
||||||
Class.hIconSm = INVALID_HANDLE_VALUE;
|
Class.hIconSm = INVALID_HANDLE_VALUE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue