mirror of
https://github.com/joaoviictorti/shadow-rs.git
synced 2026-01-19 23:45:18 +01:00
fix: Correcting driver structure error
This commit is contained in:
@@ -8,6 +8,7 @@ use {
|
||||
Foundation::{CloseHandle, GetLastError, HANDLE},
|
||||
},
|
||||
};
|
||||
|
||||
pub struct Callback {
|
||||
driver_handle: HANDLE,
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ impl Driver {
|
||||
let mut info_driver = TargetDriver {
|
||||
name: name.to_string(),
|
||||
enable,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
debug!("Sending DeviceIoControl command to {} driver", if enable { "hide" } else { "unhide" });
|
||||
|
||||
Reference in New Issue
Block a user