![]() ![]() This timestamp is retrieved by calling GetSystemTime() and is written out to the registry as the SYSTEMTIME structure. HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\.Įach "Role" value contains the timestamp of when the device was last configured as the default device. The RPC server side function AudioSRV!CPolic圜onfig::SetDefaultEndpoint() calls the function MMDevAPI!CEndPointManager::SetDefaultEndpoint() which writes a timestamp to the values named "Role:0", "Role:1" and "Role:2" in the following registry key: The Windows Audio Service is implemented in AudioSRV.dll which is hosted in the instance of SVCHost.exe running with the command line "svchost -k LocalServiceNetworkRestricted". ![]() "C:\Windows\system32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,playback"Īfter this when the user selects a playback device in the "Playback" property sheet and clicks "Set Default", the control panel plug-in DLL (MMsys.cpl) calls the function AUDIOSES!CPolic圜onfigClient::SetDefaultEndpoint() to send an RPC/ALPC request to the Windows Audio Service to set the default device as selected by the user. When a user right-clicks on the speaker icon in the Windows taskbar and selects say "Playback devices", the sound control panel starts up which comprises of entails running mmsys.cpl running under rundll32.exe with the following command line:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |