GetStdHandle function kernel32

int GetStdHandle(
  1. int nStdHandle
)

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);