Compartir a través de


IVMDVDDriveEvents::OnMediaInsert method

The OnMediaInsert method is called when media has been inserted into the drive.

Syntax

HRESULT OnMediaInsert(
  [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 inserted. The client program must implement this interface method to receive notification of the vmDVDDriveEvent_OnInsert 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