get_std_handle

Function get_std_handle 

fn get_std_handle(nstdhandle: STD_HANDLE) -> HANDLE
Expand description

Returns a [HANDLE] to the requested [STD_HANDLE] of the current process.

§Arguments

  • nstdhandle - The standard handle to retrieve. Either [STD_INPUT_HANDLE] or [STD_OUTPUT_HANDLE].

§Returns

The [HANDLE] to the requested [STD_HANDLE].