Microsoft DirectX 8.1 (C++)

IDirectMusicBuffer8::GetMaxBytes

The GetMaxBytes method retrieves the number of bytes that can be stored in the buffer.

Syntax

HRESULT GetMaxBytes(
  LPDWORD pcb
);

Parameters

pcb

Address of a variable to contain the maximum number of bytes that the buffer can hold.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

Requirements

  Header: Declared in dmusicc.h.

See Also