📄 structs.h
字号:
byte AndXReserved;
uint16 AndXOffset;
uint16 Remaining;
uint16 DataCompactionMode;
uint16 CdiLength;
uint16 Reserved;
uint16 DataLength;
uint16 DataOffset;
uint16 Reserved2;
uint16 DataLengthHigh;
uint32 Reserved3[2];
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_OPEN_ANDX {
byte WordCount;
byte AndXCommand;
byte AndXReserved;
uint16 AndXOffset;
uint16 Flags;
uint16 DesiredAccess;
uint16 SearchAttributes;
uint16 FileAttributes;
uint32 CreationTimeInSeconds;
uint16 OpenFunction;
uint32 AllocationSize;
uint32 Timeout;
uint32 Reserved;
uint16 ByteCount;
byte Buffer[1];
};
struct _MMSUPPORT_FLAGS {
ULONG SessionSpace : 1;
ULONG BeingTrimmed : 1;
ULONG ProcessInSession : 1;
ULONG SessionLeader : 1;
ULONG TrimHard : 1;
ULONG WorkingSetHard : 1;
ULONG WriteWatch : 1;
ULONG Filler : 25;
};
struct _SHARE_ACCESS {
uint32 OpenCount;
uint32 Readers;
uint32 Writers;
uint32 Deleters;
uint32 SharedRead;
uint32 SharedWrite;
uint32 SharedDelete;
};
struct _RESP_WRITE_RAW_INTERIM {
byte WordCount;
uint16 Remaining;
uint16 ByteCount;
byte Buffer[1];
};
struct _HANDLE_TABLE_ENTRY {
void *Object;
uint32 ObAttributes;
uint32 GrantedAccess;
uint16 GrantedAccessIndex;
uint16 CreatorBackTraceIndex;
int32 NextFreeTableEntry;
};
struct _RESP_EXTENDED_OPEN_ANDX {
byte WordCount;
byte AndXCommand;
byte AndXReserved;
uint16 AndXOffset;
uint16 Fid;
uint16 FileAttributes;
uint32 LastWriteTimeInSeconds;
uint32 DataSize;
uint16 GrantedAccess;
uint16 FileType;
uint16 DeviceState;
uint16 Action;
uint32 ServerFid;
uint16 Reserved;
uint32 MaximalAccessRights;
uint32 GuestMaximalAccessRights;
uint16 ByteCount;
byte Buffer[1];
};
struct HAL_DISPATCH {
uint32 Version;
function *HalQuerySystemInformation;
function *HalSetSystemInformation;
function *HalQueryBusSlots;
uint32 Spare1;
function *HalExamineMBR;
function *HalIoAssignDriveLetters;
function *HalIoReadPartitionTable;
function *HalIoSetPartitionInformation;
function *HalIoWritePartitionTable;
function *HalReferenceHandlerForBus;
function *HalReferenceBusHandler;
function *HalDereferenceBusHandler;
function *HalInitPnpDriver;
function *HalInitPowerManagement;
function *HalGetDmaAdapter;
function *HalGetInterruptTranslator;
};
struct _SID_IDENTIFIER_AUTHORITY {
byte Value[6];
};
struct _RESP_CREATE {
byte WordCount;
uint16 Fid;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_READ_ANDX {
byte WordCount;
byte AndXCommand;
byte AndXReserved;
uint16 AndXOffset;
uint16 Fid;
uint32 Offset;
uint16 MaxCount;
uint16 MinCount;
uint32 Timeout;
uint16 Remaining;
uint16 ByteCount;
byte Buffer[1];
};
struct _CM_DISK_GEOMETRY_DEVICE_DATA {
uint32 BytesPerSector;
uint32 NumberOfCylinders;
uint32 SectorsPerTrack;
uint32 NumberOfHeads;
};
struct _IO_CLIENT_EXTENSION {
struct _IO_CLIENT_EXTENSION *NextExtension;
void *ClientIdentificationAddress;
};
struct _REQ_TRANSACTION_SECONDARY {
byte WordCount;
uint16 TotalParameterCount;
uint16 TotalDataCount;
uint16 ParameterCount;
uint16 ParameterOffset;
uint16 ParameterDisplacement;
uint16 DataCount;
uint16 DataOffset;
uint16 DataDisplacement;
uint16 ByteCount;
byte Buffer[1];
};
struct _RESP_READ {
byte WordCount;
uint16 Count;
uint16 Reserved[4];
uint16 ByteCount;
byte BufferFormat;
uint16 DataLength;
uint32 Buffer[1];
};
struct _RESP_WRITE_MPX_DATAGRAM {
byte WordCount;
uint32 Mask;
uint16 ByteCount;
byte Buffer[1];
};
struct _KEY_VALUE_FULL_INFORMATION {
uint32 TitleIndex;
uint32 Type;
uint32 DataOffset;
uint32 DataLength;
uint32 NameLength;
uint16 Name[1];
};
struct _DEVICE_FLAGS {
ULONG Failed : 1;
ULONG ReadOnly : 1;
ULONG Removable : 1;
ULONG ConsoleIn : 1;
ULONG ConsoleOut : 1;
ULONG Input : 1;
ULONG Output : 1;
};
struct _REQ_SESSION_SETUP_ANDX {
byte WordCount;
byte AndXCommand;
byte AndXReserved;
uint16 AndXOffset;
uint16 MaxBufferSize;
uint16 MaxMpxCount;
uint16 VcNumber;
uint32 SessionKey;
uint16 PasswordLength;
uint32 Reserved;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_WRITE_MPX {
byte WordCount;
uint16 Fid;
uint16 Count;
uint16 Reserved;
uint32 Offset;
uint32 Timeout;
uint16 WriteMode;
uint16 DataCompactionMode;
uint16 Reserved2;
uint32 Mask;
uint16 DataLength;
uint16 DataOffset;
uint16 ByteCount;
byte Buffer[1];
};
struct _EXCEPTION_REGISTRATION_RECORD {
struct _EXCEPTION_REGISTRATION_RECORD *Next;
function *Handler;
};
struct _GENERIC_MAPPING {
uint32 GenericRead;
uint32 GenericWrite;
uint32 GenericExecute;
uint32 GenericAll;
};
struct _REQ_NT_READ_RAW {
byte WordCount;
uint16 Fid;
uint32 Offset;
uint16 MaxCount;
uint16 MinCount;
uint32 Timeout;
uint16 Reserved;
uint32 OffsetHigh;
uint16 ByteCount;
byte Buffer[1];
};
struct _RESP_SEARCH {
byte WordCount;
uint16 Count;
uint16 ByteCount;
byte Buffer[1];
};
struct _PS_IMPERSONATION_INFORMATION {
void *Token;
byte CopyOnOpen;
byte EffectiveOnly;
int32 ImpersonationLevel;
};
struct _KEY_BASIC_INFORMATION {
union _LARGE_INTEGER LastWriteTime;
uint32 TitleIndex;
uint32 NameLength;
uint16 Name[1];
};
struct _RESP_TRANSACTION_INTERIM {
byte WordCount;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_GET_PRINT_QUEUE {
byte WordCount;
uint16 MaxCount;
uint16 StartIndex;
uint16 ByteCount;
byte Buffer[1];
};
struct _HAL_PROFILE_SOURCE_INTERVAL {
int32 Source;
uint32 Interval;
};
struct _REQ_CREATE_TEMPORARY {
byte WordCount;
uint16 FileAttributes;
uint32 CreationTimeInSeconds;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_RENAME {
byte WordCount;
uint16 SearchAttributes;
uint16 ByteCount;
byte Buffer[1];
};
struct _RESP_NT_CANCEL {
byte WordCount;
uint16 ByteCount;
byte Buffer[1];
};
struct _RESP_FIND_CLOSE2 {
byte WordCount;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_COPY {
byte WordCount;
uint16 Tid2;
uint16 OpenFunction;
uint16 Flags;
uint16 ByteCount;
byte Buffer[1];
};
struct _SECURITY_QUALITY_OF_SERVICE {
uint32 Length;
int32 ImpersonationLevel;
byte ContextTrackingMode;
byte EffectiveOnly;
};
struct _PCI_SLOT_NUMBER {
union {
struct {
ULONG DeviceNumber : 5;
ULONG FunctionNumber : 3;
ULONG Reserved : 24;
} bits;
uint32 AsULONG;
} u;
};
struct _KEY_WRITE_TIME_INFORMATION {
union _LARGE_INTEGER LastWriteTime;
};
struct _RESP_SEND_MESSAGE {
byte WordCount;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_SEND_TEXT_MB_MESSAGE {
byte WordCount;
uint16 MessageGroupId;
uint16 ByteCount;
byte Buffer[1];
};
struct _MCA_DRIVER_INFO {
function *ExceptionCallback;
function *DpcCallback;
void *DeviceContext;
};
struct _VPB {
int16 Type;
int16 Size;
uint16 Flags;
uint16 VolumeLabelLength;
struct _DEVICE_OBJECT *DeviceObject;
struct _DEVICE_OBJECT *RealDevice;
uint32 SerialNumber;
uint32 ReferenceCount;
uint16 VolumeLabel[32];
};
struct _RESP_READ_MPX {
byte WordCount;
uint32 Offset;
uint16 Count;
uint16 Remaining;
uint16 DataCompactionMode;
uint16 Reserved;
uint16 DataLength;
uint16 DataOffset;
uint16 ByteCount;
byte Buffer[1];
};
struct _RESP_SET_INFORMATION {
byte WordCount;
uint16 ByteCount;
byte Buffer[1];
};
struct _SECURITY_SUBJECT_CONTEXT {
void *ClientToken;
int32 ImpersonationLevel;
void *PrimaryToken;
void *ProcessAuditId;
};
struct _RESP_OPEN {
byte WordCount;
uint16 Fid;
uint16 FileAttributes;
uint32 LastWriteTimeInSeconds;
uint32 DataSize;
uint16 GrantedAccess;
uint16 ByteCount;
byte Buffer[1];
};
struct _RESP_IOCTL_INTERIM {
byte WordCount;
uint16 ByteCount;
byte Buffer[1];
};
struct _RESP_CHECK_DIRECTORY {
byte WordCount;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_QUERY_INFORMATION_DISK {
byte WordCount;
uint16 ByteCount;
byte Buffer[1];
};
struct _KTRAP_FRAME {
uint32 DbgEbp;
uint32 DbgEip;
uint32 DbgArgMark;
uint32 DbgArgPointer;
uint32 TempSegCs;
uint32 TempEsp;
uint32 Dr0;
uint32 Dr1;
uint32 Dr2;
uint32 Dr3;
uint32 Dr6;
uint32 Dr7;
uint32 SegGs;
uint32 SegEs;
uint32 SegDs;
uint32 Edx;
uint32 Ecx;
uint32 Eax;
uint32 PreviousPreviousMode;
struct _EXCEPTION_REGISTRATION_RECORD *ExceptionList;
uint32 SegFs;
uint32 Edi;
uint32 Esi;
uint32 Ebx;
uint32 Ebp;
uint32 ErrCode;
uint32 Eip;
uint32 SegCs;
uint32 EFlags;
uint32 HardwareEsp;
uint32 HardwareSegSs;
uint32 V86Es;
uint32 V86Ds;
uint32 V86Fs;
uint32 V86Gs;
};
struct _REQ_WRITE_MPX_SECONDARY {
byte WordCount;
uint16 Fid;
uint16 Count;
uint32 Offset;
uint32 Reserved;
uint16 DataLength;
uint16 DataOffset;
uint16 ByteCount;
byte Buffer[1];
};
struct _SINGLE_LIST_ENTRY {
struct _SINGLE_LIST_ENTRY *Next;
};
struct _REQ_NT_CANCEL {
byte WordCount;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_SEEK {
byte WordCount;
uint16 Fid;
uint16 Mode;
uint32 Offset;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_LOCK_BYTE_RANGE {
byte WordCount;
uint16 Fid;
uint32 Count;
uint32 Offset;
uint16 ByteCount;
byte Buffer[1];
};
struct _HAL_PROCESSOR_SPEED_INFO {
uint32 TBD;
};
struct _RESP_WRITE_RAW_SECONDARY {
byte WordCount;
uint16 Count;
uint16 ByteCount;
byte Buffer[1];
};
struct _RESP_SESSION_SETUP_ANDX {
byte WordCount;
byte AndXCommand;
byte AndXReserved;
uint16 AndXOffset;
uint16 Action;
uint16 ByteCount;
byte Buffer[1];
};
struct _RESP_NT_CREATE_ANDX {
byte WordCount;
byte AndXCommand;
byte AndXReserved;
uint16 AndXOffset;
byte OplockLevel;
uint16 Fid;
uint32 CreateAction;
union _LARGE_INTEGER CreationTime;
union _LARGE_INTEGER LastAccessTime;
union _LARGE_INTEGER LastWriteTime;
union _LARGE_INTEGER ChangeTime;
uint32 FileAttributes;
union _LARGE_INTEGER AllocationSize;
union _LARGE_INTEGER EndOfFile;
uint16 FileType;
uint16 DeviceState;
uint16 FileStatusFlags;
byte Directory;
uint16 ByteCount;
byte Buffer[1];
};
struct _REQ_WRITE_AND_CLOSE {
byte WordCount;
uint16 Fid;
uint16 Count;
uint32 Offset;
uint32 LastWriteTimeInSeconds;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -