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

Example Databases

This function checks for a license.

Created 25th December 2019, last changed 25th December 2019


WMFP.Play - WMFP.ReleaseAll

💬 Ask a question or report a problem