|Microsoft DirectX 9.0|
The GetBufferFormat method retrieves the GUID that represents the buffer format.
HRESULT GetBufferFormat( LPGUID pGuidFormat );
Address of a variable that receives the GUID of the buffer format.
If the method succeeds, the return value is S_OK.
If it fails, the method can return E_POINTER.
If the format was not specified when the buffer was created, KSDATAFORMAT_SUBTYPE_DIRECTMUSIC is returned in *pGuidFormat.
Header: Declared in dmusicc.h.