#[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

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 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.