InternetSetPerSiteCookieDecisionW (Windows CE 5.0)
This function sets a decision on cookies for a given domain.
BOOL InternetSetPerSiteCookieDecisionW( LPCSTR pchHostName, DWORD dwDecision);
Parameters
- pchHostName
[in] LPCSTR that points to a Unicode string that contains a domain name. - dwDecision
[in] Value of type DWORD that contains one of the InternetCookieState enumeration values.
Return Values
Returns TRUE if the decision is set and FALSE otherwise.
Remarks
Use this function for the Unicode implementation. If you call the ANSI implementation, use the InternetSetPerSiteCookieDecisionA.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Wininet.h.
Link Library: Wininet.lib.
See Also
WinInet Functions | Platform for Privacy Preferences (P3P)
Send Feedback on this topic to the authors