IVMDVDDriveEvents::OnMediaEject method

The OnMediaEject method is called when media has been ejected from the drive.

Syntax

HRESULT OnMediaEject(
  [in] BSTR mediaPath
);

Parameters

mediaPath [in]

The host drive letter, or path, to the ISO image.

Return value

A 32-bit value that describes an error or warning.

Remarks

This method is called when media (an ISO image or a disc in a host drive) is ejected. The client program must implement this interface method to receive notification of the vmDVDDriveEvent_OnEject event originating from IVMDVDDrive.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IVMDVDDriveEvents