Skip to content

JsGetWeakReferenceValue

Limin Zhu edited this page May 16, 2017 · 1 revision

Gets a strong reference to the value referred to by a weak reference.

Syntax

CHAKRA_API
    JsGetWeakReferenceValue(
        _In_ JsWeakRef weakRef,
        _Out_ JsValueRef* value);

Parameters

  • value: Reference to the value, or JS_INVALID_REFERENCE if the value is no longer available.
  • weakRef: A weak reference.

Return Value

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

Remarks

This API is experimental and may have breaking change later.

Clone this wiki locally