[−][src]Struct parselnk::extra_data::ConsoleDataBlock
The ConsoleDataBlock structure specifies the display settings to use when a link target specifies an application that is run in a console window.
Fields
block_size: u32
A 32-bit, unsigned integer that specifies the size of the ConsoleDataBlock structure. This value MUST be 0x000000CC.
block_signature: u32
A 32-bit, unsigned integer that specifies the signature of the ConsoleDataBlock extra data section. This value MUST be 0xA0000002.
file_attributes: FileAttributes
A 16-bit, unsigned integer that specifies the fill attributes that control the foreground and background text colors in the console window. The following bit definitions can be combined to specify 16 different values each for the foreground and background colors:
popup_file_attributes: u16
A 16-bit, unsigned integer that specifies the fill attributes that control the foreground and background text color in the console window popup. The values are the same as for the FillAttributes field.
screen_buffer_size_x: u16
A 16-bit, signed integer that specifies the horizontal size (X axis), in characters, of the console window buffer.
screen_buffer_size_y: u16
A 16-bit, signed integer that specifies the vertical size (Y axis), in characters, of the console window buffer.
window_size_x: u16
A 16-bit, signed integer that specifies the horizontal size (X axis), in characters, of the console window.
window_size_y: u16
A 16-bit, signed integer that specifies the vertical size (Y axis), in characters, of the console window.
window_origin_x: u16
A 16-bit, signed integer that specifies the horizontal coordinate (X axis), in pixels, of the console window origin.
window_origin_y: u16
A 16-bit, signed integer that specifies the vertical coordinate (Y axis), in pixels, of the console window origin.
font_size: u32
A 32-bit, unsigned integer that specifies the size, in pixels, of the font used in the console window. The two most significant bytes contain the font height and the two least significant bytes contain the font width. For vector fonts, the width is set to zero.
font_family: FontFamily
A 32-bit, unsigned integer that specifies the family of the font used in the console window. This value MUST be comprised of a font family and a font pitch. The values for the font family are shown in the following table:
font_weight: u32
A 32-bit, unsigned integer that specifies the stroke weight of the font used in the console window.
700 ≤ value - A bold font.
value < 700 - A regular-weight font.
face_name: Vec<u8>
A 32-character Unicode string that specifies the face name of the font used in the console window.
cursor_size: u32
A 32-bit, unsigned integer that specifies the size of the cursor, in pixels, used in the console window.
value ≤ 25 - A small cursor.
26 — 50 - A medium cursor.
51 — 100 - A large cursor.
full_screen: u32
A 32-bit, unsigned integer that specifies whether to open the console window in full-screen mode.
0x00000000 - Full-screen mode is off.
0x00000000 < value - Full-screen mode is on.
quick_edit: u32
A 32-bit, unsigned integer that specifies whether to open the console window in QuikEdit mode. In QuickEdit mode, the mouse can be used to cut, copy, and paste text in the console window.
0x00000000 - QuikEdit mode is off.
0x00000000 < value - QuikEdit mode is on.
insert_mode: u32
A 32-bit, unsigned integer that specifies insert mode in the console window.
0x00000000 - Insert mode is disabled.
0x00000000 < value - Insert mode is enabled.
auto_position: u32
A 32-bit, unsigned integer that specifies auto-position mode of the console window.
0x00000000 - The values of the WindowOriginX and WindowOriginY fields are used to position the console window.
0x00000000 < value - The console window is positioned automatically.
history_buffer_size: u32
A 32-bit, unsigned integer that specifies the size, in characters, of the buffer that is used to store a history of user input into the console window.
number_of_history_buffers: u32
A 32-bit, unsigned integer that specifies the number of history buffers to use.
history_no_dup: u32
A 32-bit, unsigned integer that specifies whether to remove duplicates in the history buffer.
0x00000000 - Duplicates are not allowed.
0x00000000 < value - Duplicates are allowed.
color_table: Vec<u8>
A table of 16 32-bit, unsigned integers specifying the RGB colors that are used for text in the console window. The values of the fill attribute fields FillAttributes and PopupFillAttributes are used as indexes into this table to specify the final foreground and background color for a character.
Trait Implementations
impl Clone for ConsoleDataBlock
[src]
fn clone(&self) -> ConsoleDataBlock
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConsoleDataBlock
[src]
impl Default for ConsoleDataBlock
[src]
fn default() -> ConsoleDataBlock
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConsoleDataBlock
impl Send for ConsoleDataBlock
impl Sync for ConsoleDataBlock
impl Unpin for ConsoleDataBlock
impl UnwindSafe for ConsoleDataBlock
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,