XHR_COOKIE structure (msxml6.h)
Defines a cookie that you can add to the HTTP cookie jar by calling the SetCookie method or retrieve from the HTTP cookie jar by calling the GetCookie method.
Syntax
typedef struct tagXHR_COOKIE {
WCHAR *pwszUrl;
WCHAR *pwszName;
WCHAR *pwszValue;
WCHAR *pwszP3PPolicy;
FILETIME ftExpires;
DWORD dwFlags;
} XHR_COOKIE;
Members
pwszUrl
A null-terminated string that specifies the URL in the cookie.
pwszName
A null-terminated string that specifies the name in the cookie.
pwszValue
A null-terminated string that specifies the value in the cookie.
pwszP3PPolicy
A null-terminated string that specifies the user policy in the cookie.
ftExpires
A null-terminated string that specifies the date and time at which the cookie expires.
dwFlags
A set of bit flags that specifies properties of the cookie.
This member can be one of the values from the XHR_COOKIE_FLAG enumeration type defined in the Msxml6.h header file.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps],MSXML 6.0 and later |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Header | msxml6.h |