[−][src]Struct winproc::Module
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
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]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,