Skip to content

JsGetRuntime

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

Gets the runtime that the context belongs to.

Syntax

STDAPI_(JsErrorCode)
    JsGetRuntime(
    _In_ JsContextRef context,
    _Out_ JsRuntimeHandle *runtime);

Parameters

  • context: The context to get the runtime from.
  • runtime: The runtime the context belongs to.

Return Value

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

Clone this wiki locally