public static extern JsErrorCode JsGetRuntime(JsContextRef context, out JsRuntimeHandle runtime);
public static extern JsErrorCode JsTraceExternalReference(JsRuntimeHandle runtimeHandle, JsValueRef value);
public static extern JsErrorCode JsAllocRawData(JsRuntimeHandle runtimeHandle, ulong sizeInBytes, bool zeroed, out JsRef buffer);
public static extern JsErrorCode JsSetRuntimeBeforeSweepCallback(JsRuntimeHandle runtimeHandle, IntPtr callbackState, JsBeforeSweepCallback beforeSweepCallback);
public static extern JsErrorCode JsSetRuntimeDomWrapperTracingCallbacks(JsRuntimeHandle runtimeHandle, JsRef wrapperTracingState, JsDOMWrapperTracingCallback wrapperTracingCallback, JsDOMWrapperTracingDoneCallback wrapperTracingDoneCallback, JsDOMWrapperTracingEnterFinalPauseCallback enterFinalPauseCallback);
public static extern JsErrorCode JsSetRuntimeMemoryAllocationCallback(JsRuntimeHandle runtime, IntPtr callbackState, JsMemoryAllocationCallback allocationCallback);
public static extern JsErrorCode JsCreateContext(JsRuntimeHandle runtime, out JsContextRef newContext);
public static extern JsErrorCode JsIsRuntimeExecutionDisabled(JsRuntimeHandle runtime, out bool isDisabled);
public static extern JsErrorCode JsSetRuntimeMemoryLimit(JsRuntimeHandle runtime, ulong memoryLimit);
public static extern JsErrorCode JsEnableRuntimeExecution(JsRuntimeHandle runtime);
public static extern JsErrorCode JsGetRuntimeMemoryUsage(JsRuntimeHandle runtime, out ulong memoryUsage);
public static extern JsErrorCode JsDisposeRuntime(JsRuntimeHandle runtime);
public static extern JsErrorCode JsCollectGarbage(JsRuntimeHandle runtime);
public static extern JsErrorCode JsCreateRuntime(JsRuntimeAttributes attributes, JsThreadServiceCallback threadService, out JsRuntimeHandle runtime);