Skip to main content

parse_custom_destinations

Function parse_custom_destinations 

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

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

Validates the flat header (FormatVersion == 2), then splits the embedded shell links by scanning for the [MS-SHLLINK] CLSID and the 0xBABFFBAB footer — declared sizes are unreliable — and structurally decodes each LNK with parse_shell_link. Category boundaries are not preserved in v0.2; the entries are returned flat in file order.

Returns None when the header format version is not 2.