IMMPassDeviceEvent

The IMMPassDeviceEvent class is the class for pass device events. These events get generated when a device is being requested to release a shared hardware device (such as a CD-ROM drive).


IMMPassDeviceEvent - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
IMMPassDeviceEvent
public:
IMMPassDeviceEvent(const IEvent& event)

Although you can construct objects of this class, typically IMMDeviceHandler::dispatchHandlerEvent creates objects of this class from an object of the class IEvent or another IMMPassDeviceEvent object.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Event Information

Use these members to parse the event into the ID of the device that is either losing or gaining use of the hardware device.


[view class]
device
public:
IMMDevice* device() const

Returns a pointer to the device that is being requested to lose use of or gain use of a device. See isGainingUse to find out what this device is being requested to do.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
isGainingUse
public:
bool isGainingUse() const

Returns true if the device is gaining use of the hardware device and returns false if it is losing use of the device.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IMMPassDeviceEvent - Inherited Member Functions and Data

Inherited Public Functions

IEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data