pub fn parse_automatic_destinations_checked(
data: &[u8],
filename: Option<&str>,
) -> Result<JumpList, JumplistError>Expand description
Parse a *.automaticDestinations-ms Jump List, surfacing the structural
reason for any failure.
Err(JumplistError::NotCompoundFile { found_magic })— the bytes are not a CFB compound file;found_magiccarries the first 8 bytes that were there.Err(JumplistError::MissingDestListStream)— a valid CFB without aDestListstream (so not an automatic-destinations Jump List).Ok(JumpList)— a parsed Jump List (itsentriesmay be empty if no embedded shell link decoded, but theDestListwas present).
app_id is taken from filename when given. Never panics on hostile input.