Expand description
Retrieves the full path of a known folder identified by the folder’s
KNOWNFOLDERID on Windows systems using SHGetKnownFolderPath
and the
Known Folders API.
§Platform Support
The Known Folders API first appeared in Windows Vista.
Note that this crate is completely empty on non-Windows platforms.
§Linkage
The Known Folders API is provided by Win32, which is linked into every binary on Windows platforms.
§Examples
use known_folders::{get_known_folder_path, KnownFolder};
let profile_dir = get_known_folder_path(KnownFolder::Profile);
Enums§
- GUIDs that identify standard folders registered with the system as Known Folders.
Functions§
- Retrieve the full path of a known folder identified by the folder’s
KNOWNFOLDERID
.