teamy-mft 0.7.1

TeamDman's Master File Table CLI and library for NTFS.
1
2
3
4
5
6
7
8
9
use std::sync::LazyLock;
use windows::Win32::UI::WindowsAndMessaging::RegisterWindowMessageW;
use windows::core::w;

/// Returns the atom/message ID for the "TaskbarCreated" broadcast message.
/// Explorer broadcasts this after the taskbar is (re)created, e.g., after a crash.
/// Apps should re-add their tray icons when they receive this message.
pub static WM_TASKBAR_CREATED: LazyLock<u32> =
    LazyLock::new(|| unsafe { RegisterWindowMessageW(w!("TaskbarCreated")) });