mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
fa20edc44d
- 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
23 lines
557 B
C
23 lines
557 B
C
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDIRECTORYENTRY_H_
|
|
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDIRECTORYENTRY_H_
|
|
|
|
struct NtImageResourceDirectoryEntry {
|
|
/* TODO(jart): No bitfields. */
|
|
union {
|
|
struct {
|
|
uint32_t NameOffset : 31;
|
|
uint32_t NameIsString : 1;
|
|
};
|
|
uint32_t Name;
|
|
uint16_t Id;
|
|
};
|
|
union {
|
|
uint32_t OffsetToData;
|
|
struct {
|
|
uint32_t OffsetToDirectory : 31;
|
|
uint32_t DataIsDirectory : 1;
|
|
};
|
|
};
|
|
};
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDIRECTORYENTRY_H_ */
|