You need to get the console handle for the first argument:

HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);

The second argument can probably be TRUE.

Notice you need a struct for the third...