Compartilhar via


InternetSetPerSiteCookieDecisionA (Windows CE 5.0)

Send Feedback

This function sets a decision on cookies for a given domain.

BOOL InternetSetPerSiteCookieDecisionA(   LPCSTR pchHostName,   DWORD dwDecision);

Parameters

  • pchHostName
    [in] LPCSTR that points to a ANSI 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 ANSI implementation. If you call the Unicode implementation, use the InternetSetPerSiteCookieDecisionW.

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

© 2006 Microsoft Corporation. All rights reserved.