In most cases you don't need to repaint the video explicitly because the video renderer does it automatically. Yes, if the hosting window needs - for any reason - to request forced replaint, such as as part of WM_PAINT
window message handler, then RepaintVideo
method is here at your service.
See more on MSDN, VMR Windowless Mode:
During playback, the application should notify the VMR of the following Windows messages:
WM_PAINT: Call IVMRWindowlessControl::RepaintVideo to repaint the image.