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
5552da92
Commit
5552da92
authored
Jun 26, 2003
by
Steven Edwards
Committed by
Alexandre Julliard
Jun 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded calls to LoadLibrary16 and FreeLibrary16.
parent
1ae17975
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
cdlg32.c
dlls/commdlg/cdlg32.c
+0
-4
No files found.
dlls/commdlg/cdlg32.c
View file @
5552da92
...
...
@@ -20,7 +20,6 @@
*/
#include "winbase.h"
#include "wine/winbase16.h"
#include "commdlg.h"
#include "cderr.h"
#include "wine/debug.h"
...
...
@@ -31,7 +30,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
HINSTANCE
COMDLG32_hInstance
=
0
;
static
HINSTANCE16
COMDLG32_hInstance16
;
static
DWORD
COMDLG32_TlsIndex
;
...
...
@@ -78,7 +76,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved)
COMDLG32_hInstance
=
hInstance
;
DisableThreadLibraryCalls
(
hInstance
);
COMDLG32_hInstance16
=
LoadLibrary16
(
"commdlg.dll"
);
COMDLG32_TlsIndex
=
0xffffffff
;
SHELL32_hInstance
=
GetModuleHandleA
(
"SHELL32.DLL"
);
...
...
@@ -120,7 +117,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved)
case
DLL_PROCESS_DETACH
:
if
(
COMDLG32_TlsIndex
!=
0xffffffff
)
TlsFree
(
COMDLG32_TlsIndex
);
if
(
COMDLG32_hInstance16
)
FreeLibrary16
(
COMDLG32_hInstance16
);
if
(
SHFOLDER_hInstance
)
FreeLibrary
(
SHFOLDER_hInstance
);
break
;
}
...
...
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