IVMFloppyDriveEvents::OnMediaInsert method
[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]
Receives notification that media has been inserted into the drive.
Syntax
HRESULT OnMediaInsert(
[in] BSTR mediaPath
);
Parameters
-
mediaPath [in]
-
The host drive letter, or path, to floppy image.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method is called when media (a floppy disk image or a floppy disk in a host drive) is inserted. The client program must implement this interface method to receive notification of the vmFloppyDriveEvent_OnMediaInsert event originating from IVMFloppyDrive.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
None supported |
End of client support |
Windows 7 |
Product |
Windows Virtual PC |
Header |
|
IID |
DIID_IVMFloppyDriveEvents is defined as a9ed3401-4e09-4177-86ec-a13bf9fa7d4e |