Skip to content

Latest commit

 

History

History
134 lines (103 loc) · 3.46 KB

nf-portcls-imusictechnology-settechnology.md

File metadata and controls

134 lines (103 loc) · 3.46 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:portcls.IMusicTechnology.SetTechnology
IMusicTechnology::SetTechnology (portcls.h)
The SetTechnology method changes the Technology member of each KSDATARANGE_MUSIC structure in the data ranges for the miniport driver's pins.
audio\imusictechnology_settechnology.htm
audio
05/08/2018
IMusicTechnology::SetTechnology
IMusicTechnology interface [Audio Devices],SetTechnology method, IMusicTechnology.SetTechnology, IMusicTechnology::SetTechnology, SetTechnology, SetTechnology method [Audio Devices], SetTechnology method [Audio Devices],IMusicTechnology interface, audio.imusictechnology_settechnology, audmp-routines_d1d6abaa-c4b8-4dce-8ce5-9fc12cc87852.xml, portcls/IMusicTechnology::SetTechnology
portcls.h
Portcls.h
Universal
PASSIVE_LEVEL
Windows
IMusicTechnology::SetTechnology
portcls/IMusicTechnology::SetTechnology
APIRef
kbSyntax
COM
portcls.h
IMusicTechnology::SetTechnology

IMusicTechnology::SetTechnology

-description

The SetTechnology method changes the Technology member of each KSDATARANGE_MUSIC structure in the data ranges for the miniport driver's pins.

-parameters

-param Technology [in]

Specifies a technology GUID. This parameter should point to one of the GUIDs that are defined for the Technology member of the KSDATARANGE_MUSIC structure.

-returns

SetTechnology returns STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.

-remarks

The SetTechology method should be called before the miniport driver's Init method. If SetTechnology is not called, the miniport driver's Technology members are all set to KSMUSIC_TECHNOLOGY_PORT by default.

The following table lists the GUIDs that are defined for the Technology parameter and the corresponding integer value to which the wTechnology member of the MIDIOUTCAPS structure is set during a call to midiOutGetDevCaps.

Technology GUID MIDIOUTCAPS.wTechnology
KSMUSIC_TECHNOLOGY_PORT MOD_MIDIPORT
KSMUSIC_TECHNOLOGY_SQSYNTH MOD_SQSYNTH
KSMUSIC_TECHNOLOGY_FMSYNTH MOD_FMSYNTH
KSMUSIC_TECHNOLOGY_WAVETABLE MOD_WAVETABLE
KSMUSIC_TECHNOLOGY_SWSYNTH MOD_SWSYNTH
 

For more information, see Music Technology GUIDs.

-see-also

IMusicTechnology

KSDATARANGE_MUSIC