Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Gets the current script context on the thread.
Syntax
STDAPI_(JsErrorCode) JsGetCurrentContext(
_Out_ JsContextRef *currentContext
);
Parameters
currentContext
The current script context on the thread, null if there is no current script context.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Requirements
Header: jsrt.h