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
e12ade9f
Commit
e12ade9f
authored
Apr 27, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Add stubs for PrivacyGet/SetZonePreferenceW.
parent
dc31d870
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
2 deletions
+38
-2
internet.c
dlls/wininet/internet.c
+19
-0
wininet.spec
dlls/wininet/wininet.spec
+2
-2
wininet.h
include/wininet.h
+17
-0
No files found.
dlls/wininet/internet.c
View file @
e12ade9f
...
...
@@ -3815,6 +3815,25 @@ DWORD WINAPI InternetConfirmZoneCrossingW( HWND hWnd, LPWSTR szUrlPrev, LPWSTR s
return
ERROR_SUCCESS
;
}
/***********************************************************************
* PrivacySetZonePreferenceW (WININET.@)
*/
DWORD
WINAPI
PrivacySetZonePreferenceW
(
DWORD
zone
,
DWORD
type
,
DWORD
template
,
LPCWSTR
preference
)
{
FIXME
(
"%x %x %x %s: stub
\n
"
,
zone
,
type
,
template
,
debugstr_w
(
preference
)
);
return
0
;
}
/***********************************************************************
* PrivacyGetZonePreferenceW (WININET.@)
*/
DWORD
WINAPI
PrivacyGetZonePreferenceW
(
DWORD
zone
,
DWORD
type
,
LPDWORD
template
,
LPWSTR
preference
,
LPDWORD
length
)
{
FIXME
(
"%x %x: stub
\n
"
,
zone
,
type
);
return
0
;
}
DWORD
WINAPI
InternetDialA
(
HWND
hwndParent
,
LPSTR
lpszConnectoid
,
DWORD
dwFlags
,
DWORD_PTR
*
lpdwConnection
,
DWORD
dwReserved
)
{
...
...
dlls/wininet/wininet.spec
View file @
e12ade9f
...
...
@@ -213,8 +213,8 @@
@ stdcall IsUrlCacheEntryExpiredW(wstr long ptr)
@ stub LoadUrlCacheContent
@ stub ParseX509EncodedCertificateForListBoxEntry
@ st
ub PrivacyGetZonePreferenceW #
(long long ptr ptr ptr)
@ st
ub PrivacySetZonePreferenceW #
(long long long wstr)
@ st
dcall PrivacyGetZonePreferenceW
(long long ptr ptr ptr)
@ st
dcall PrivacySetZonePreferenceW
(long long long wstr)
@ stdcall ReadUrlCacheEntryStream(ptr long ptr ptr long)
@ stdcall RegisterUrlCacheNotification(ptr long long long long long)
@ stdcall ResumeSuspendedDownload(long long)
...
...
include/wininet.h
View file @
e12ade9f
...
...
@@ -1356,6 +1356,23 @@ INTERNETAPI DWORD WINAPI InternetConfirmZoneCrossingA(HWND ,LPSTR ,LPSTR ,BOOL);
INTERNETAPI
DWORD
WINAPI
InternetConfirmZoneCrossingW
(
HWND
,
LPWSTR
,
LPWSTR
,
BOOL
);
#define InternetConfirmZoneCrossing WINELIB_NAME_AW(InternetConfirmZoneCrossing)
#define PRIVACY_TEMPLATE_NO_COOKIES 0
#define PRIVACY_TEMPLATE_HIGH 1
#define PRIVACY_TEMPLATE_MEDIUM_HIGH 2
#define PRIVACY_TEMPLATE_MEDIUM 3
#define PRIVACY_TEMPLATE_MEDIUM_LOW 4
#define PRIVACY_TEMPLATE_LOW 5
#define PRIVACY_TEMPLATE_CUSTOM 100
#define PRIVACY_TEMPLATE_ADVANCED 101
#define PRIVACY_TEMPLATE_MAX PRIVACY_TEMPLATE_LOW
#define PRIVACY_TYPE_FIRST_PARTY 0
#define PRIVACY_TYPE_THIRD_PARTY 1
INTERNETAPI
DWORD
WINAPI
PrivacySetZonePreferenceW
(
DWORD
,
DWORD
,
DWORD
,
LPCWSTR
);
INTERNETAPI
DWORD
WINAPI
PrivacyGetZonePreferenceW
(
DWORD
,
DWORD
,
LPDWORD
,
LPWSTR
,
LPDWORD
);
#define INTERNET_ERROR_BASE 12000
#define ERROR_INTERNET_OUT_OF_HANDLES (INTERNET_ERROR_BASE + 1)
...
...
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