# IHostDVDDrive Interface Reference

The IHostDVDDrive interface represents the physical CD/DVD drive hardware on the host. More...

List of all members.

## Public Attributes
readonly attribute wstring | name
| Returns the platform-specific device identifier.
readonly attribute wstring | description
| Returns a human readable description for the drive.
readonly attribute wstring | udi
| Returns the unique device identifier for the drive.

## Detailed Description

The IHostDVDDrive interface represents the physical CD/DVD drive hardware on the host.

Used indirectly in IHost::DVDDrives.

Interface ID:
  `{21F86694-202D-4CE4-8B05-A63FF82DBF4C}`

## Member Data Documentation

readonly attribute wstring IHostDVDDrive::name

Returns the platform-specific device identifier.

On DOS-like platforms, it is a drive name (e.g. R:). On Unix-like platforms, it is a device name (e.g. /dev/hdc).

readonly attribute wstring IHostDVDDrive::description

Returns a human readable description for the drive.

This description usually contains the product and vendor name. An empty string is returned if the description is not available.

readonly attribute wstring IHostDVDDrive::udi

Returns the unique device identifier for the drive.

This attribute is reserved for future use instead of name. Currently it is not used and may return an empty string on some platforms.