MfPack Files
The complete file listing of MfPack.
MfPack - Media Foundation headers
Version 3.1.5 and higher
Headers and libraries that define all of the Media Foundation APIs.
To find the header and library for a specific API element,
please consult the reference pages in the Media Foundation Programming Reference on
docs.microsoft.com (DMSC), Media Foundation Headers and Libraries and Microsoft Media Foundation
===================================================
This topic lists the headers and libraries that define all of the Media Foundation API's, related DirectX and ActiveX API's.
To find the header and library for a specific API element,
consult the reference pages in the Media Foundation Programming Reference.
Root (MfPack)
- Readme1st.txt
- Readme_mfpack.txt
- About.txt
- License.txt
- Mozilla Public License, version 2.0.pdf
Packages
src (Sources)
CoreAudioApi
- WinApi.CoreAudioApi.AudEvCod.pas (audevcod.h)
- WinApi.CoreAudioApi.AudioAPOTypes.pas (audioapotypes.h)
- WinApi.CoreAudioApi.AudioClient.pas (audioclient.h)
- WinApi.CoreAudioApi.AudioengineBaseApo.pas (audioenginebaseapo.h)
- WinApi.CoreAudioApi.AudioEngineEndpoint.pas (audioengineendpoint.h)
- WinApi.CoreAudioApi.AudioMediaType.pas (audiomediatype.h)
- WinApi.CoreAudioApi.AudioPolicy.pas (audiopolicy.h)
- WinApi.CoreAudioApi.AudioSessionTypes.pas (audiosessiontypes.h)
- WinApi.CoreAudioApi.DeviceCategories.pas (devicecategories.h)
- WinApi.CoreAudioApi.DeviceTopology.pas (devicetopology.h)
- WinApi.CoreAudioApi.DevTopoUtils.pas (Device Topology Utilities)
- WinApi.CoreAudioApi.Endpointvolume.pas (endpointvolume.h)
- WinApi.CoreAudioApi.MMDevApiUtils.pas (Mmdevice Api Utilities)
- WinApi.CoreAudioApi.MMDeviceApi.pas (mmdeviceapi.h)
- WinApi.MediaFoundationApi.CameraUIControl.pas (CameraUIControl.h)
- WinApi.MediaFoundationApi.CodecApi.pas (CodecApi.h)
- WinApi.MediaFoundationApi.Evr.pas (Evr.h)
- WinApi.MediaFoundationApi.Evr9.pas (Evr9.h)
- WinApi.MediaFoundationApi.KsOpmApi.pas (KsOpmApi.h)
- WinApi.MediaFoundationApi.MfApi.pas (MfApi.h)
- WinApi.MediaFoundationApi.MfCaptureEngine.pas (MfCaptureEngine.h)
- WinApi.MediaFoundationApi.MfContentDecryptionModule.pas (MfContentDecryptionModule.h)
- WinApi.MediaFoundationApi.MfD3D12 (mfd3d12.h)
- WinApi.MediaFoundationApi.Mferror.pas (Mferror.h)
- WinApi.MediaFoundationApi.MfIdl.pas (MfIdl.h)
- WinApi.MediaFoundationApi.MfMediaCapture.pas (MfMediaCapture.h)
- WinApi.MediaFoundationApi.MfMediaEngine.pas (MfMediaEngine.h)
- WinApi.MediaFoundationApi.MfMp2Dlna.pas (MfMp2Dlna.h)
- WinApi.MediaFoundationApi.MfObjects.pas (MfObjects.h)
- WinApi.MediaFoundationApi.MfPlay.pas (MfPlay.h)
- WinApi.MediaFoundationApi.MfReadWrite.pas (MfReadWrite.h)
- WinApi.MediaFoundationApi.MfSharingEngine.pas (MfSharingEngine.h)
- WinApi.MediaFoundationApi.MfSpatialAudio.pas (MfSpatialAudio.h)
- WinApi.MediaFoundationApi.MfTransform.pas (MfTransform.h)
- WinApi.MediaFoundationApi.OpmApi.pas (OpmApi.h)
- WinApi.MediaFoundationApi.WmCodecDsp.pas (WmCodecDsp.h)
- WinApi.MediaFoundationApi.WmContainer.pas (WmContainer.h)
- WinApi.MediaFoundationApi.MfpMediaTypeDebug.pas
- WinApi.MediaFoundationApi.MfMetLib.pas
- WinApi.MediaFoundationApi.MfUtils.pas
Shared files
- WinApi.ActiveX.OaIdl.pas (oaidl.h)
- WinApi.ActiveX.ObjBase.pas (objbase.h)
- WinApi.ActiveX.ObjIdl.pas (objidl.h)
- WinApi.ActiveX.ObjIdlbase.pas (objidlbase.h)
- WinApi.ActiveX.OCIdl.pas (ocidl.h)
- WinApi.ActiveX.OleIdl.pas (oleidl.h)
- WinApi.ActiveX.PropIdl.pas (propidl.h)
- WinApi.ActiveX.PropKeyDef.pas (propkeydef.h)
- WinApi.ActiveX.PropSys.pas (propsys.h)
- WinApi.ActiveX.PropVarUtil.pas (propvarutil.h)
- WinApi.AmVideo.pas (amvideo.h)
- WinApi.ComBaseApi.pas (combaseapi.h)
- WinApi.Coml2Api.pas (coml2api.h)
- WinApi.Dbt.pas (dbt.h)
- WinApi.DevpKey.pas (devpkey.h)
- WinApi.DevPropDef.pas (devpropdef.h)
- WinApi.DvdMedia.pas (dvdmedia.h)
- WinApi.Evntcons.pas (evntcons.h)
- WinApi.Evntprov.pas (evntprov.h)
- WinApi.Evntrace.pas (evntrace.h)
- WinApi.FunctionDiscoveryKeys_devpkey.pas (functiondiscoverykeys_devpkey.h)
- WinApi.InitGuid.pas (initguid.h)
- WinApi.Inspectable.pas (inspectable.h)
- WinApi.Ks.pas (ks.h)
- WinApi.KsMedia.pas (ksmedia.h)
- WinApi.KsUuIds.pas (KsUuIds.h)
- WinApi.KsProxy.pas (ksproxy.h)
- WinApi.MediaObj.pas (mediaobj.h)
- WinApi.MmStream.pas (mmstream.h)
- WinApi.Relogger.pas (relogger.h)
- WinApi.ServProv.pas (servprov.h)
- WinApi.ShTypes.pas (shtypes.h)
- WinApi.StrmIf.pas (strmif.h)
- WinApi.StructuredQueryCondition_2020.pas (structuredquerycondition.h, Delphi "Sydney" version and below are obsolete)
- WinApi.Unknwn.pas (unknwn.h)
- WinApi.UuIds.pas (uuids.h)
- WinApi.VpType.pas (vptype.h)
- WinApi.WinApiTypes.pas (wtypes.h, etc.)
- WinApi.WinError.pas (winerror.h)
- WinApi.Wmistr.pas (wmistr.h)
- WinApiTypes.inc (configuration file)
- WinApi.WinMM.DigitalV.pas (digitalv.h)
- WinApi.WinMM.JoyStickApi.pas (joystickapi.h)
- WinApi.WinMM.MMDdk.pas (mmddk.h)
- WinApi.WinMM.MMeApi.pas (mmeapi.h)
- WinApi.WinMM.MMiscApi.pas (mmiscapi.h)
- WinApi.WinMM.MMiscApi2.pas (mmiscapi2.h)
- WinApi.WinMM.MMReg.pas (mmreg.h)
- WinApi.WinMM.MsAcm.pas (msacm.h)
- WinApi.WinMM.TimeApi.pas (timeapi.h)
- WinApi.WinMM.Vfw.pas (vfw.h)
- WinApi.WinMM.MMSysCom.pas (mmsyscom.h)
- WinApi.WinMM.PlaySoundApi.pas (playsoundapi.h)
- WinApi.WinMM.MMSystem.pas (mmsystem.h)
- WinApi.WinMM.MCIApi.pas (mciapi.h)
MPEG2
- WinApi.Mpeg2Bits.pas (mpeg2bits.h)
- WinApi.Mpeg2Data.pas (mpeg2data.h)
- WinApi.Mpeg2PsiParser.pas (mpeg2psiparser.h)
- WinApi.Mpeg2Structs.pas (mpeg2structs.h)
- WinApi.MPEGError.pas (mpegerror.h)
- WinApi.MPEGType.pas (MPEGType.h)
Windows Imaging Component (WIC)
- WinApi.Wic.WinCodec.pas (wincodec.h)
- WinApi.Wic.WinCodecSdk.pas (wincodecsdk.h)
DirectX
*** Common used DirectX api's by Media Foundation.***
Common
- WinApi.DirectX.D3DCommon.pas (d3dcommon.h)
- WinApi.DirectX.DocumentTarget.pas (documenttarget.h)
- WinApi.DirectX.XInput.pas (xinput.h)
DirectX Video Acceleration (DXVA) 2.0
API and a corresponding DDI for using hardware acceleration to speed up video processing.
- WinApi.DirectX.DXVA.pas (dxva.h)
- WinApi.DirectX.DXVA2Api.pas (dxva2api.h)
- WinApi.DirectX.DXVA2SWDev.pas (dxva2SWDev.h)
- WinApi.DirectX.DXVA2Trace.pas (dxva2trace.h)
- WinApi.DirectX.DXVA9Typ.pas (dxva9typ.h)
- WinApi.DirectX.DXVAHd.pas (dxvahd.h)
XAudio2
Xbox game sound programming
- WinApi.XAudio2.HrtfApoApi.pas (hrtfapoapi.h)
- WinApi.XAudio2.X3DAudio.pas (x3daudio.h)
- WinApi.XAudio2.XApo.pas (xapo.h)
- WinApi.XAudio2.XAPOBase.pas (xapobase.h)
- WinApi.XAudio2.XAPOFx.pas (xapofx.h)
- WinApi.XAudio2.XAudio2.pas (xaudio2.h)
- WinApi.XAudio2.XAudio2Fx.pas (xaudio2fx.h)
- XAudio2.inc (configuration file)
For those Delphi versions not having the latest updates or don't support the following Api's.
Note: These files (packages) are included in the MfPack zip file.
D2D1
Direct2D
- WinApi.DirectX.D2D1_1.pas (d2d1_1.h)
- WinApi.DirectX.D2D1_1Helper.pas (d2d1_1helper.h)
- WinApi.DirectX.D2D1_2.pas (d2d1_2.h)
- WinApi.DirectX.D2D1_2Helper.pas (d2d1_2helper.h)
- WinApi.DirectX.D2D1_3.pas (d2d1_3.h)
- WinApi.DirectX.D2D1_3Helper.pas (d2d1_3helper.h)
- WinApi.DirectX.D2D1.pas (d2d1.h)
- WinApi.DirectX.D2D1EffectAuthor_1.pas (d2d1effectauthor_1.h)
- WinApi.DirectX.D2D1EffectAuthor.pas (d2d1effectauthor.h)
- WinApi.DirectX.D2D1Effects_1.pas (d2d1effects_1.h)
- WinApi.DirectX.D2D1Effects_2.pas (d2d1effects_2.h)
- WinApi.DirectX.D2D1Effects.pas (d2d1effects.h)
- WinApi.DirectX.D2D1Helper.pas (d2d1Helper.h)
- WinApi.DirectX.D2D1Svg.pas (d2d1svg.h)
- WinApi.DirectX.D2DBaseTypes.pas (d2dbasetypes.h)
- WinApi.DirectX.D2DErr.pas (d2derr.h)
- WinApi.DirectX.DCommon.pas (dcommon.h)
DirectWrite
High-quality text rendering, resolution-independent outline fonts, and full Unicode text and layout support.
- WinApi.DirectX.DWrite.pas (dwrite.h)
- WinApi.DirectX.DWrite_1.pas (dwrite_1.h)
- WinApi.DirectX.DWrite_2.pas (dwrite_2.h)
- WinApi.DirectX.DWrite_3.pas (dwrite_3.h)
DXGI
DirectX Graphics Infrastructure
- WinApi.DirectX.DXGI.pas (dxgi.h)
- WinApi.DirectX.DXGI1_2.pas (dxgi1_2.h)
- WinApi.DirectX.DXGI1_3.pas (dxgi1_3.h)
- WinApi.DirectX.DXGI1_4.pas (dxgi1_4.h)
- WinApi.DirectX.DXGI1_5.pas (dxgi1_5.h)
- WinApi.DirectX.DXGI1_6.pas (dxgi1_6.h)
- WinApi.DirectX.DXGICommon.pas (dxgicommon.h)
- WinApi.DirectX.DXGIFormat.pas (dxgiformat.h)
- WinApi.DirectX.DXGIMessages.pas (dxgimessages.h)
- WinApi.DirectX.DXGIType.pas (dxgitype.h)
DirectComposition
High-performance bitmap composition with transforms, effects, and animations.
- WinApi.DirectX.DComp.pas (dcomp.h)
- WinApi.DirectX.DCompAnimation.pas (dcompanimation.h)
- WinApi.DirectX.DCompTypes.pas (dcomptypes.h)
D3D9
- WinApi.DirectX.D3D9.pas (d3d9.h)
- WinApi.DirectX.D3D9Caps.pas (d3d9caps.h)
- WinApi.DirectX.D3D9Types.pas (d3d9types.h)
D3D11
- WinApi.DirectX.D3D11.pas (D3D11.h)
- WinApi.DirectX.D3D11Shader.pas (D3D11Shader.h)
- WinApi.DirectX.D3D11_1.pas (D3D11_1.h)
- WinApi.DirectX.D3D11_2.pas (D3D11_2.h)
- WinApi.DirectX.D3D11_3.pas (D3D11_3.h)
- WinApi.DirectX.D3D11_4.pas (D3D11_4.4)
D3D12
- WinApi.DirectX.D3D11on12.pas (D3D11on12.h)
- Winapi.DirectX.D3D12.pas (D3D12.h)
- WinApi.DirectX.D3D12Compatibility.pas (D3D12Compatibility.h)
- WinApi.DirectX.D3D12SDKLayers.pas (D3D12SDKLayers.h)
- WinApi.DirectX.D3D12Shader.pas (D3D12Shader.h)
- WinApi.DirectX.D3D12Video.pas (D3D12Video.h)
Debug
- WinApi.Dbg.D3DError.pas (d3derror.h)
- WinApi.Dbg.WinError32.pas (winerror.h)
- WinApi.Dbg.WinFacility.pas (-)
- WinApi.Dbg.WinHResult.pas (-)
- WinApi.Dbg.WinHResultTools.pas (main)
- WinApi.Dbg.WinMfError.pas (mferror.h)
Libraries (see Windows SDK)
===============================================
- dxva2.lib
- evr.lib
- mf.lib
- mfplat.lib
- mfplay.lib
- mfreadwrite.lib
- mfuuid.lib
Library Changes since Windows 7
======================================================
Starting in Windows 7, certain Media Foundation functions are exported from
different DLL files than previous versions.
These changes affect the following .dll files:
- evr.dll
- mf.dll
- mfplat.dll
Note: Since the latest RS5 update, the minimum required Windows version is Vista SR2
and the fully supported Windows version is 10 RedStone 5.
The main root holds a directory "/src", this directory contains all units used by Media Foundation,
Audio Core and DirectX.
Every Delphi unit has a section that contains helpers specific for the Delphi programming language.
If, however, a helper- or utilityfunction covers more units, then this will be added in the shared
Delphi helper unit (WinApi.MediaFoundationApi.MfUtils.pas) or the WinApi.MediaFoundationApi.MfTypes.pas that holds shared types.
<>