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.

Syntax

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

Parameters

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.

Remarks

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.

Requirements

Requirement Value
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