共用方式為


IBufferByteAccess::Buffer method

Gets the array of bytes in the buffer.

Syntax

HRESULT Buffer(
  [out] byte **value
);

Parameters

  • value [out]
    The byte array.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Robuffer.h

See also

IBufferByteAccess

IBuffer