IMMDeviceNotifyHandler

The IMMDeviceNotifyHandler class processes events for all IMMDevices.

This class is designed to handle events that require the IMMDevice to generate a notification. If notifications are enabled for this class, a notification is generated and sent to all observers when the proper conditions for the specific notification exist.


IMMDeviceNotifyHandler - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


[view class]
~IMMDeviceNotifyHandler
public:
virtual ~IMMDeviceNotifyHandler()

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
IMMDeviceNotifyHandler
public:
IMMDeviceNotifyHandler()

This is the default constructor and accepts no parameters.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Event Dispatching

Event-dispatching members evaluate an event to determine if it is appropriate for this handler object to process it.


[view class]
dispatchHandlerEvent
protected:
virtual bool dispatchHandlerEvent(IEvent& anEvent)

Notifies observers if any of the following events are received:

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
notificationHandler
protected:
IMMDeviceNotifyHandler* notificationHandler() const

Returns a pointer to the notification handler being used by the device.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setNotificationHandler
protected:
IMMDeviceNotifyHandler& setNotificationHandler( IMMDeviceNotifyHandler* notifyHandler )

Sets the notification handler to be used by the device.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IMMDeviceNotifyHandler - Inherited Member Functions and Data

Inherited Public Functions

IHandler
IWindowNotifyHandler

Inherited Public Data

Inherited Protected Functions

IHandler
IWindowNotifyHandler

Inherited Protected Data