MFPlayer Library consists of functions that wrap the MFPlay COM implementation of the IMFPMediaPlayer and IMFPMediaItem objects. MFPlay is a Microsoft Media Foundation API for creating media playback applications. Thus the MFPlayer Library functions hide the complexities of interacting with the COM objects.
The MFPlayer Library is also used in the MediaPlayer application that showcases the usage of the MFPlayer Library and its functions, and also contains additional functions and features not included in the MFPlayer Library, but are related to it and its use with the MFPlay / Microsoft Media Foundation API.
-
Download the latest release for whichever assembler and architecture you require:
-
Copy
MFPlayer.incto yourmasm32\includefolder for MFPlayer Library x86, oruasm\includefor MFPlayer Library x64 (or wherever your include files are located) -
Copy
MFPlayer.libto yourmasm32\libfolder for MFPlayer Library x86, oruasm\lib\x64for MFPlayer Library x64 (or wherever your libraries are located) -
Add the following to your project:
include MFPlayer.inc includelib MFPlayer.lib
Documentation on the functions in the MFPlayer libraries are located on readthedocs here
Included with the releases are additional RadASM autocomplete / intellisense type files. Each *.api.txt file contains instructions as to where to paste their contents.
Other resources may be required to build the libraries:
