GetStdHandle(handle)
Returns a handle for the standard input, standard output, or standard error device