How to use the yuvoverlay on win32

I have try to use the yuvoverlay on the win32.
all seem are right,but no picture display on screen.(the screen is black or white)
the same program is all right at linux.

so,is anyone know how to use it at win32?
help me ,thanks!