Struct winproc::Module [−][src]
pub struct Module<'a> { /* fields omitted */ }
A handle to a process's loaded module.
Methods
impl<'a> Module<'a>
[src]
impl<'a> Module<'a>
pub fn handle(&self) -> HMODULE
[src]
pub fn handle(&self) -> HMODULE
Returns the inner HMODULE handle (address) of the loaded module.
pub fn name(&self) -> WinResult<String>
[src]
pub fn name(&self) -> WinResult<String>
Returns the base (file) name of the module.
pub fn path(&self) -> WinResult<PathBuf>
[src]
pub fn path(&self) -> WinResult<PathBuf>
Returns the fully qualified path to the file that contains the module.
pub fn info(&self) -> WinResult<ModuleInfo>
[src]
pub fn info(&self) -> WinResult<ModuleInfo>
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]
pub fn proc_address(&self, proc_name: &str) -> WinResult<*mut c_void>
Returns a void pointer to the function in the module with the specified name.