video_set(sys_metrics(0), sys_metrics(1), 0, 1);

this will work too...

[You did not include windows.h, did you?]