How can I play a music or video(media file) without DirectX or MediaFoundation?

As title

How can I play a music or video(media file) without DirectShow or MediaFoundation (without any middleware) under VS2005 in C++?

Thank you very much

On Thu, 24 Jun 2010 03:35:39 +0000, andou528 wrote:How can I play  a music  or video(media file) without DirectShow or MediaFoundation (without any middleware) under VS2005 in C++?The simple answer is write your own multimedia framework.  But you

Beside the fact that DS and MF are not middleware  because they are system components just as much as the Kernel32 API is  (so, as TMH asked, you should clarify what you mean by middleware), if you mean you don’t want to use any API outside of LIBC/STL,

The March Hare and Alessandro Angeli    Thank you very much.I am working on a project. We want to test the capability on the platform. The reason that I don’t want to use DirectShow is because that the platform doesn’t support it.(it is a real-time extension of XP)So I am trying use the basic Win32 API to play  the multimedia file  such as mpg or mp3 on it and on the XP.I know most people use DirectShow or Media Foundation to play the media file.But what if there are no software like that ?How could use basic API to play the media file? thank you all