|Manuals

JSCallback::Callback Method

Description

This is Callback, a member of class JSCallback. It handles the invocation of JavaScript methods from the native C++ side.

Syntax

__stdcall HRESULT Callback(IJSObject* Parent, IJSMethod* Method);

Parameters

Parameter Type Description
Parent IJSObject* Pointer to the parent JavaScript object
Method IJSMethod* Pointer to the JavaScript method

Return Value

Type Description
HRESULT Standard COM result code indicating success or failure

Notes

The method uses the __stdcall calling convention, which is typical for COM interfaces in Windows development.

See Also

Part of the JSCallback Class