mirror of
https://github.com/reactos/reactos.git
synced 2025-07-10 09:34:12 +00:00
[USER32]: Now for the real fix: Initialize lpLibFileName and pCtx in User32CreateWindowEx prior to calling ClassNameToVersion.
This avoid passing invalid parameters to VersionRegisterClass (and subsequent functions) afterwards. Fix suggested by Mark Jansen, thanks! CORE-12855 svn path=/trunk/; revision=74018
This commit is contained in:
parent
0366c75f60
commit
41733bc328
1 changed files with 2 additions and 2 deletions
|
@ -176,8 +176,8 @@ User32CreateWindowEx(DWORD dwExStyle,
|
||||||
BOOL Unicode, ClassFound = FALSE;
|
BOOL Unicode, ClassFound = FALSE;
|
||||||
HWND Handle = NULL;
|
HWND Handle = NULL;
|
||||||
LPCWSTR lpszClsVersion;
|
LPCWSTR lpszClsVersion;
|
||||||
HANDLE pCtx;
|
LPCWSTR lpLibFileName = NULL;
|
||||||
LPCWSTR lpLibFileName;
|
HANDLE pCtx = NULL;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
DbgPrint("[window] User32CreateWindowEx style %d, exstyle %d, parent %d\n", dwStyle, dwExStyle, hWndParent);
|
DbgPrint("[window] User32CreateWindowEx style %d, exstyle %d, parent %d\n", dwStyle, dwExStyle, hWndParent);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue