Creates a new event object.
Syntax
HRESULT CreateEventObject( IHTMLEventObj **ppEventObject );
Parameters
- ppEventObject
- Address of a pointer to an IHTMLEventObj interface.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The event object created by this method recognizes the current mouse position and keyboard information. A DHTML behavior can use this event object to fire its own custom event and pass additional information.