Skip to content

Latest commit

 

History

History
99 lines (68 loc) · 3 KB

nf-msxml6-ixmlhttprequest2-getcookie.md

File metadata and controls

99 lines (68 loc) · 3 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msxml6.IXMLHTTPRequest2.GetCookie
IXMLHTTPRequest2::GetCookie (msxml6.h)
Gets a cookie associated with the specified URL from the HTTP cookie jar.
GetCookie
GetCookie method [XMLHttpRequest2]
GetCookie method [XMLHttpRequest2]
IXMLHTTPRequest2 interface
IXMLHTTPRequest2 interface [XMLHttpRequest2]
GetCookie method
IXMLHTTPRequest2.GetCookie
IXMLHTTPRequest2::GetCookie
ixhr2.ixmlhttprequest2_getcookie
msxml6/IXMLHTTPRequest2::GetCookie
ixhr2\ixmlhttprequest2_getcookie.htm
ixhr2
A2A9C54B-92A2-41EA-A741-797BA219BCDA
12/05/2018
GetCookie, GetCookie method [XMLHttpRequest2], GetCookie method [XMLHttpRequest2],IXMLHTTPRequest2 interface, IXMLHTTPRequest2 interface [XMLHttpRequest2],GetCookie method, IXMLHTTPRequest2.GetCookie, IXMLHTTPRequest2::GetCookie, ixhr2.ixmlhttprequest2_getcookie, msxml6/IXMLHTTPRequest2::GetCookie
msxml6.h
Windows
Windows 8 [desktop apps \| UWP apps],MSXML 6.0 and later
Windows Server 2012 [desktop apps \| UWP apps]
Msxml6.idl
Windows
19H1
IXMLHTTPRequest2::GetCookie
msxml6/IXMLHTTPRequest2::GetCookie
c++
APIRef
kbSyntax
COM
msxml6.h
IXMLHTTPRequest2.GetCookie

IXMLHTTPRequest2::GetCookie

-description

Gets a cookie associated with the specified URL from the HTTP cookie jar.

-parameters

-param pwszUrl

A null-terminated string that specifies the URL in the cookie.

-param pwszName

A null-terminated string that specifies the name in the cookie.

-param dwFlags

A set of bit flags that specifies how this method retrieves the cookies. This parameter can be a set values from the XHR_COOKIE_FLAG enumeration type defined in the Msxml6.h header file.

-param pcCookies

A count of cookies pointed to by the ppCookies if the call is successful.

-param ppCookies [out]

A pointer to the cookies associated with the specified pwszUrl and pwszName.

-returns

Returns S_OK on success; E_FAIL indicates an error.

-see-also

CoTaskMemFree Function

IXMLHTTPRequest2

SetCookie Method

XHR_COOKIE Structure

XHR_COOKIE_FLAG