Microsoft DirectX 8.0 (C++)

IDirectMusicBuffer8::GetMaxBytes

Retrieves the number of bytes that can be stored in the buffer.

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.