IHTMLWindow2::event Property

Retrieves an interface pointer to the event object that contains information relevant to the most recent event.

Syntax

HRESULT IHTMLWindow2::get_event(IHTMLEventObj **p);

Parameters

  • p
    Address of a pointer to an IHTMLEventObj interface that receives the event object.

Return Value

Returns S_OK if successful, or an error value otherwise.