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
46be4127
Commit
46be4127
authored
Dec 19, 2010
by
David Hedberg
Committed by
Alexandre Julliard
Dec 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Make module handle scope global.
parent
3ce93045
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
dialogs.c
dlls/wininet/dialogs.c
+2
-3
internet.c
dlls/wininet/internet.c
+1
-1
internet.h
dlls/wininet/internet.h
+2
-0
No files found.
dlls/wininet/dialogs.c
View file @
46be4127
...
...
@@ -490,7 +490,6 @@ DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
DWORD
dwError
,
DWORD
dwFlags
,
LPVOID
*
lppvData
)
{
struct
WININET_ErrorDlgParams
params
;
HMODULE
hwininet
=
GetModuleHandleA
(
"wininet.dll"
);
INT
dwStatus
;
TRACE
(
"%p %p %d %08x %p
\n
"
,
hWnd
,
hRequest
,
dwError
,
dwFlags
,
lppvData
);
...
...
@@ -512,10 +511,10 @@ DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
switch
(
dwStatus
)
{
case
HTTP_STATUS_PROXY_AUTH_REQ
:
return
DialogBoxParamW
(
hwininet
,
MAKEINTRESOURCEW
(
IDD_PROXYDLG
),
return
DialogBoxParamW
(
WININET_hModule
,
MAKEINTRESOURCEW
(
IDD_PROXYDLG
),
hWnd
,
WININET_ProxyPasswordDialog
,
(
LPARAM
)
&
params
);
case
HTTP_STATUS_DENIED
:
return
DialogBoxParamW
(
hwininet
,
MAKEINTRESOURCEW
(
IDD_AUTHDLG
),
return
DialogBoxParamW
(
WININET_hModule
,
MAKEINTRESOURCEW
(
IDD_AUTHDLG
),
hWnd
,
WININET_PasswordDialog
,
(
LPARAM
)
&
params
);
default:
WARN
(
"unhandled status %u
\n
"
,
dwStatus
);
...
...
dlls/wininet/internet.c
View file @
46be4127
...
...
@@ -88,7 +88,7 @@ typedef struct
}
WITHREADERROR
,
*
LPWITHREADERROR
;
static
DWORD
g_dwTlsErrIndex
=
TLS_OUT_OF_INDEXES
;
static
HMODULE
WININET_hModule
;
HMODULE
WININET_hModule
;
#define HANDLE_CHUNK_SIZE 0x10
...
...
dlls/wininet/internet.h
View file @
46be4127
...
...
@@ -47,6 +47,8 @@
#define ioctlsocket ioctl
#endif
/* __MINGW32__ */
extern
HMODULE
WININET_hModule
;
/* used for netconnection.c stuff */
typedef
struct
{
...
...
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