Skip to content

JsCreateObject

Limin Zhu edited this page Oct 9, 2015 · 1 revision

Creates a new object.

Syntax

STDAPI_(JsErrorCode)
    JsCreateObject(
    _Out_ JsValueRef *object);

Parameters

  • object: The new object.

Return Value

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

Remarks

Requires an active script context.

Clone this wiki locally