Microsoft DirectX 8.0 (C++)

IDirectMusicBuffer8::GetUsedBytes

Retrieves the number of bytes of data in the buffer.

HRESULT GetUsedBytes(
  LPDWORD pcb
);

Parameters

pcb
Address of a variable that receives the number of used bytes.

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

IDirectMusicBuffer8::SetUsedBytes