Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes the passed in VARIANT
as a projection of a JavaScript value.
Syntax
STDAPI_(JsErrorCode) JsValueToVariant(
_In_ JsValueRef object,
_Out_ VARIANT *variant
);
Parameters
object
A JavaScript value to project as a VARIANT
.
variant
A pointer to a VARIANT
struct that will be initialized as a projection.
Return Value
Remarks
The projection VARIANT
can be used by COM automation clients to call into the projected JavaScript object.
Requires an active script context.
Requirements
Header: jsrt.h