I'm making a program that switches between 2 games (GTA3 and GTA-VC) without even noticing.

My plan is to detect if the player is within a certain radius (the airport maybe?), and if he is,

Fade the game to black
Unload the game
Cover the screen in blackness
Load the other game
Hack your way through the menu, start game blah blah
When the game is loaded, return to the game and destroy the black screen.

I can do everything here except color the screen black.

I assumed it was a DirectX function, but I'm not sure. I'll basically need to create a fullscreen black-ness with a user defined resolution via .ini file, which I have already set up the code for. All I need is this black part.

Help is appreciated!