NPAPI:DefaultAudioDeviceNotification: Difference between revisions

nit - set for / called for
(clarify SetValue a bit)
(nit - set for / called for)
Line 21: Line 21:


== NPP_SetValue - <code>NPNVaudioDeviceChangeDetails = 4001</code> ==
== NPP_SetValue - <code>NPNVaudioDeviceChangeDetails = 4001</code> ==
* this would be used when OnDefaultDeviceChanged [https://msdn.microsoft.com/en-us/library/windows/desktop/dd371418%28v=vs.85%29.aspx] is called on the registered IMMNotificationClient [https://msdn.microsoft.com/en-us/library/windows/desktop/dd371417%28v=vs.85%29.aspx]. It would set a new structure (below) containing the two enums and const wchar_t* passed in OnDefaultDeviceChanged. This would be set on each instance in the requires notification list.
* this would be used when OnDefaultDeviceChanged [https://msdn.microsoft.com/en-us/library/windows/desktop/dd371418%28v=vs.85%29.aspx] is called on the registered IMMNotificationClient [https://msdn.microsoft.com/en-us/library/windows/desktop/dd371417%28v=vs.85%29.aspx]. It would set a new structure (below) containing the two enums and const wchar_t* passed in OnDefaultDeviceChanged. This would be called for each instance in the requires notification list.


<pre>
<pre>
Confirmed users
1,982

edits