Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JsPointerToString

Limin Zhu edited this page Mar 14, 2017 · 2 revisions

Creates a string value from a string pointer.

Syntax

STDAPI_(JsErrorCode)
    JsPointerToString(
    _In_reads_(stringLength) const wchar_t *stringValue,
    _In_ size_t stringLength,
    _Out_ JsValueRef *value);

Parameters

  • stringValue: The string pointer to convert to a string value.
  • stringLength: The length of the string to convert.
  • value: The new string value.

Return Value

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

Remarks

This API is Windows-only (see JsCreateString/JsCreateStringUtf16 for cross-platform equivalent). Requires an active script context.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.