Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
9ceda483
Commit
9ceda483
authored
Dec 28, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Load the 32-bit user.exe module wrapper from the 32-bit side.
parent
40a264b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
user.c
dlls/user.exe16/user.c
+11
-0
user_main.c
dlls/user32/user_main.c
+2
-3
No files found.
dlls/user.exe16/user.c
View file @
9ceda483
...
...
@@ -387,6 +387,17 @@ static void free_clipboard_formats(void)
}
}
/**********************************************************************
* DllMain
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
if
(
reason
==
DLL_PROCESS_ATTACH
)
LoadLibrary16
(
"user.exe"
);
return
TRUE
;
}
/**********************************************************************
* InitApp (USER.5)
*/
...
...
dlls/user32/user_main.c
View file @
9ceda483
...
...
@@ -29,7 +29,6 @@
#include "controls.h"
#include "user_private.h"
#include "win.h"
#include "wine/winbase16.h"
#include "wine/unicode.h"
#include "wine/debug.h"
...
...
@@ -271,8 +270,6 @@ static void winstation_init(void)
*/
static
BOOL
process_attach
(
void
)
{
LoadLibrary16
(
"user.exe"
);
winstation_init
();
/* Initialize system colors and metrics */
...
...
@@ -281,6 +278,8 @@ static BOOL process_attach(void)
/* Setup palette function pointers */
palette_init
();
LoadLibraryA
(
"user.exe16"
);
/* Initialize built-in window classes */
CLASS_RegisterBuiltinClasses
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment