NVDA Helper
In-process and lite high-speed utilities for NVDA
|
Listens for default device changes and device state changes. More...
Public Member Functions | |
ULONG STDMETHODCALLTYPE | AddRef () override |
ULONG STDMETHODCALLTYPE | Release () override |
STDMETHODIMP | QueryInterface (REFIID riid, void **ppvObject) final |
STDMETHODIMP | OnDefaultDeviceChanged (EDataFlow flow, ERole role, LPCWSTR defaultDeviceId) final |
STDMETHODIMP | OnDeviceAdded (LPCWSTR deviceId) final |
STDMETHODIMP | OnDeviceRemoved (LPCWSTR deviceId) final |
STDMETHODIMP | OnDeviceStateChanged (LPCWSTR deviceId, DWORD newState) final |
STDMETHODIMP | OnPropertyValueChanged (LPCWSTR deviceId, const PROPERTYKEY key) final |
unsigned int | getDefaultDeviceChangeCount () |
A counter which increases every time the default device changes. | |
unsigned int | getDeviceStateChangeCount () |
A counter which increases every time a device state changes. | |
Listens for default device changes and device state changes.
These are communicated to WasapiPlayer via the getDefaultDeviceChangeCount and getDeviceStateChangeCount methods.
|
inlineoverride |
Referenced by QueryInterface().
|
inlineoverride |
|
inlinefinal |
References AddRef(), and IID_IMMNotificationClient.
|
inlinefinal |
|
inlinefinal |
|
inlinefinal |
|
inlinefinal |
|
inlinefinal |
|
inline |
A counter which increases every time the default device changes.
This is used by WasapiPlayer instances to detect such changes while playing.
|
inline |
A counter which increases every time a device state changes.
This is used by WasapiPlayer instances to detect such changes while playing.