Vcl.MPlayer.TMediaPlayer.Close

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Close;

C++

void __fastcall Close();

Properties

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

Description

Closes the open multimedia device.

Upon completion, Close 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 Close method is completed. The Notify property determines whether Close generates an OnNotify event.

Close is called automatically when the application is terminated.

See Also

Code Examples