Fires a specified event on the object.
HRESULT retVal = object.fireEvent(bstrEventName, pvarEventObject, pfCancelled);
BSTR that specifies the name of the event to fire.
pvarEventObject [in, optional]
Pointer to a VARIANT that specifies the IHTMLEventObj interface from which the event properties are obtained.
pfCancelled [out, retval]
Event fired successfully.
Event was canceled.
VARIANT_BOOL that receives one of the following values:
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
There are no standards that apply here.
If the event being fired cannot be canceled, IHTMLElement3::fireEvent always returns VARIANT_TRUE.