IDirectMusicBuffer8::GetUsedBytes

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IDirectMusicBuffer8::GetUsedBytes

The GetUsedBytes method retrieves the number of bytes of data in the buffer.

Syntax

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


© 2004 Microsoft Corporation. All rights reserved.