This topic has not yet been rated - Rate this topic

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.

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.