fix(client): PrintWindow in Gdi not WindowsAndMessaging, clean up unused imports
This commit is contained in:
parent
efc9cab2c3
commit
92d3907ec7
2 changed files with 7 additions and 9 deletions
|
|
@ -5,11 +5,10 @@ use helios_common::protocol::WindowInfo;
|
|||
#[cfg(windows)]
|
||||
mod win_impl {
|
||||
use super::*;
|
||||
use std::sync::Mutex;
|
||||
use windows::Win32::Foundation::{BOOL, HWND, LPARAM};
|
||||
use windows::Win32::UI::WindowsAndMessaging::{
|
||||
BringWindowToTop, EnumWindows, GetWindowTextW, IsWindowVisible, SetForegroundWindow,
|
||||
ShowWindow, SW_MAXIMIZE, SW_MINIMIZE, SW_RESTORE, SHOW_WINDOW_CMD,
|
||||
ShowWindow, SW_MAXIMIZE, SW_RESTORE,
|
||||
};
|
||||
use windows::Win32::UI::Input::KeyboardAndMouse::{
|
||||
keybd_event, KEYEVENTF_KEYUP, VK_MENU,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue