Skip to content

JsSetCurrentContext

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

Sets the current script context on the thread.

Syntax

STDAPI_(JsErrorCode)
    JsSetCurrentContext(
    _In_ JsContextRef context);

Parameters

  • context: The script context to make current.

Return Value

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

Clone this wiki locally