Microsoft DirectX 8.0 (C++)

IDirectMusicBuffer8::GetBufferFormat

Retrieves the GUID that represents the buffer format.

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

IDirectMusic8::CreateMusicBuffer, DMUS_EVENTHEADER