Поделиться через


IBuffer::Capacity property

Gets the maximum number of bytes that the buffer can hold.

This property is read-only.

Syntax

HRESULT get_Capacity(
  [out] UINT32 *value
);

Property value

The maximum number of bytes that the buffer can hold.

Remarks

Implementations of the IBuffer interface must return the same value every time the Capacity property is read.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Robytestream.h

IDL

Robytestream.idl

See also

IBuffer

IInputStream

IOutputStream