---
name: "InternetSetCookieW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/InternetSetCookieW"
---

# InternetSetCookieW(3w)

## NAME

**InternetSetCookieW** (WININET.@)

## SYNOPSIS

BOOL InternetSetCookieW\
  (\
   LPCWSTR *lpszUrl*,\
   LPCWSTR *lpszCookieName*,\
   LPCWSTR *lpCookieData*\
  )

## DESCRIPTION

Sets cookie for the specified url.

## RETURNS

**TRUE** on success **FALSE** on failure

## IMPLEMENTATION

Declared in **"wininet.h"**.

Implemented in **"dlls/wininet/cookie.c"**.

Debug channel **"wininet"**.
