This function retrieves a decision on cookies for a given ___domain.
BOOL InternetGetPerSiteCookieDecisionW ( LPCSTR pchHostName, unsigned long* pResult);
Parameters
- pchHostName
[out] LPCSTR that points to a Unicode string that receives the ___domain name. - pResult
[in] Pointer to a unsigned long that contains one of the InternetCookieState enumeration values.
Return Values
Returns TRUE if the decision was retrieved and FALSE otherwise.
Remarks
Use this function for the Unicode implementation. If you call the ANSI implementation, use the InternetGetPerSiteCookieDecisionA.
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