Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WMFP.Release
Frees the player.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WMFP | 10.0 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "WMFP.Release"; Player ) More
Parameters
Parameter | Description | Example |
---|---|---|
Player | The reference number for the Windows Media Foundation Player object. | $$Player |
Result
Returns OK or error.
Description
Frees the player.Will close the playing window and release all memory used by player.
Examples
Release old player:
If [ Length($$Player) > 0 ]
Set Variable [ $r ; Value: MBS("WMFP.Release"; $$player) ]
Set Variable [ $$player ; Value: "" ]
End If
See also
Release notes
- Version 10.5
- Added CFunction.ReleaseAll, CGImageSource.ReleaseAll, CLibrary.ReleaseAll, DynaPDF.ReleaseAll, ECKey.ReleaseAll, FSEvents.ReleaseAll, MarkDown.ReleaseAll, MenuItem.ReleaseAll, SendMail.ReleaseAll, Shell.ReleaseAll, SmartCard.ReleaseAll, TouchBar.ReleaseAll, UserNotification.ReleaseAll, WMFP.ReleaseAll, WMIQuery.ReleaseAll and WindowsUserNotification.ReleaseAll.
Example Databases
This function checks for a license.
Created 25th December 2019, last changed 25th December 2019