Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The RemoveDVDROMDrive method removes the specified CD or DVD drive from the virtual machine.
Syntax
HRESULT RemoveDVDROMDrive(
[in] IVMDVDDrive *dvdDrive
);
Parameters
-
dvdDrive [in]
-
The DVDROM drive to be removed.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The operation was successful. |
|
The dvdDrive parameter is NULL. |
|
The configuration is unknown. |
|
Virtual machine is running or saved. |
|
Invalid drive specified (e.g. no CD or DVD drive is connected to this bus ___location). |
|
An unexpected error has occurred. |
Remarks
You can only remove an existing CD or DVD drive from a stopped virtual machine.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|