|Manuals

JSObject::FireEvent Method (BSTR)

Description

FireEvent is a member function of the JSObject class that enables triggering of named events with associated arguments. This method operates with standard calling conventions.

Syntax

__stdcall HRESULT FireEvent(BSTR Name, IJSArguments * Arguments);

Parameters

Parameter Type Description
Name BSTR The event identifier to trigger
Arguments IJSArguments * Pointer to arguments passed to the event

Return Value

Type Description
HRESULT Standard COM result code indicating success or failure

See Also

Part of the JSObject Class