Skip to content

Library of functions that wrap the IMFPMediaPlayer and IMFPMediaItem objects.

License

Notifications You must be signed in to change notification settings

mrfearless/MFPlayer-Library

Repository files navigation

MFPlayer Library

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.

readthedocs

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

  • Download the latest release for whichever assembler and architecture you require:

  • Copy MFPlayer.inc to your masm32\include folder for MFPlayer Library x86, or uasm\include for MFPlayer Library x64 (or wherever your include files are located)

  • Copy MFPlayer.lib to your masm32\lib folder for MFPlayer Library x86, or uasm\lib\x64 for MFPlayer Library x64 (or wherever your libraries are located)

  • Add the following to your project:

    include MFPlayer.inc
    includelib MFPlayer.lib

Functions

Documentation on the functions in the MFPlayer libraries are located on readthedocs here

Resources

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: