Share via


IScriptNode::GetCookie

Returns an application-defined value that is used to associate a scriptlet with the host object.

Syntax

HRESULT GetCookie(  
   DWORD              *pdwCookie  
);  

Parameters

pdwCookie
[out] For an IScriptEntry object, returns the application-defined cookie value.

For an IScriptNode object that represents a Web page, returns 0.

Return Value

An HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

See also

IScriptNode Interface