Skip to main content

parse_automatic_destinations

Function parse_automatic_destinations 

Source
pub fn parse_automatic_destinations(
    data: &[u8],
    filename: Option<&str>,
) -> Option<JumpList>
Expand description

Parse a *.automaticDestinations-ms Jump List from its bytes.

Opens the bytes as a CFB compound file, reads the DestList MRU stream, and for each entry opens the matching hex-named shell-link sub-stream and decodes it with parse_shell_link. app_id is taken from filename when given (e.g. "1b4dd67f29cb1962.automaticDestinations-ms").

Returns None when the bytes are not a valid CFB compound file or carry no DestList stream. Never panics on hostile input.