### 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.

~IMMDeviceNotifyHandler

      public:
      virtual ~IMMDeviceNotifyHandler()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

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.

dispatchHandlerEvent

      protected:
      virtual bool dispatchHandlerEvent(IEvent& anEvent)

  Notifies observers if any of the following events are received:

  - command notify event
  - pass device event

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

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

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

  -     virtual ~IHandler()

  -     virtual IString asDebugInfo() const

  -     virtual IString asString() const

  -     virtual IHandler& disable()

  -     virtual IHandler& enable(bool enable = true)

  -     virtual IHandler& handleEventsFor(IWindow* window)

  -     IHandler()

  -     bool isEnabled() const

  -     virtual IHandler& stopHandlingEventsFor(IWindow* window)

  IWindowNotifyHandler

  -     virtual ~IWindowNotifyHandler()

  -     IWindowNotifyHandler()

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  IHandler

  -     virtual IEventResult defaultProcedure(IEvent& event)

  -     virtual bool dispatchHandlerEvent(IEvent& event) = 0

  IWindowNotifyHandler

  -     virtual bool dispatchHandlerEvent(IEvent& event)

#### Inherited Protected Data

  - None