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
8ca611a5
Commit
8ca611a5
authored
Feb 26, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Moved dialog-related functions to dialog.c.
parent
376a4f78
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
46 deletions
+46
-46
dialogs.c
dlls/wininet/dialogs.c
+46
-0
http.c
dlls/wininet/http.c
+0
-46
No files found.
dlls/wininet/dialogs.c
View file @
8ca611a5
...
...
@@ -37,6 +37,7 @@
#include "winerror.h"
#define NO_SHLWAPI_STREAM
#include "shlwapi.h"
#include "cryptuiapi.h"
#include "internet.h"
...
...
@@ -560,3 +561,48 @@ DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
WININET_Release
(
&
req
->
hdr
);
return
res
;
}
/***********************************************************************
* InternetShowSecurityInfoByURLA (@)
*/
BOOL
WINAPI
InternetShowSecurityInfoByURLA
(
LPCSTR
url
,
HWND
window
)
{
FIXME
(
"stub: %s %p
\n
"
,
url
,
window
);
return
FALSE
;
}
/***********************************************************************
* InternetShowSecurityInfoByURLW (@)
*/
BOOL
WINAPI
InternetShowSecurityInfoByURLW
(
LPCWSTR
url
,
HWND
window
)
{
FIXME
(
"stub: %s %p
\n
"
,
debugstr_w
(
url
),
window
);
return
FALSE
;
}
/***********************************************************************
* ShowX509EncodedCertificate (@)
*/
DWORD
WINAPI
ShowX509EncodedCertificate
(
HWND
parent
,
LPBYTE
cert
,
DWORD
len
)
{
PCCERT_CONTEXT
certContext
=
CertCreateCertificateContext
(
X509_ASN_ENCODING
,
cert
,
len
);
DWORD
ret
;
if
(
certContext
)
{
CRYPTUI_VIEWCERTIFICATE_STRUCTW
view
;
memset
(
&
view
,
0
,
sizeof
(
view
));
view
.
hwndParent
=
parent
;
view
.
pCertContext
=
certContext
;
if
(
CryptUIDlgViewCertificateW
(
&
view
,
NULL
))
ret
=
ERROR_SUCCESS
;
else
ret
=
GetLastError
();
CertFreeCertificateContext
(
certContext
);
}
else
ret
=
GetLastError
();
return
ret
;
}
dlls/wininet/http.c
View file @
8ca611a5
...
...
@@ -66,7 +66,6 @@
#include "sspi.h"
#include "wincrypt.h"
#include "winuser.h"
#include "cryptuiapi.h"
#include "internet.h"
#include "wine/debug.h"
...
...
@@ -6112,48 +6111,3 @@ BOOL WINAPI IsHostInProxyBypassList(DWORD flags, LPCSTR szHost, DWORD length)
FIXME
(
"STUB: flags=%d host=%s length=%d
\n
"
,
flags
,
szHost
,
length
);
return
FALSE
;
}
/***********************************************************************
* InternetShowSecurityInfoByURLA (@)
*/
BOOL
WINAPI
InternetShowSecurityInfoByURLA
(
LPCSTR
url
,
HWND
window
)
{
FIXME
(
"stub: %s %p
\n
"
,
url
,
window
);
return
FALSE
;
}
/***********************************************************************
* InternetShowSecurityInfoByURLW (@)
*/
BOOL
WINAPI
InternetShowSecurityInfoByURLW
(
LPCWSTR
url
,
HWND
window
)
{
FIXME
(
"stub: %s %p
\n
"
,
debugstr_w
(
url
),
window
);
return
FALSE
;
}
/***********************************************************************
* ShowX509EncodedCertificate (@)
*/
DWORD
WINAPI
ShowX509EncodedCertificate
(
HWND
parent
,
LPBYTE
cert
,
DWORD
len
)
{
PCCERT_CONTEXT
certContext
=
CertCreateCertificateContext
(
X509_ASN_ENCODING
,
cert
,
len
);
DWORD
ret
;
if
(
certContext
)
{
CRYPTUI_VIEWCERTIFICATE_STRUCTW
view
;
memset
(
&
view
,
0
,
sizeof
(
view
));
view
.
hwndParent
=
parent
;
view
.
pCertContext
=
certContext
;
if
(
CryptUIDlgViewCertificateW
(
&
view
,
NULL
))
ret
=
ERROR_SUCCESS
;
else
ret
=
GetLastError
();
CertFreeCertificateContext
(
certContext
);
}
else
ret
=
GetLastError
();
return
ret
;
}
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