pub fn write_console_output_character(console_output: &mut impl AsConsoleOutputHandle, characters: &[u16], write_coord: impl IntoCoord) -> io::Result<usize> {
    let length = characters.len().try_into().unwrap_or(!0);
    let mut written = 0;
    succeeded_to_result(unsafe { WriteConsoleOutputCharacterW(console_output.as_raw_handle().cast(), characters.as_ptr(), length, write_coord.into_coord(), &mut written) })?;
    Ok(written as _)
}
/// \[[WriteConsoleOutputCharacterW]\] Copies a number of characters to consecutive cells of a console screen buffer, beginning at a specified location.
///
/// ### Example
/// ```
/// # use maulingmonkey_console_winapi_wrappers::*;
/// # use std::io::{self, *};
/// # let _ = (|| -> io::Result<()> {
/// write_console_output_character(&mut stdout(), &[' ' as u16], (1,2))?;
/// # Ok(())
/// # })();
/// ```
///
/// [WriteConsoleOutputCharacterW]: https://docs.microsoft.com/en-us/windows/console/writeconsoleoutputcharacter
\[[WriteConsoleOutputCharacterW]\] Copies a number of characters to consecutive cells of a console screen buffer, beginning at a specified location.
\ [[ WriteConsoleOutputCharacterW ] \ ] Copies a number of characters to consecutive cells of a console screen buffer beginning at a specified location .
pub fn write_console_output_character(console_output: &mut impl AsConsoleOutputHandle, characters: &[u16], write_coord: impl IntoCoord) -> io::Result<usize> {
    let length = characters.len().try_into().unwrap_or(!0);
    let mut written = 0;
    succeeded_to_result(unsafe { WriteConsoleOutputCharacterW(console_output.as_raw_handle().cast(), characters.as_ptr(), length, write_coord.into_coord(), &mut written) })?;
    Ok(written as _)
}
pub fn write_console_output_character ( console_output : & mut impl AsConsoleOutputHandle , characters : & [ u16 ] , write_coord : impl IntoCoord ) -> io :: Result < usize > { let length = characters . len ( ) . try_into ( ) . unwrap_or ( ! 0 ) ; let mut written = 0 ; succeeded_to_result ( unsafe { WriteConsoleOutputCharacterW ( console_output . as_raw_handle ( ) . cast ( ) , characters . as_ptr ( ) , length , write_coord . into_coord ( ) , & mut written ) } ) ? ; Ok ( written as _ ) }
\[[WriteConsoleOutputCharacterW]\] Copies a number of characters to consecutive cells of a console screen buffer, beginning at a specified location.
\ [[ WriteConsoleOutputCharacterW ] \ ] Copies a number of characters to consecutive cells of a console screen buffer beginning at a specified location .
console_output
&mut impl AsConsoleOutputHandle
characters
&[u16]
write_coord
impl IntoCoord
console_output
&mut impl AsConsoleOutputHandle
characters
&[u16]
write_coord
impl IntoCoord
example
None
use maulingmonkey_console_winapi_wrappers::*;
None
use std::io::{self, *};
None
let _ = (|| -> io::result<()> {
None
ok(())
None
})();
None