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
Releases
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
Jason Beetham
wine
Commits
a20a59f0
Commit
a20a59f0
authored
25 years ago
by
Juergen Schmied
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Explicitly load shell32.dll.
parent
a77a8903
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/commdlg/cdlg32.c
+11
-1
11 additions, 1 deletion
dlls/commdlg/cdlg32.c
with
11 additions
and
1 deletion
dlls/commdlg/cdlg32.c
+
11
−
1
View file @
a20a59f0
...
...
@@ -22,6 +22,8 @@ static DWORD COMDLG32_TlsIndex;
static
int
COMDLG32_Attach
=
0
;
HINSTANCE
COMCTL32_hInstance
=
0
;
HINSTANCE
SHELL32_hInstance
=
0
;
HDPA
(
WINAPI
*
COMDLG32_DPA_Create
)
(
INT
);
LPVOID
(
WINAPI
*
COMDLG32_DPA_GetPtr
)
(
const
HDPA
,
INT
);
LPVOID
(
WINAPI
*
COMDLG32_DPA_DeletePtr
)
(
const
HDPA
hdpa
,
INT
i
);
...
...
@@ -81,6 +83,13 @@ BOOL WINAPI COMDLG32_DllEntryPoint(HINSTANCE hInstance, DWORD Reason, LPVOID Res
}
COMCTL32_hInstance
=
LoadLibraryA
(
"COMCTL32.DLL"
);
SHELL32_hInstance
=
LoadLibraryA
(
"SHELL32.DLL"
);
if
(
!
COMCTL32_hInstance
||
!
SHELL32_hInstance
)
{
ERR
(
"loading of comctl32 or shell32 failed
\n
"
);
return
FALSE
;
}
COMDLG32_DPA_Create
=
(
void
*
)
GetProcAddress
(
COMCTL32_hInstance
,
(
LPCSTR
)
328L
);
COMDLG32_DPA_Destroy
=
(
void
*
)
GetProcAddress
(
COMCTL32_hInstance
,
(
LPCSTR
)
329L
);
...
...
@@ -103,8 +112,9 @@ BOOL WINAPI COMDLG32_DllEntryPoint(HINSTANCE hInstance, DWORD Reason, LPVOID Res
if
(
COMDLG32_hInstance16
)
FreeLibrary16
(
COMDLG32_hInstance16
);
FreeLibrary
(
COMCTL32_hInstance
);
}
FreeLibrary
(
COMCTL32_hInstance
);
FreeLibrary
(
SHELL32_hInstance
);
break
;
}
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