title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IVMFloppyDriveEvents OnMediaEject method (VPCCOMInterfaces.h) |
Receives notification that media has been ejected from the drive. | IVMFloppyDriveEvents OnMediaEject method (VPCCOMInterfaces.h) |
3e9c0b5d-8fec-4f34-93d2-c5975403798b |
|
|
|
|
|
reference |
05/31/2018 |
[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 ejected from the drive.
HRESULT OnMediaEject(
[in] BSTR mediaPath
);
-
mediaPath [in]
-
The host drive letter, or path, to floppy image.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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.
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 |