Struct parselnk::extra_data::ExtraData
source · [−]pub struct ExtraData {
pub console_props: Option<ConsoleDataBlock>,
pub console_fe_props: Option<ConsoleFEDataBlock>,
pub shim_props: Option<ShimDataBlock>,
/* private fields */
}
Expand description
ExtraData refers to a set of structures that convey additional information about a link target. These optional structures can be present in an extra data section that is appended to the basic Shell Link Binary File Format. The ExtraData structures conform to the following ABNF rules [RFC5234]:
Fields
console_props: Option<ConsoleDataBlock>
The ConsoleDataBlock structure specifies the display settings to use when a link target specifies an application that is run in a console window.
console_fe_props: Option<ConsoleFEDataBlock>
The ConsoleFEDataBlock structure specifies the code page to use for displaying text when a link target specifies an application that is run in a console window.
shim_props: Option<ShimDataBlock>
The ShimDataBlock structure specifies the name of a shim that can be applied when activating a link target.
Implementations
pub fn new(
cursor: &mut Cursor<Vec<u8>>,
_header: &ShellLinkHeader
) -> Result<Self, ExtraDataError>
pub fn new(
cursor: &mut Cursor<Vec<u8>>,
_header: &ShellLinkHeader
) -> Result<Self, ExtraDataError>
Construct a new ExtraData
instance from the data in cursor
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExtraData
impl UnwindSafe for ExtraData
Blanket Implementations
Mutably borrows from an owned value. Read more