mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-02 18:52:29 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
23
libc/nt/struct/importobjectheader.h
Normal file
23
libc/nt/struct/importobjectheader.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMPORTOBJECTHEADER_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMPORTOBJECTHEADER_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
struct NtImportObjectHeader {
|
||||
/* TODO(jart): No bitfields. */
|
||||
uint16_t Sig1;
|
||||
uint16_t Sig2;
|
||||
uint16_t Version;
|
||||
uint16_t Machine;
|
||||
uint32_t TimeDateStamp;
|
||||
uint32_t SizeOfData;
|
||||
union {
|
||||
uint16_t Ordinal;
|
||||
uint16_t Hint;
|
||||
};
|
||||
uint16_t Type : 2;
|
||||
uint16_t NameType : 3;
|
||||
uint16_t Reserved : 11;
|
||||
};
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_IMPORTOBJECTHEADER_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue