RegClientCookie Function

Creates a new Client preference cookie.

Handles returned by RegClientCookie can be closed via CloseHandle() when no longer needed.

Cookie RegClientCookie(const char[] name, const char[] description, CookieAccess access)

Parameters

const char[] name

Name of the new preference cookie.

const char[] description

Optional description of the preference cookie.

CookieAccess access

What CookieAccess level to assign to this cookie.

Return Value

A handle to the newly created cookie. If the cookie already exists, a handle to it will still be returned.

Errors

Cookie name is blank.