You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
value: The string value to convert to a string pointer.
stringValue: The string pointer.
stringLength: The length of the string.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
This API is Windows-only (see JsCopyString/JsCopyStringUtf16 for cross-platform equivalent).
This function retrieves the string pointer of a string value. It will fail with
JsErrorInvalidArgument if the type of the value is not string. The lifetime
of the string returned will be the same as the lifetime of the value it came from, however
the string pointer is not considered a reference to the value (and so will not keep it
from being collected).
Requires an active script context.