Skip to content

JsEnableRuntimeExecution

Limin Zhu edited this page Oct 9, 2015 · 1 revision

Enables script execution in a runtime.

Syntax

STDAPI_(JsErrorCode)
    JsEnableRuntimeExecution(
    _In_ JsRuntimeHandle runtime);

Parameters

  • runtime: The runtime to be enabled.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

Enabling script execution in a runtime that already has script execution enabled is a no-op.

Clone this wiki locally