Skip to content

JsGetDataViewInfo

Kyle Farnung edited this page Jul 31, 2017 · 2 revisions

Obtains frequently used properties of a data view.

Syntax

STDAPI_(JsErrorCode)
    JsGetDataViewInfo(
    _In_ JsValueRef dataView,
    _Out_opt_ JsValueRef *arrayBuffer,
    _Out_opt_ unsigned int *byteOffset,
    _Out_opt_ unsigned int *byteLength);

Parameters

  • dataView: The data view instance.
  • arrayBuffer: The ArrayBuffer backstore of the view.
  • byteOffset: The offset in bytes from the start of arrayBuffer referenced by the view.
  • byteLength: The number of bytes in the view.

Return Value

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

Clone this wiki locally