|Manuals

IJSMethod::OnCall Method

Description

This method enables you to supply an IJSCallback interface that will receive the remote call.

Syntax

[id(0x000000CD)]
HRESULT _stdcall OnCall(
    [in] IJSCallback* Callback,
    [out, retval] IJSMethod** OutRetVal
);

Parameters

Parameter Type Description
Callback IJSCallback* The callback interface (input parameter)
OutRetVal IJSMethod** Yields the parent IJSMethod object (output parameter)

Return Value

Returns the parent IJSMethod interface through the OutRetVal parameter.