/// Checks if the console handle is an invalid handle value.
///
/// This is done by checking if the passed `HANDLE` is equal to `INVALID_HANDLE_VALUE`
Checks if the console handle is an invalid handle value.
This is done by checking if the passed `HANDLE` is equal to `INVALID_HANDLE_VALUE`
Checks if the console handle is an invalid handle value . This is done by checking if the passed ` HANDLE ` is equal to ` INVALID_HANDLE_VALUE `
pub fn is_valid_handle(handle: &HANDLE) -> bool {
        if *handle == INVALID_HANDLE_VALUE {
            false
        } else {
            true
        }
    }
pub fn is_valid_handle ( handle : & HANDLE ) -> bool { if * handle == INVALID_HANDLE_VALUE { false } else { true } }
Checks if the console handle is an invalid handle value.
Checks if the console handle is an invalid handle value .
handle
&HANDLE