4.11.27. Windows Audio service

The Windows Audio service runs one or several RPC services, avalailable on the following endpoints:

In Windows Server 2003, the version of the AudioSrv interface is 1.0:

Y:\>ifids -p ncalrpc -e AudioSrv serveur
Interfaces: 40

[...]

  3faf4738-3a21-4307-b46c-fdda9bb8c0d5 v1.0

[...]

Table 4.105. AudioSrv operations

InterfaceOperation numberOperation name
3faf4738-3a21-4307-b46c-fdda9bb8c0d5 v1.0: AudioSrv  
 0x00gfxCreateZoneFactoriesList
 0x01gfxCreateGfxFactoriesList
 0x02gfxCreateGfxList
 0x03gfxRemoveGfx
 0x04gfxAddGfx
 0x05gfxModifyGx
 0x06gfxOpenGfx
 0x07gfxLogon
 0x08gfxLogoff
 0x09winmmRegisterSessionNotificationEvent
 0x0awinmmUnregisterSessionNotification
 0x0bwinmmSessionConnectState
 0x0cwdmDriverOpenDrvRegKey
 0x0dwinmmAdvisePreferredDeviceChange
 0x0ewinmmGetPnpInfo

In Windows XP SP2 and >, the version of the AudioSrv interface is 1.1:

Table 4.106. AudioSrv operations

InterfaceOperation numberOperation name
3faf4738-3a21-4307-b46c-fdda9bb8c0d5 v1.1: AudioSrv  
 0x00gfxCreateZoneFactoriesList
 0x01gfxCreateGfxFactoriesList
 0x02gfxCreateGfxList
 0x03gfxRemoveGfx
 0x04gfxAddGfx
 0x05gfxModifyGx
 0x06gfxOpenGfx
 0x07gfxLogon
 0x08gfxLogoff
 0x09wdmDriverOpenDrvRegKey
 0x0awinmmAdvisePreferredDeviceChange
 0x0bwinmmGetPnpInfo

In Windows Vista, the AudioSrv interface (version 1.1) supports fewer operations. A new interface, AudioRpc, supports more operations:

Y:\>ifids -p ncalrpc -e AudioClientRpc vista
Interfaces: 9
  c386ca3e-9061-4a72-821e-498d83be188f v1.1
  3faf4738-3a21-4307-b46c-fdda9bb8c0d5 v1.1

[...]

Table 4.107. AudioRpc operations

InterfaceOperation numberOperation name
c386ca3e-9061-4a72-821e-498d83be188f v1.1: AudioRpc  
 0x00AudioServerConnect
 0x01AudioServerDisconnect
 0x02AudioServerInitialize
 0x03AudioServerGetAudioSession
 0x04AudioServerCreateStream
 0x05AudioServerDestroyStream
 0x06AudioServerGetStreamLatency
 0x07AudioServerGetMixFormat
 0x08AudioServerIsFormatSupported
 0x09AudioServerGetDevicePeriod
 0x0aAudioVolumeGetMasterVolumeLevelScalar
 0x0bAudioSessionGetProcessId
 0x0cAudioSessionGetState
 0x0dAudioSessionGetLastActivation
 0x0eAudioSessionGetLastInactivation
 0x0fAudioSessionIsSystemSoundsSession
 0x10AudioSessionGetDisplayName
 0x11AudioSessionSetDisplayName
 0x12AudioSessionGetSessionClass
 0x13AudioSessionSetSessionClass
 0x14AudioSessionGetVolume
 0x15AudioSessionSetVolume
 0x16AudioSessionGetMute
 0x17AudioSessionSetMute
 0x18AudioSessionGetChannelCount
 0x19AudioSessionSetChannelVolume
 0x1aAudioSessionGetChannelVolume
 0x1bAudioSessionSetAllVolumes
 0x1cAudioSessionGetAllVolumes
 0x1dAudioServerDisconnect
 0x1eAudioServerGetMixFormat
 0x1fPolicyConfigGetDeviceFormat
 0x20PolicyConfigSetDeviceFormat
 0x21AudioServerGetDevicePeriod
 0x22PolicyConfigSetProcessingPeriod
 0x23PolicyConfigGetShareMode
 0x24PolicyConfigSetShareMode
 0x25GetAudioSessionManager
 0x26AudioSessionManagerDestroy
 0x27AudioSessionManagerGetAudioSession
 0x28AudioSessionManagerGetCurrentSession
 0x29AudioSessionManagerGetExistingSession
 0x2aAudioSessionManagerAddAudioSessionClientNotification
 0x2bAudioSessionManagerDeleteAudioSessionClientNotification
 0x2cAudioSessionManagerAddAudioSessionClientNotification
 0x2dAudioVolumeConnect
 0x2eAudioVolumeDisconnect
 0x2fAudioVolumeGetChannelCount
 0x30AudioVolumeSetMasterVolumeLevel
 0x31AudioVolumeSetMasterVolumeLevelScalar
 0x32AudioVolumeGetMasterVolumeLevel
 0x33AudioVolumeGetMasterVolumeLevelScalar
 0x34AudioVolumeSetChannelVolumeLevel
 0x35AudioVolumeSetChannelVolumeLevelScalar
 0x36AudioVolumeGetChannelVolumeLevel
 0x37AudioVolumeGetChannelVolumeLevelScalar
 0x38AudioVolumeSetMute
 0x39AudioSessionGetDisplayName
 0x3aAudioVolumeAddMasterVolumeNotification
 0x3bAudioVolumeDeleteMasterVolumeNotification
 0x3cAudioMeterGetAverageRMS
 0x3dAudioMeterGetChannelsRMS
 0x3eAudioMeterGetPeakValue
 0x3fAudioMeterGetChannelsPeakValues
 0x40AudioVolumeGetStepInfo
 0x41AudioVolumeStepUp
 0x42AudioVolumeStepDown

Table 4.108. AudioSrv operations

InterfaceOperation numberOperation name
3faf4738-3a21-4307-b46c-fdda9bb8c0d5 v1.1: AudioSrv  
 0x00wdmDriverOpenDrvRegKey
 0x01winmmAdvisePreferredDeviceChange
 0x02winmmGetPnpInfo