[−][src]Struct win_ring0::WinRing0
WinRing0 driver
Methods
impl<'a> WinRing0
[src]
pub fn new() -> Self
[src]
pub fn install(&self) -> Result<(), String>
[src]
Install the winRing0 driver.
pub fn open(&mut self) -> Result<(), String>
[src]
Open the winRing0 driver for communication
pub fn close(&mut self) -> Result<(), String>
[src]
Close the winRing0 driver handle
pub fn uninstall(&mut self) -> Result<(), String>
[src]
Uninstall the winRing0 driver
pub fn readMsr(&self, msr: DWORD) -> Result<u64, String>
[src]
Read an MSR register
pub fn io(&self, ioctl: IOCTL, in_buffer: u32) -> Result<u64, String>
[src]
Raw IO function. See [WinKernelDriver::io] for more information
Auto Trait Implementations
impl RefUnwindSafe for WinRing0
impl !Send for WinRing0
impl !Sync for WinRing0
impl Unpin for WinRing0
impl UnwindSafe for WinRing0
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,