Click to return to the Reusing Browser Technology home page    
IElementBehaviorSiteOM::F...     IElementBehaviorSiteOM::R...     IElementBehaviorSiteOM In...    
Web Workshop  |  Reusing Browser Technology

IElementBehaviorSiteOM::GetEventCookie Method


Retrieves the value that identifies a custom event.

Syntax

HRESULT GetEventCookie(
    LPOLESTR pchEvent,
    LONG *plEventCookie
);

Parameters

pchEvent
[in] Address of a string that specifies the name of the event.
plEventCookie
[out] Address of a long variable that identifies the custom event specified by pchEvent.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

A custom event must be registered through a call to the IElementBehaviorSiteOM::RegisterEvent method.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.