JavaScript Runtime Typedefs, Constants, and Enumerations
Note
The features described in this document are no longer being maintained. For more information on the new WebView2 control, see Introduction to Microsoft Edge WebView2 (Preview).
JavaScript Runtime (JsRT) typedefs, constants, and enumerations support adding scripting capabilities to desktop and server-side applications running on Windows.
In this section
The following global typedefs support JsRT hosting:
- JsBackgroundWorkItemCallback Typedef
- JsBeforeCollectCallback Typedef
- JsContextRef Typedef
- JsFinalizeCallback Typedef
- JsMemoryAllocationCallback Typedef
- JsNativeFunction Typedef
- JsObjectBeforeCollectCallback Typedef
- JsProjectionCallback Typedef
- JsProjectionCallbackContext Typedef
- JsProjectionEnqueueCallback Typedef
- JsPromiseContinuationCallback Typedef
- JsPropertyIdRef Typedef
- JsRef Typedef
- JsRuntimeHandle Typedef
- JsSerializedScriptLoadSourceCallback Typedef
- JsSerializedScriptUnloadCallback typedef
- JsSourceContext Typedef
- JsThreadServiceCallback Typedef
- JsValueRef Typedef
The following constants support JsRT hosting:
- JS_INVALID_PROPERTYID Constant
- JS_INVALID_REFERENCE Constant
- JS_INVALID_RUNTIME_HANDLE Constant
- JS_SOURCE_CONTEXT_NONE Constant
The following enumerations support JsRT hosting:
- JsErrorCode Enumeration
- JsMemoryEventType Enumeration
- JsPropertyIdType Enumeration
- JsRuntimeAttributes Enumeration
- JsRuntimeVersion Enumeration
- JsTypedArrayType Enumeration
- JsValueType Enumeration