Struct tlhelp32::ModuleEntry
source · pub struct ModuleEntry {
pub process_id: u32,
pub base_addr: *mut u8,
pub base_size: u32,
pub h_module: HMODULE,
pub sz_module: U16CString,
pub sz_exe_path: U16CString,
}
Expand description
A module entry taken from a Snapshot
.
For more information on the fields meanings visit the microsoft docs
Fields
process_id: u32
base_addr: *mut u8
base_size: u32
h_module: HMODULE
sz_module: U16CString
sz_exe_path: U16CString
Trait Implementations
sourceimpl Clone for ModuleEntry
impl Clone for ModuleEntry
sourcefn clone(&self) -> ModuleEntry
fn clone(&self) -> ModuleEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ModuleEntry
impl Debug for ModuleEntry
sourceimpl TagTl32 for ModuleEntry
impl TagTl32 for ModuleEntry
type Raw = MODULEENTRY32W
type Raw = MODULEENTRY32W
The raw windows counterpart of the implementing struct
sourceconst ITER_FIRST: unsafe extern "system" fn(_: HANDLE, _: *mut Self::Raw) -> BOOL = {winapi::um::tlhelp32::Module32FirstW as unsafe extern "system" fn(*mut winapi::ctypes::c_void, *mut <ModuleEntry as TagTl32>::Raw) -> i32}
const ITER_FIRST: unsafe extern "system" fn(_: HANDLE, _: *mut Self::Raw) -> BOOL = {winapi::um::tlhelp32::Module32FirstW as unsafe extern "system" fn(*mut winapi::ctypes::c_void, *mut <ModuleEntry as TagTl32>::Raw) -> i32}
The
*32First
windows functionsourceconst ITER_NEXT: unsafe extern "system" fn(_: HANDLE, _: *mut Self::Raw) -> BOOL = {winapi::um::tlhelp32::Module32NextW as unsafe extern "system" fn(*mut winapi::ctypes::c_void, *mut <ModuleEntry as TagTl32>::Raw) -> i32}
const ITER_NEXT: unsafe extern "system" fn(_: HANDLE, _: *mut Self::Raw) -> BOOL = {winapi::um::tlhelp32::Module32NextW as unsafe extern "system" fn(*mut winapi::ctypes::c_void, *mut <ModuleEntry as TagTl32>::Raw) -> i32}
The
*32Next
windows functionimpl Send for ModuleEntry
impl Sync for ModuleEntry
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more