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
69c4115c
Commit
69c4115c
authored
Jul 03, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Forward InternetGetCookieW to InternetGetCookieExW, not the other way around.
parent
2551f092
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
25 deletions
+18
-25
cookie.c
dlls/wininet/cookie.c
+18
-25
No files found.
dlls/wininet/cookie.c
View file @
69c4115c
...
...
@@ -649,7 +649,7 @@ DWORD get_cookie(const WCHAR *host, const WCHAR *path, WCHAR *cookie_data, DWORD
}
/***********************************************************************
* InternetGetCookieW (WININET.@)
* InternetGetCookie
Ex
W (WININET.@)
*
* Retrieve cookie from the specified url
*
...
...
@@ -661,14 +661,17 @@ DWORD get_cookie(const WCHAR *host, const WCHAR *path, WCHAR *cookie_data, DWORD
* FALSE on failure
*
*/
BOOL
WINAPI
InternetGetCookieW
(
LPCWSTR
lpszUrl
,
LPCWSTR
lpszCookieName
,
LPWSTR
lpCookieData
,
LPDWORD
lpdwSize
)
BOOL
WINAPI
InternetGetCookie
Ex
W
(
LPCWSTR
lpszUrl
,
LPCWSTR
lpszCookieName
,
LPWSTR
lpCookieData
,
LPDWORD
lpdwSize
,
DWORD
flags
,
void
*
reserved
)
{
WCHAR
host
[
INTERNET_MAX_HOST_NAME_LENGTH
],
path
[
INTERNET_MAX_PATH_LENGTH
];
DWORD
res
;
BOOL
ret
;
TRACE
(
"(%s, %s, %p, %p)
\n
"
,
debugstr_w
(
lpszUrl
),
debugstr_w
(
lpszCookieName
),
lpCookieData
,
lpdwSize
);
TRACE
(
"(%s, %s, %p, %p, %x, %p)
\n
"
,
debugstr_w
(
lpszUrl
),
debugstr_w
(
lpszCookieName
),
lpCookieData
,
lpdwSize
,
flags
,
reserved
);
if
(
flags
)
FIXME
(
"flags 0x%08x not supported
\n
"
,
flags
);
if
(
!
lpszUrl
)
{
...
...
@@ -689,6 +692,17 @@ BOOL WINAPI InternetGetCookieW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName,
return
res
==
ERROR_SUCCESS
;
}
/***********************************************************************
* InternetGetCookieW (WININET.@)
*
* Retrieve cookie for the specified URL.
*/
BOOL
WINAPI
InternetGetCookieW
(
const
WCHAR
*
url
,
const
WCHAR
*
name
,
WCHAR
*
data
,
DWORD
*
size
)
{
TRACE
(
"(%s, %s, %s, %p)
\n
"
,
debugstr_w
(
url
),
debugstr_w
(
name
),
debugstr_w
(
data
),
size
);
return
InternetGetCookieExW
(
url
,
name
,
data
,
size
,
0
,
NULL
);
}
/***********************************************************************
* InternetGetCookieExA (WININET.@)
...
...
@@ -1089,27 +1103,6 @@ DWORD WINAPI InternetSetCookieExW( LPCWSTR lpszURL, LPCWSTR lpszCookieName, LPCW
}
/***********************************************************************
* InternetGetCookieExW (WININET.@)
*
* Retrieve cookie for the specified URL.
*
* RETURNS
* TRUE on success
* FALSE on failure
*
*/
BOOL
WINAPI
InternetGetCookieExW
(
LPCWSTR
pchURL
,
LPCWSTR
pchCookieName
,
LPWSTR
pchCookieData
,
LPDWORD
pcchCookieData
,
DWORD
dwFlags
,
LPVOID
lpReserved
)
{
TRACE
(
"(%s, %s, %s, %p, 0x%08x, %p)
\n
"
,
debugstr_w
(
pchURL
),
debugstr_w
(
pchCookieName
),
debugstr_w
(
pchCookieData
),
pcchCookieData
,
dwFlags
,
lpReserved
);
if
(
dwFlags
)
FIXME
(
"flags 0x%08x not supported
\n
"
,
dwFlags
);
return
InternetGetCookieW
(
pchURL
,
pchCookieName
,
pchCookieData
,
pcchCookieData
);
}
/***********************************************************************
* InternetClearAllPerSiteCookieDecisions (WININET.@)
*
* Clears all per-site decisions about cookies.
...
...
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