[][src]Struct winproc::ModuleEntry

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 From<MODULEENTRY32W> for ModuleEntry[src]

impl Clone for ModuleEntry[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ModuleEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]