Class ProcessEnv

    • Constructor Detail

      • ProcessEnv

        public ProcessEnv()
    • Method Detail

      • GetStdHandle

        public static final Winnt.HANDLE GetStdHandle​(int nStdHandle)
                                               throws NativeErrorException
        Parameters:
        nStdHandle - The standard device. This parameter can be one of the following values. STD_INPUT_HANDLE, STD_OUTPUT_HANDLE, STD_ERROR_HANDLE.
        Returns:
        If the function succeeds, the return value is a handle to the specified device, or a redirected handle set by a previous call to SetStdHandle.
        Throws:
        NativeErrorException - if the return value of the native function indicates an error.