IDirectMusic
This interface provides methods for managing buffers, ports, and the master clock. There should not be more than one instance of this interface per application.
**Note ** There is no helper function to create this interface. Applications use the COM CoCreateInstance function or the IDirectMusicPerformance::Init method to create a DirectMusic object.
The methods of the IDirectMusic interface can be organized into the following groups:
Activation | Activate |
Buffers | CreateMusicBuffer |
Linkage | SetDirectSound |
Ports | CreatePort |
EnumPort | |
GetDefaultPort | |
Timing | EnumMasterClock |
GetMasterClock | |
SetMasterClock |
All COM interfaces inherit the IUnknown interface methods. This interface supports the following three methods:
IUnknown | AddRef |
QueryInterface | |
Release |
Requirements
OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusicc.h.
Link Library: Dmusic.lib.
See Also
IUnknown | IDirectMusicPerformance::Init
Last updated on Monday, April 12, 2004
© 1992-2002 Microsoft Corporation. All rights reserved.