DDiscMaster2Events::NotifyDeviceRemoved method (imapi2.h)

Receives notification when an optical media device is removed from the computer.

Syntax

HRESULT NotifyDeviceRemoved(
  [in] IDispatch *object,
  [in] BSTR      uniqueId
);

Parameters

[in] object

An IDiscMaster2 interface that you can use to enumerate the devices on the computer.

This parameter is a MsftDiscMaster2 object in script.

[in] uniqueId

String that contains an identifier that uniquely identifies the optical media device that was added to the computer.

Return value

Return values are ignored.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi2.h

See also

DDiscMaster2Events

IDiscMaster2