Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Gets the global object in the current script context.
Syntax
STDAPI_(JsErrorCode) JsGetGlobalObject(
_Out_ JsValueRef *globalObject
);
Parameters
globalObject
The global object.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
Requirements
Header: jsrt.h