Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
937f4d3e
Commit
937f4d3e
authored
25 years ago
by
Ulrich Weigand
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added USER.DllEntryPoint().
parent
979000e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
if1632/user.spec
+1
-0
1 addition, 0 deletions
if1632/user.spec
windows/user.c
+22
-0
22 additions, 0 deletions
windows/user.c
with
23 additions
and
0 deletions
if1632/user.spec
+
1
−
0
View file @
937f4d3e
...
...
@@ -349,6 +349,7 @@ file user.exe
371 pascal16 SetWindowPlacement(word ptr) SetWindowPlacement16
372 stub GetInternalIconHeader
373 pascal16 SubtractRect(ptr ptr ptr) SubtractRect16
374 pascal DllEntryPoint(long word word word long word) USER_DllEntryPoint
375 stub DrawTextEx
376 stub SetMessageExtraInfo
378 stub SetPropEx
...
...
This diff is collapsed.
Click to expand it.
windows/user.c
+
22
−
0
View file @
937f4d3e
...
...
@@ -258,6 +258,28 @@ WORD WINAPI UserSignalProc( UINT uCode, DWORD dwThreadOrProcessID,
return
0
;
}
/***********************************************************************
* USER_DllEntryPoint (USER.374)
*/
BOOL
WINAPI
USER_DllEntryPoint
(
DWORD
dwReason
,
HINSTANCE
hInstDLL
,
WORD
ds
,
WORD
wHeapSize
,
DWORD
dwReserved1
,
WORD
wReserved2
)
{
switch
(
dwReason
)
{
case
DLL_PROCESS_ATTACH
:
/*
* We need to load the 32-bit library so as to be able
* to access the system resources stored there!
*/
if
(
!
LoadLibraryA
(
"USER32.DLL"
)
)
{
ERR_
(
win
)(
"Could not load USER32.DLL
\n
"
);
return
FALSE
;
}
}
return
TRUE
;
}
/***********************************************************************
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment