21 lines
563 B
C
21 lines
563 B
C
// Public NTLite dirent ABI declarations shared between kernel, drivers, and user mode.
|
|
|
|
#pragma once
|
|
// dirent.h - directory entry returned by SysReadDir.
|
|
|
|
#include <stdint.h>
|
|
#include <ntlite/time.h>
|
|
|
|
#define SYS_DIR_NAME_MAX 260
|
|
|
|
// Attribute flags match FAT32/Win32: 0x10 directory, 0x20 archive/file.
|
|
typedef struct SYS_DIR_ENTRY {
|
|
char Name[SYS_DIR_NAME_MAX];
|
|
uint8_t Attr;
|
|
uint8_t Reserved0[3];
|
|
uint32_t FileSize;
|
|
SYS_SYSTEM_TIME CreateTime;
|
|
SYS_SYSTEM_TIME LastAccessTime;
|
|
SYS_SYSTEM_TIME LastWriteTime;
|
|
} SYS_DIR_ENTRY;
|