Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Creates a JavaScript value that is a projection of the passed in VARIANT.
Syntax
STDAPI_(JsErrorCode) JsVariantToValue(
_In_ VARIANT *variant,
_Out_ JsValueRef *value
);
Parameters
variant
A VARIANT to be projected.
value
A JavaScript value that is a projection of the VARIANT.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
The projected value can be used by script to call a COM automation object from script. Hosts are responsible for enforcing COM threading rules.
Requires an active script context.
Requirements
Header: jsrt.h