windows.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use windows::Win32::Foundation::{
HWND,
LPARAM,
LRESULT,
WPARAM,
};
use windows::Win32::UI::WindowsAndMessaging::{
DefWindowProcW
};
pub(crate) unsafe extern "system" fn win32_message_handler(window: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
unsafe {
DefWindowProcW(window, msg, wparam, lparam)
}
}