Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a20a59f0
Commit
a20a59f0
authored
Aug 07, 1999
by
Juergen Schmied
Committed by
Alexandre Julliard
Aug 07, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicitly load shell32.dll.
parent
a77a8903
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
cdlg32.c
dlls/commdlg/cdlg32.c
+11
-1
No files found.
dlls/commdlg/cdlg32.c
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
;
...
...
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