Partager via


InternetCookieState (Windows CE 5.0)

Send Feedback

This enumeration defines the flags that specify the cookie action.

typedef enum InternetCookieState {
  COOKIE_STATE_UNKNOWN = 0x0,
  COOKIE_STATE_ACCEPT = 0x1,
  COOKIE_STATE_PROMPT = 0x2,
  COOKIE_STATE_LEASH = 0x3,
  COOKIE_STATE_DOWNGRADE = 0x4,
  COOKIE_STATE_REJECT = 0x5,
  COOKIE_STATE_MAX = COOKIE_STATE_REJECT
} InternetCookieState;

Elements

  • COOKIE_STATE_UNKNOWN
    Reserved.
  • COOKIE_STATE_ACCEPT
    Cookies are accepted.
  • COOKIE_STATE_PROMPT
    The user is prompted to accept or deny cookie.
  • COOKIE_STATE_LEASH
    Cookies are accepted only in the first-party context.
  • COOKIE_STATE_DOWNGRADE
    Cookies are accepted and become session cookies.
  • COOKIE_STATE_REJECT
    Cookies are rejected.
  • COOKIE_STATE_MAX
    Same as COOKIE_STATE_REJECT

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Wininet.h.

See Also

WinInet Enumerations | Platform for Privacy Preferences (P3P)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.