Function winapi_util::console::set_text_attributes

source ·
pub fn set_text_attributes<H: AsHandleRef>(h: H, attributes: u16) -> Result<()>
Expand description

Set the text attributes of the console represented by the given handle.

This corresponds to calling SetConsoleTextAttribute.