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
5c632145
Commit
5c632145
authored
Apr 08, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Forward the DllMain call to the dlldata.c generated function.
parent
1c02a909
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
bindprot.c
dlls/urlmon/bindprot.c
+2
-2
regsvr.c
dlls/urlmon/regsvr.c
+1
-1
urlmon_main.c
dlls/urlmon/urlmon_main.c
+2
-2
urlmon_main.h
dlls/urlmon/urlmon_main.h
+2
-1
No files found.
dlls/urlmon/bindprot.c
View file @
5c632145
...
...
@@ -155,7 +155,7 @@ HWND get_notif_hwnd(void)
NULL
};
wndclass
.
hInstance
=
URLMON_hInstance
;
wndclass
.
hInstance
=
hProxyDll
;
wnd_class
=
RegisterClassExW
(
&
wndclass
);
if
(
!
wnd_class
&&
GetLastError
()
==
ERROR_CLASS_ALREADY_EXISTS
)
...
...
@@ -164,7 +164,7 @@ HWND get_notif_hwnd(void)
tls_data
->
notif_hwnd
=
CreateWindowExW
(
0
,
wszURLMonikerNotificationWindow
,
wszURLMonikerNotificationWindow
,
0
,
0
,
0
,
0
,
0
,
HWND_MESSAGE
,
NULL
,
URLMON_hInstance
,
NULL
);
NULL
,
hProxyDll
,
NULL
);
if
(
tls_data
->
notif_hwnd
)
tls_data
->
notif_hwnd_cnt
++
;
...
...
dlls/urlmon/regsvr.c
View file @
5c632145
...
...
@@ -560,7 +560,7 @@ static HRESULT register_inf(BOOL doregister)
hAdvpack
=
LoadLibraryW
(
wszAdvpack
);
pRegInstall
=
(
void
*
)
GetProcAddress
(
hAdvpack
,
"RegInstall"
);
hres
=
pRegInstall
(
URLMON_hInstance
,
doregister
?
"RegisterDll"
:
"UnregisterDll"
,
&
strtable
);
hres
=
pRegInstall
(
hProxyDll
,
doregister
?
"RegisterDll"
:
"UnregisterDll"
,
&
strtable
);
for
(
i
=
0
;
i
<
sizeof
(
pse
)
/
sizeof
(
pse
[
0
]);
i
++
)
heap_free
(
pse
[
i
].
pszValue
);
...
...
dlls/urlmon/urlmon_main.c
View file @
5c632145
...
...
@@ -34,7 +34,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(urlmon);
LONG
URLMON_refCount
=
0
;
HINSTANCE
URLMON_hInstance
=
0
;
static
HMODULE
hCabinet
=
NULL
;
static
DWORD
urlmon_tls
=
TLS_OUT_OF_INDEXES
;
...
...
@@ -144,9 +143,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
{
TRACE
(
"%p 0x%x %p
\n
"
,
hinstDLL
,
fdwReason
,
fImpLoad
);
URLMON_DllMain
(
hinstDLL
,
fdwReason
,
fImpLoad
);
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
URLMON_hInstance
=
hinstDLL
;
init_session
(
TRUE
);
break
;
...
...
dlls/urlmon/urlmon_main.h
View file @
5c632145
...
...
@@ -36,7 +36,7 @@
#include "wine/unicode.h"
#include "wine/list.h"
extern
HINSTANCE
URLMON_hInstance
;
extern
HINSTANCE
hProxyDll
DECLSPEC_HIDDEN
;
extern
HRESULT
SecManagerImpl_Construct
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppobj
);
extern
HRESULT
ZoneMgrImpl_Construct
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppobj
);
extern
HRESULT
StdURLMoniker_Construct
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppobj
);
...
...
@@ -48,6 +48,7 @@ extern HRESULT GopherProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj);
extern
HRESULT
MkProtocol_Construct
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppobj
);
extern
HRESULT
MimeFilter_Construct
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppobj
);
extern
BOOL
WINAPI
URLMON_DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
URLMON_DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
iid
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
URLMON_DllRegisterServer
(
void
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
URLMON_DllUnregisterServer
(
void
)
DECLSPEC_HIDDEN
;
...
...
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