[][src]Struct winproc::Module

pub struct Module<'a> { /* fields omitted */ }

A handle to a process's loaded module.

Methods

impl<'a> Module<'a>[src]

pub fn handle(&self) -> HMODULE[src]

Returns the inner HMODULE handle (address) of the loaded module.

pub fn name(&self) -> WinResult<String>[src]

Returns the base (file) name of the module.

pub fn path(&self) -> WinResult<PathBuf>[src]

Returns the fully qualified path to the file that contains the module.

pub fn info(&self) -> WinResult<ModuleInfo>[src]

Returns a struct containing the address, size, and entry point of the module.

pub fn proc_address(&self, proc_name: &str) -> WinResult<*mut c_void>[src]

Returns a void pointer to the function in the module with the specified name.

Trait Implementations

impl<'a> Debug for Module<'a>[src]

Auto Trait Implementations

impl<'a> !Sync for Module<'a>

impl<'a> !Send for Module<'a>

impl<'a> Unpin for Module<'a>

impl<'a> RefUnwindSafe for Module<'a>

impl<'a> UnwindSafe for Module<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]