IDirectMusicBuffer8::GetBufferFormat

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IDirectMusicBuffer8::GetBufferFormat

The GetBufferFormat method retrieves the GUID that represents the buffer format.

Syntax

HRESULT GetBufferFormat(
  LPGUID pGuidFormat
);

Parameters

pGuidFormat

Address of a variable that receives the GUID of the buffer format.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

Remarks

If the format was not specified when the buffer was created, KSDATAFORMAT_SUBTYPE_DIRECTMUSIC is returned in *pGuidFormat.

Requirements

  Header: Declared in dmusicc.h.

See Also


© 2004 Microsoft Corporation. All rights reserved.