Group: Internet Functions (WinInet) - Library: wininet
BOOL InternetGetCookie(
LPCTSTR lpszUrl,
LPCTSTR lpszCookieName,
LPSTR lpCookieData,
LPDWORD lpdwSize
);
DECLARE INTEGER InternetGetCookie IN wininet;
STRING lpszUrlName,;
STRING lpszCookieName,;
STRING @ lpszCookieData,;
INTEGER @ lpdwSize
lpszUrl [in] Address of a string that contains the URL to get cookies for.
lpszCookieName [in] Address of a string that contains the name of the cookie to get for the specified URL. This has not been implemented in this release.
lpCookieData [out] Address of the buffer that receives the cookie data. This value can be NULL.
lpdwSize [in] [out] Address of an unsigned long integer variable that specifies the size of the lpszCookieData buffer.
Returns TRUE if successful, or FALSE otherwise.
See InternetSetCookie.