[][src]Struct object::pe::ImageOs2Header

#[repr(C)]pub struct ImageOs2Header {
    pub ne_magic: U16<LE>,
    pub ne_ver: i8,
    pub ne_rev: i8,
    pub ne_enttab: U16<LE>,
    pub ne_cbenttab: U16<LE>,
    pub ne_crc: I32<LE>,
    pub ne_flags: U16<LE>,
    pub ne_autodata: U16<LE>,
    pub ne_heap: U16<LE>,
    pub ne_stack: U16<LE>,
    pub ne_csip: I32<LE>,
    pub ne_sssp: I32<LE>,
    pub ne_cseg: U16<LE>,
    pub ne_cmod: U16<LE>,
    pub ne_cbnrestab: U16<LE>,
    pub ne_segtab: U16<LE>,
    pub ne_rsrctab: U16<LE>,
    pub ne_restab: U16<LE>,
    pub ne_modtab: U16<LE>,
    pub ne_imptab: U16<LE>,
    pub ne_nrestab: I32<LE>,
    pub ne_cmovent: U16<LE>,
    pub ne_align: U16<LE>,
    pub ne_cres: U16<LE>,
    pub ne_exetyp: u8,
    pub ne_flagsothers: u8,
    pub ne_pretthunks: U16<LE>,
    pub ne_psegrefbytes: U16<LE>,
    pub ne_swaparea: U16<LE>,
    pub ne_expver: U16<LE>,
}

OS/2 .EXE header

Fields

ne_magic: U16<LE>

Magic number

ne_ver: i8

Version number

ne_rev: i8

Revision number

ne_enttab: U16<LE>

Offset of Entry Table

ne_cbenttab: U16<LE>

Number of bytes in Entry Table

ne_crc: I32<LE>

Checksum of whole file

ne_flags: U16<LE>

Flag word

ne_autodata: U16<LE>

Automatic data segment number

ne_heap: U16<LE>

Initial heap allocation

ne_stack: U16<LE>

Initial stack allocation

ne_csip: I32<LE>

Initial CS:IP setting

ne_sssp: I32<LE>

Initial SS:SP setting

ne_cseg: U16<LE>

Count of file segments

ne_cmod: U16<LE>

Entries in Module Reference Table

ne_cbnrestab: U16<LE>

Size of non-resident name table

ne_segtab: U16<LE>

Offset of Segment Table

ne_rsrctab: U16<LE>

Offset of Resource Table

ne_restab: U16<LE>

Offset of resident name table

ne_modtab: U16<LE>

Offset of Module Reference Table

ne_imptab: U16<LE>

Offset of Imported Names Table

ne_nrestab: I32<LE>

Offset of Non-resident Names Table

ne_cmovent: U16<LE>

Count of movable entries

ne_align: U16<LE>

Segment alignment shift count

ne_cres: U16<LE>

Count of resource segments

ne_exetyp: u8

Target Operating system

ne_flagsothers: u8

Other .EXE flags

ne_pretthunks: U16<LE>

offset to return thunks

ne_psegrefbytes: U16<LE>

offset to segment ref. bytes

ne_swaparea: U16<LE>

Minimum code swap area size

ne_expver: U16<LE>

Expected Windows version number

Trait Implementations

impl Clone for ImageOs2Header[src]

impl Copy for ImageOs2Header[src]

impl Debug for ImageOs2Header[src]

impl Pod for ImageOs2Header[src]

Auto Trait Implementations

impl Send for ImageOs2Header

impl Sync for ImageOs2Header

impl Unpin for ImageOs2Header

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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.