Function crossterm_winapi::handle_result
source · pub fn handle_result(return_value: HANDLE) -> Result<HANDLE>
Expand description
Get the result of a call to WinAPI that returns a handle or INVALID_HANDLE_VALUE
.
pub fn handle_result(return_value: HANDLE) -> Result<HANDLE>
Get the result of a call to WinAPI that returns a handle or INVALID_HANDLE_VALUE
.