Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

createEventObject method

Generates an event object to pass event context information when you use the IHTMLDocument4::fireEvent method.

Syntax


HRESULT retVal = object.createEventObject(pvarEventObject, ppEventObj);

Parameters

pvarEventObject [in, optional]

Type: VARIANT

A pointer to a VARIANT that specifies an existing event object on which to base the new object. Set pvarEventObject to NULL to specify a new, blank event object.
ppEventObj [out, retval]

Type: IHTMLEventObj

A pointer to an IHTMLEventObj interface that receives the event object that is created.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft