UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Audio::FWindowsMMNotificationClient Class Referencefinal

#include <WindowsMMNotificationClient.h>

+ Inheritance diagram for Audio::FWindowsMMNotificationClient:

Public Member Functions

WINDOWSMMDEVICEENUMERATION_API FWindowsMMNotificationClient ()
 
 ~FWindowsMMNotificationClient ()
 
WINDOWSMMDEVICEENUMERATION_API bool IsRenderDevice (const FString &InDeviceId) const
 
WINDOWSMMDEVICEENUMERATION_API FString GetFriendlyName (const FString InDeviceID)
 
WINDOWSMMDEVICEENUMERATION_API FString GetFriendlyName (const TComPtr< IMMDevice > &InDevice)
 
WINDOWSMMDEVICEENUMERATION_API TComPtr< IMMDeviceGetDevice (const FString InDeviceID) const
 
WINDOWSMMDEVICEENUMERATION_API uint32 ReleaseClient ()
 
WINDOWSMMDEVICEENUMERATION_API void RegisterDeviceChangedListener (Audio::IAudioMixerDeviceChangedListener *DeviceChangedListener)
 
WINDOWSMMDEVICEENUMERATION_API void UnRegisterDeviceDeviceChangedListener (Audio::IAudioMixerDeviceChangedListener *DeviceChangedListener)
 
HRESULT STDMETHODCALLTYPE QueryInterface (const IID &IId, void **UnknownPtrPtr) override
 
ULONG STDMETHODCALLTYPE AddRef () override
 
ULONG STDMETHODCALLTYPE Release () override
 
HRESULT STDMETHODCALLTYPE OnDefaultDeviceChanged (EDataFlow InFlow, ERole InRole, LPCWSTR pwstrDeviceId) override
 
HRESULT STDMETHODCALLTYPE OnDeviceAdded (LPCWSTR pwstrDeviceId) override
 
HRESULT STDMETHODCALLTYPE OnDeviceRemoved (LPCWSTR pwstrDeviceId) override
 
HRESULT STDMETHODCALLTYPE OnDeviceStateChanged (LPCWSTR pwstrDeviceId, DWORD dwNewState) override
 
HRESULT STDMETHODCALLTYPE OnPropertyValueChanged (LPCWSTR pwstrDeviceId, const PROPERTYKEY key)
 

Constructor & Destructor Documentation

◆ FWindowsMMNotificationClient()

Audio::FWindowsMMNotificationClient::FWindowsMMNotificationClient ( )

◆ ~FWindowsMMNotificationClient()

Audio::FWindowsMMNotificationClient::~FWindowsMMNotificationClient ( )

Member Function Documentation

◆ AddRef()

ULONG STDMETHODCALLTYPE Audio::FWindowsMMNotificationClient::AddRef ( )
override

◆ GetDevice()

TComPtr< IMMDevice > Audio::FWindowsMMNotificationClient::GetDevice ( const FString  InDeviceID) const

◆ GetFriendlyName() [1/2]

FString Audio::FWindowsMMNotificationClient::GetFriendlyName ( const FString  InDeviceID)

◆ GetFriendlyName() [2/2]

FString Audio::FWindowsMMNotificationClient::GetFriendlyName ( const TComPtr< IMMDevice > &  InDevice)

◆ IsRenderDevice()

bool Audio::FWindowsMMNotificationClient::IsRenderDevice ( const FString &  InDeviceId) const

◆ OnDefaultDeviceChanged()

HRESULT STDMETHODCALLTYPE Audio::FWindowsMMNotificationClient::OnDefaultDeviceChanged ( EDataFlow  InFlow,
ERole  InRole,
LPCWSTR  pwstrDeviceId 
)
override

◆ OnDeviceAdded()

HRESULT STDMETHODCALLTYPE Audio::FWindowsMMNotificationClient::OnDeviceAdded ( LPCWSTR  pwstrDeviceId)
override

◆ OnDeviceRemoved()

HRESULT STDMETHODCALLTYPE Audio::FWindowsMMNotificationClient::OnDeviceRemoved ( LPCWSTR  pwstrDeviceId)
override

◆ OnDeviceStateChanged()

HRESULT STDMETHODCALLTYPE Audio::FWindowsMMNotificationClient::OnDeviceStateChanged ( LPCWSTR  pwstrDeviceId,
DWORD  dwNewState 
)
override

◆ OnPropertyValueChanged()

HRESULT STDMETHODCALLTYPE Audio::FWindowsMMNotificationClient::OnPropertyValueChanged ( LPCWSTR  pwstrDeviceId,
const PROPERTYKEY  key 
)

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE Audio::FWindowsMMNotificationClient::QueryInterface ( const IID IId,
void **  UnknownPtrPtr 
)
override

◆ RegisterDeviceChangedListener()

void Audio::FWindowsMMNotificationClient::RegisterDeviceChangedListener ( Audio::IAudioMixerDeviceChangedListener DeviceChangedListener)

◆ Release()

ULONG STDMETHODCALLTYPE Audio::FWindowsMMNotificationClient::Release ( )
override

◆ ReleaseClient()

uint32 Audio::FWindowsMMNotificationClient::ReleaseClient ( )

◆ UnRegisterDeviceDeviceChangedListener()

void Audio::FWindowsMMNotificationClient::UnRegisterDeviceDeviceChangedListener ( Audio::IAudioMixerDeviceChangedListener DeviceChangedListener)

The documentation for this class was generated from the following files: