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

JsGetArrayBufferStorage

Limin Zhu edited this pageOct 9, 2015 ·1 revision

Obtains the underlying memory storage used by anArrayBuffer.

Syntax

STDAPI_(JsErrorCode)    JsGetArrayBufferStorage(    _In_ JsValueRef arrayBuffer,    _Outptr_result_bytebuffer_(*bufferLength) BYTE **buffer,    _Out_ unsigned int *bufferLength);

Parameters

  • arrayBuffer: The ArrayBuffer instance.
  • buffer: The ArrayBuffer's buffer. The lifetime of the buffer returned is the same as the lifetime of the the ArrayBuffer. The buffer pointer does not count as a reference to the ArrayBuffer for the purpose of garbage collection.
  • bufferLength: The number of bytes in the buffer.

Return Value

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

Want to contribute to this Wiki?

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp