[][src]Crate lnk

Shell Link parser and writer for Rust.

Works on any OS - although only really useful in Windows, this library can parse and write .lnk files, a shell link, that can be understood by Windows.

The full specification of these files can be found at Microsoft's Website.

Example

A simple example appears as follows:

ShellLink::new_simple()

Structs

FileAttributeFlags

The FileAttributesFlags structure defines bits that specify the file attributes of the link target, if the target is a file system item. File attributes can be used if the link target is not available, or if accessing the target would be inefficient. It is possible for the target items attributes to be out of sync with this value.

HotKeyFlags

The HotKeyFlags structure specifies input generated by a combination of keyboard keys being pressed.

HotKeyFlagsHighByte

An 8-bit unsigned integer that specifies bits that correspond to modifier keys on the keyboard.

LinkFlags

The LinkFlags structure defines bits that specify which shell linkstructures are present in the file format after the ShellLinkHeaderstructure (section 2.1).

ShellLink

A shell link

Enums

HotKeyFlagsLowByte

An 8-bit unsigned integer that specifies a virtual key code that corresponds to a key on the keyboard.