Vcl.MPlayer.TMediaPlayer.Eject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Eject;

C++

void __fastcall Eject(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.MPlayer.pas
Vcl.MPlayer.hpp
Vcl.MPlayer TMediaPlayer

Description

Releases the loaded medium from the open multimedia device.

Eject is called when the Eject button on the media player control is clicked at runtime. It ejects the loaded medium from the open multimedia device.

Upon completion, Eject stores a numerical error code in the Error property, and the corresponding error message in the ErrorMessage property.

The Wait property determines whether control is returned to the application before the Eject method has been completed. The Notify property determines whether Eject generates an OnNotify event.

See Also


Code Examples