cosmopolitan/libc/nt/struct/importobjectheader.internal.h
Justine Tunney fa20edc44d
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00

21 lines
499 B
C

#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMPORTOBJECTHEADER_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMPORTOBJECTHEADER_H_
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 /* COSMOPOLITAN_LIBC_NT_STRUCT_IMPORTOBJECTHEADER_H_ */