Condividi tramite


JsIsRuntimeExecutionDisabled Function

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
true if execution is disabled, false otherwise.

Return Value

JsNoError if the operation succeeded, a failure code otherwise.

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)