You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Bump windows crate to .58, replace HINSTANCE(0) with HMODULE::default()
* Bump windows crate to .59, replace HMODULE::default() with none
* Build on windows
Copy file name to clipboardExpand all lines: src/process/process_name.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
17
17
use std::mem::size_of;
18
-
use windows::Win32::Foundation::{CloseHandle,HINSTANCE,MAX_PATH};
18
+
use windows::Win32::Foundation::{CloseHandle,MAX_PATH};
19
19
use windows::Win32::System::ProcessStatus::{K32EnumProcesses,K32GetModuleFileNameExW};
20
20
use windows::Win32::System::Threading::{GetCurrentProcess,OpenProcess,PROCESS_QUERY_INFORMATION,PROCESS_VM_OPERATION,PROCESS_VM_READ,PROCESS_VM_WRITE};
Copy file name to clipboardExpand all lines: src/process/refresh.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
17
17
use std::mem::size_of;
18
-
use windows::Win32::Foundation::{BOOL,CloseHandle,HANDLE,HINSTANCE};
18
+
use windows::Win32::Foundation::{CloseHandle,HANDLE};
19
19
use windows::Win32::System::ProcessStatus::{K32EnumProcesses,K32GetModuleFileNameExW};
20
20
use windows::Win32::System::Threading::{GetExitCodeProcess,OpenProcess,PROCESS_QUERY_INFORMATION,PROCESS_VM_OPERATION,PROCESS_VM_READ,PROCESS_VM_WRITE};
0 commit comments