This is a begged MFC code for multiple windowless video renderers. MFC project, two independent video renderers hosted by the same parent window (actually through owned controls but this makes no major difference), VMR9 in windowless mode.
(this expects C:\Windows\clock.avi file to be available which is no longer the case after Windows XP – simply copy any AVI there as a replacement)
There are no WM_PAINT/WM_ERASEBKGND handlers, IVMRWindowlessControl9::RepaintVideo calls and other basically required code, instead a minimalistic snippet to make video rendered the requested way.
A Visual C++ .NET 2008 source code is available from SVN/Trac, release binary included.
It is worth to mention that with regular Visual Studio .NET 2008 it might go:
and the solution is: