Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InternetEnumPerSiteCookieDecisionW

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function retrieves the domains and cookie settings of Web sites for which site-specific cookie regulations are set.


BOOL InternetEnumPerSiteCookieDecisionW(
  LPSTR pszSiteName,
  unsigned long *pcSiteNameSize,
  unsigned long *pdwDecision,
  unsigned long dwIndex
);

pszSiteName

[out] LPSTR that receives a string specifying a Web site domain.

pcSiteNameSize

[in, out] Pointer to an unsigned long that specifies the size of the pcSiteNameSize parameter provided to the InternetEnumPerSiteCookieDecisionW function when it is called. When InternetEnumPerSiteCookieDecisionW returns, pcSiteNameSize receives the actual length of the domain string returned in pszSiteName.

pdwDecision

[out] Pointer to an unsigned long that receives the InternetCookieState enumeration value corresponding to pszSiteName.

dwIndex

[in] unsigned long that specifies the index of the Web site and corresponding cookie setting to retrieve.

Returns TRUE if the function retrieved the cookie setting for the given domain and FALSE otherwise.

InternetEnumPerSiteCookieDecisionW should be initially called with dwIndex equal to 0. To step through the list of Web sites and cookie settings, increment the dwIndex parameter. The end of the list is reached when this function returns FALSE and returns the WinInet error, ERROR_NO_MORE_ITEMS.

Use this function for the ANSI implementation. If you call the Unicode implementation, use the InternetEnumPerSiteCookieDecisionA.

Headerwininet.h
Librarywininet.lib
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft