Method procedure MLDSPlayer.TMLDSPlayer.Close()
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: TMLDSPlayer
Contents |
Syntax
Delphi:
procedure Close();
C++ Builder:
void __fastcall Close();
Visual C++ (MFC):
void Close();
Summary
Closes the file and destroys the DirectShow graph for the player.
Description
Call this method to close the file and destroy the DirectShow graph for the player. This way the file being played will become unlocked and can be accessed by other programs or components.
Delphi example:
VLDSVideoPlayer1.Close;
C++ Builder example:
VLDSVideoPlayer1->Close();
Visual C++(MFC/Win32) example:
VLDSVideoPlayer1.Close();
Visual C++/CLI example:
dsVideoPlayer1->Close();
C# example:
dsVideoPlayer1.Close();
VB example:
DSVideoPlayer1.Close