MFCreateMP3ByteStreamPlugin function

[This API is not supported and may be altered or unavailable in the future. Instead, applications should use the Source Resolver to create the MP3 media source.]

Creates a byte-stream handler for the MP3 media source.


HRESULT __stdcall MFCreateMP3ByteStreamPlugin(
  _In_  REFIID riid,
  _Out_ LPVOID *ppvHandler


riid [in]

The interface identifier (IID) of the requested interface. Set this parameter to IID_IMFByteStreamHandler to receive a pointer to the IMFByteStreamHandler interface.

ppvHandler [out]

Receives a pointer to the interface. The caller must release the interface.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


This function has no associated import library. To call this function, you must use the LoadLibrary and GetProcAddress functions to dynamically link to mf.dll.


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

End of client support

Windows Vista

End of server support

Windows Server 2008

See also

Media Foundation Functions
Scheme Handlers and Byte-Stream Handlers
Source Resolver