GetStdHandle function kernel32
Retrieves a handle to the specified standard device (standard input, standard output, or standard error).
HANDLE GetStdHandle(
_In_ DWORD nStdHandle
);
Implementation
int GetStdHandle(int nStdHandle) => _GetStdHandle(nStdHandle);