Share via


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:** Dmusicc.h

See Also

© 2004 Microsoft Corporation. All rights reserved.