Struct owlyshield_ransom::driver_com::shared_def::CDriverMsg[][src]

#[repr(C)]
pub struct CDriverMsg { pub extension: [wchar_t; 12], pub file_id: FILE_ID_INFO, pub mem_sized_used: c_ulonglong, pub entropy: f64, pub pid: c_ulong, pub irp_op: c_uchar, pub is_entropy_calc: u8, pub file_change: c_uchar, pub file_location_info: c_uchar, pub filepath: UnicodeString, pub gid: c_ulonglong, pub next: *const CDriverMsg, }
Expand description

The C object returned by the minifilter, available through ReplyIrp. It is low level and use C pointers logic which is not always compatible with RUST (in particular the lifetime of *next). That’s why we convert it asap to a plain Rust IOMessage object. next is null (0x0) when there is no IOMessage remaining

Fields

extension: [wchar_t; 12]file_id: FILE_ID_INFOmem_sized_used: c_ulonglongentropy: f64pid: c_ulongirp_op: c_ucharis_entropy_calc: u8file_change: c_ucharfile_location_info: c_ucharfilepath: UnicodeStringgid: c_ulonglongnext: *const CDriverMsg

null (0x0) when there is no IOMessage remaining

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.