Struct object::pe::ImageVxdHeader

source ·
#[repr(C)]
pub struct ImageVxdHeader {
Show 51 fields pub e32_magic: U16<LE>, pub e32_border: u8, pub e32_worder: u8, pub e32_level: U32<LE>, pub e32_cpu: U16<LE>, pub e32_os: U16<LE>, pub e32_ver: U32<LE>, pub e32_mflags: U32<LE>, pub e32_mpages: U32<LE>, pub e32_startobj: U32<LE>, pub e32_eip: U32<LE>, pub e32_stackobj: U32<LE>, pub e32_esp: U32<LE>, pub e32_pagesize: U32<LE>, pub e32_lastpagesize: U32<LE>, pub e32_fixupsize: U32<LE>, pub e32_fixupsum: U32<LE>, pub e32_ldrsize: U32<LE>, pub e32_ldrsum: U32<LE>, pub e32_objtab: U32<LE>, pub e32_objcnt: U32<LE>, pub e32_objmap: U32<LE>, pub e32_itermap: U32<LE>, pub e32_rsrctab: U32<LE>, pub e32_rsrccnt: U32<LE>, pub e32_restab: U32<LE>, pub e32_enttab: U32<LE>, pub e32_dirtab: U32<LE>, pub e32_dircnt: U32<LE>, pub e32_fpagetab: U32<LE>, pub e32_frectab: U32<LE>, pub e32_impmod: U32<LE>, pub e32_impmodcnt: U32<LE>, pub e32_impproc: U32<LE>, pub e32_pagesum: U32<LE>, pub e32_datapage: U32<LE>, pub e32_preload: U32<LE>, pub e32_nrestab: U32<LE>, pub e32_cbnrestab: U32<LE>, pub e32_nressum: U32<LE>, pub e32_autodata: U32<LE>, pub e32_debuginfo: U32<LE>, pub e32_debuglen: U32<LE>, pub e32_instpreload: U32<LE>, pub e32_instdemand: U32<LE>, pub e32_heapsize: U32<LE>, pub e32_res3: [u8; 12], pub e32_winresoff: U32<LE>, pub e32_winreslen: U32<LE>, pub e32_devid: U16<LE>, pub e32_ddkver: U16<LE>,
}
Expand description

Windows VXD header

Fields§

§e32_magic: U16<LE>

Magic number

§e32_border: u8

The byte ordering for the VXD

§e32_worder: u8

The word ordering for the VXD

§e32_level: U32<LE>

The EXE format level for now = 0

§e32_cpu: U16<LE>

The CPU type

§e32_os: U16<LE>

The OS type

§e32_ver: U32<LE>

Module version

§e32_mflags: U32<LE>

Module flags

§e32_mpages: U32<LE>

Module # pages

§e32_startobj: U32<LE>

Object # for instruction pointer

§e32_eip: U32<LE>

Extended instruction pointer

§e32_stackobj: U32<LE>

Object # for stack pointer

§e32_esp: U32<LE>

Extended stack pointer

§e32_pagesize: U32<LE>

VXD page size

§e32_lastpagesize: U32<LE>

Last page size in VXD

§e32_fixupsize: U32<LE>

Fixup section size

§e32_fixupsum: U32<LE>

Fixup section checksum

§e32_ldrsize: U32<LE>

Loader section size

§e32_ldrsum: U32<LE>

Loader section checksum

§e32_objtab: U32<LE>

Object table offset

§e32_objcnt: U32<LE>

Number of objects in module

§e32_objmap: U32<LE>

Object page map offset

§e32_itermap: U32<LE>

Object iterated data map offset

§e32_rsrctab: U32<LE>

Offset of Resource Table

§e32_rsrccnt: U32<LE>

Number of resource entries

§e32_restab: U32<LE>

Offset of resident name table

§e32_enttab: U32<LE>

Offset of Entry Table

§e32_dirtab: U32<LE>

Offset of Module Directive Table

§e32_dircnt: U32<LE>

Number of module directives

§e32_fpagetab: U32<LE>

Offset of Fixup Page Table

§e32_frectab: U32<LE>

Offset of Fixup Record Table

§e32_impmod: U32<LE>

Offset of Import Module Name Table

§e32_impmodcnt: U32<LE>

Number of entries in Import Module Name Table

§e32_impproc: U32<LE>

Offset of Import Procedure Name Table

§e32_pagesum: U32<LE>

Offset of Per-Page Checksum Table

§e32_datapage: U32<LE>

Offset of Enumerated Data Pages

§e32_preload: U32<LE>

Number of preload pages

§e32_nrestab: U32<LE>

Offset of Non-resident Names Table

§e32_cbnrestab: U32<LE>

Size of Non-resident Name Table

§e32_nressum: U32<LE>

Non-resident Name Table Checksum

§e32_autodata: U32<LE>

Object # for automatic data object

§e32_debuginfo: U32<LE>

Offset of the debugging information

§e32_debuglen: U32<LE>

The length of the debugging info. in bytes

§e32_instpreload: U32<LE>

Number of instance pages in preload section of VXD file

§e32_instdemand: U32<LE>

Number of instance pages in demand load section of VXD file

§e32_heapsize: U32<LE>

Size of heap - for 16-bit apps

§e32_res3: [u8; 12]

Reserved words

§e32_winresoff: U32<LE>§e32_winreslen: U32<LE>§e32_devid: U16<LE>

Device ID for VxD

§e32_ddkver: U16<LE>

DDK version for VxD

Trait Implementations§

source§

impl Clone for ImageVxdHeader

source§

fn clone(&self) -> ImageVxdHeader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ImageVxdHeader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ImageVxdHeader

source§

impl Pod for ImageVxdHeader

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.