|Manuals

IBrowserInfo::SetCookie Method

Sets a browser cookie.

Syntax

[id(0x000000CC)]
HRESULT _stdcall SetCookie(
    [in] BSTR Name,
    [in] BSTR Value,
    [in] BSTR Expires
);

Parameters

Parameter Type Description
Name BSTR The cookie identifier.
Value BSTR The cookie data value.
Expires BSTR The expiration timeframe.

Return Value

Type Description
HRESULT Standard COM return value indicating success or failure.