Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Embedded
Windows Embedded CE
Windows CE 5.0
Windows CE Features
WinInet Reference
WinInet Functions
 InternetSetPerSiteCookieDecisionW
Platform Builder for Microsoft Windows CE 5.0
InternetSetPerSiteCookieDecisionW
Send Feedback

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

Feedback FAQs


© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker