Skip to content

JsIsRuntimeExecutionDisabled

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

Returns a value that indicates whether script execution is disabled in the runtime.

Syntax

STDAPI_(JsErrorCode)
    JsIsRuntimeExecutionDisabled(
    _In_ JsRuntimeHandle runtime,
    _Out_ bool *isDisabled);

Parameters

  • runtime: Specifies the runtime to check if execution is disabled.
  • isDisabled: If execution is disabled, true, false otherwise.

Return Value

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

Clone this wiki locally