IDirectMusicPort
This interface provides access to a DirectMusicPort object, which represents a device that sends or receives music data. The input port of a MIDI card, the output port of a MIDI card, the Microsoft Software Synthesizer, and an IHV-provided filter are all ports. A physical device such as a MIDI card might provide multiple ports. A single port, however, cannot both capture and render data.
For an overview, see Using Ports.
The methods of the IDirectMusicPort interface can be organized into the following groups:
Buffers | PlayBuffer |
Read | |
SetReadNotificationHandle | |
Channels | GetChannelPriority |
GetNumChannelGroups | |
SetChannelPriority | |
SetNumChannelGroups | |
Device management | Activate |
DeviceIoControl | |
SetDirectSound | |
Information | GetCaps |
GetFormat | |
GetLatencyClock | |
GetRunningStats | |
Downloadable sounds | Compact |
DownloadInstrument | |
UnloadInstrument |
All COM interfaces inherit the IUnknown interface methods. This interface supports the following three methods:
IUnknown | AddRef |
QueryInterface | |
Release |
The LPDIRECTMUSICPORT type is defined as a pointer to the IDirectMusicPort interface.
typedef IDirectMusicPort *LPDIRECTMUSICPORT;
Requirements
OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusicc.h.
Link Library: Dmusic.lib.
Last updated on Monday, April 12, 2004
© 1992-2002 Microsoft Corporation. All rights reserved.