Platform SDK: DirectX |
The DMUS_BUFFERDESC structure is used to describe a buffer for the IDirectMusic::CreateMusicBuffer method.
typedef struct _DMUS_BUFFERDESC { DWORD dwSize; DWORD dwFlags; GUID guidBufferFormat; DWORD cbBuffer; } DMUS_BUFFERDESC, *LPDMUS_BUFFERDESC;
If guidBufferFormat represents a KS format other than KSDATAFORMAT_SUBTYPE_DIRECTMUSIC, the application must verify that the port playing back the data understands the specified format; if not, the buffer is ignored. To find out if the port supports a specific KS format, use the IKsControl::KsProperty method.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusici.h.
DMUS_EVENTHEADER, IDirectMusicBuffer::PackStructured, IDirectMusicBuffer::PackUnstructured