InternetSetPerSiteCookieDecisionA (Windows Embedded CE 6.0)
1/6/2010
This function sets a decision on cookies for a given domain.
Syntax
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 Value
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
Header | wininet.h |
Library | wininet.lib |
Windows Embedded CE | Windows CE 5.0 and later |