PRB: Media Player Does Not Display Error Message from Custom Source Filter (320521)



The information in this article applies to:

  • Microsoft Windows Media Player 7.1

This article was previously published under Q320521

SYMPTOMS

Windows Media Player does not display custom error messages from a custom source filter.

CAUSE

Microsoft DirectX does not have a mechanism for passing error messages to Windows Media Player. Microsoft DirectShow defines an event named EC_OLE_STRING for passing strings to applications from filters; however, Windows Media Player only uses this event for closed captioning.

RESOLUTION

To display a custom error message, call MessageBox() in the source filter.

STATUS

This behavior is by design.

Modification Type:MajorLast Reviewed:5/17/2002
Keywords:kbprb KB320521