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
a9ae7682
Commit
a9ae7682
authored
Jul 22, 2003
by
Jon Griffiths
Committed by
Alexandre Julliard
Jul 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a handle for urlmon.dll, fix MSVC warning.
parent
2fa7055c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
shlwapi_main.c
dlls/shlwapi/shlwapi_main.c
+4
-2
No files found.
dlls/shlwapi/shlwapi_main.c
View file @
a9ae7682
...
...
@@ -35,9 +35,10 @@ HMODULE SHLWAPI_hcomdlg32 = 0;
HMODULE
SHLWAPI_hcomctl32
=
0
;
HMODULE
SHLWAPI_hmpr
=
0
;
HMODULE
SHLWAPI_hmlang
=
0
;
HMODULE
SHLWAPI_hurlmon
=
0
;
HMODULE
SHLWAPI_hversion
=
0
;
DWORD
SHLWAPI_ThreadRef_index
=
-
1
;
DWORD
SHLWAPI_ThreadRef_index
=
TLS_OUT_OF_INDEXES
;
/*************************************************************************
* SHLWAPI {SHLWAPI}
...
...
@@ -76,8 +77,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
if
(
SHLWAPI_hcomctl32
)
FreeLibrary
(
SHLWAPI_hcomctl32
);
if
(
SHLWAPI_hmpr
)
FreeLibrary
(
SHLWAPI_hmpr
);
if
(
SHLWAPI_hmlang
)
FreeLibrary
(
SHLWAPI_hmlang
);
if
(
SHLWAPI_hurlmon
)
FreeLibrary
(
SHLWAPI_hurlmon
);
if
(
SHLWAPI_hversion
)
FreeLibrary
(
SHLWAPI_hversion
);
if
(
SHLWAPI_ThreadRef_index
>=
0
)
TlsFree
(
SHLWAPI_ThreadRef_index
);
if
(
SHLWAPI_ThreadRef_index
!=
TLS_OUT_OF_INDEXES
)
TlsFree
(
SHLWAPI_ThreadRef_index
);
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