Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

JsCreateStringUtf16

Xiaoyin Liu edited this pageAug 22, 2017 ·4 revisions

Create JavascriptString variable from Utf16 string

Syntax

CHAKRA_API    JsCreateStringUtf16(        _In_ const uint16_t *content,        _In_ size_t length,        _Out_ JsValueRef *value);

Parameters

  • content: Pointer to string memory.
  • length: Number of bytes within the string
  • value: JsValueRef representing the JavascriptString

Return Value

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

Remarks

This API is experimental and may have breaking change later.

Requires an active script context.

Expects Utf16 string.

Want to contribute to this Wiki?

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp