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

JsGetDataViewStorage

Limin Zhu edited this page Oct 9, 2015 · 1 revision

Obtains the underlying memory storage used by a DataView.

Syntax

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

Parameters

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

Return Value

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

Clone this wiki locally

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