Struct winproc::ModuleEntry [−][src]
pub struct ModuleEntry { pub id: u32, pub name: String, pub path: PathBuf, pub hmodule: HMODULE, pub process_id: u32, pub global_load_count: u32, pub proc_load_count: u32, pub mod_base_addr: *mut u8, pub mod_base_size: u32, }
Holds data related to a module of a running process.
Maps almost directly to a Windows MODULEENTRY32W.
Fields
id: u32
This member is no longer used, and is always set to one.
name: String
The module's basename.
path: PathBuf
The path to the module's file.
hmodule: HMODULE
A handle to the module in the context of the owning process.
process_id: u32
The identifier of the process in which the module is loaded.
global_load_count: u32
The load count of the module, which is not generally meaningful,
and usually equal to 0xffff
.
proc_load_count: u32
The load count of the module (same as GlblcntUsage), which is not
generally meaningful, and usually equal to 0xffff
.
mod_base_addr: *mut u8
The base address of the module in the context of the owning process.
mod_base_size: u32
The size of the module, in bytes.
Trait Implementations
impl Debug for ModuleEntry
[src]
impl Debug for ModuleEntry
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ModuleEntry
[src]
impl Clone for ModuleEntry
fn clone(&self) -> ModuleEntry
[src]
fn clone(&self) -> ModuleEntry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl From<MODULEENTRY32W> for ModuleEntry
[src]
impl From<MODULEENTRY32W> for ModuleEntry
fn from(me: MODULEENTRY32W) -> ModuleEntry
[src]
fn from(me: MODULEENTRY32W) -> ModuleEntry
Performs the conversion.
Auto Trait Implementations
impl !Send for ModuleEntry
impl !Send for ModuleEntry
impl !Sync for ModuleEntry
impl !Sync for ModuleEntry