The EjectDisc Method is available in LEADTOOLS Document and Medical Imaging toolkits.
Opens the the current CD or DVD drive tray.Visual Basic (Declaration) | |
---|---|
Public Sub EjectDisc() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void EjectDisc() |
C++/CLI | |
---|---|
public: void EjectDisc(); |
If an error occurs a Win32Exception will be thrown. Please Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family