aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda_dump/src/os_win.rs
diff options
context:
space:
mode:
Diffstat (limited to 'zluda_dump/src/os_win.rs')
-rw-r--r--zluda_dump/src/os_win.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/zluda_dump/src/os_win.rs b/zluda_dump/src/os_win.rs
index d80f6e6..c138cc0 100644
--- a/zluda_dump/src/os_win.rs
+++ b/zluda_dump/src/os_win.rs
@@ -1,8 +1,6 @@
use std::{
- ffi::{c_void, CStr, CString, OsString},
- mem,
- os::raw::c_ushort,
- ptr,
+ ffi::{c_void, CStr},
+ mem, ptr,
};
use std::os::windows::io::AsRawHandle;
@@ -12,7 +10,7 @@ use winapi::{
um::libloaderapi::{GetProcAddress, LoadLibraryW},
};
-use crate::cuda::CUuuid;
+use cuda_types::CUuuid;
pub(crate) const LIBCUDA_DEFAULT_PATH: &'static str = "C:\\Windows\\System32\\nvcuda.dll";
const LOAD_LIBRARY_NO_REDIRECT: &'static [u8] = b"ZludaLoadLibraryW_NoRedirect\0";