Compartir a través de


IVMFloppyDriveEvents::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 floppy image.

Return value

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

Remarks

This method is called when media (a floppy disk image or a floppy disk in a host drive) is ejected. The client program must implement this interface method to receive notification of the vmFloppyDriveEvent_OnMediaEject event originating from IVMFloppyDrive.

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

IVMFloppyDriveEvents