- added annotation to TEB definition

- new DbgUi* APIs added in NT 5.1
 - implemented RtlExitThread
 - added definition of various ACE_* structures

svn path=/trunk/; revision=4462
This commit is contained in:
KJK::Hyperion 2003-03-31 22:30:49 +00:00
parent 647129da1f
commit 279e7acf18
4 changed files with 71 additions and 6 deletions

View file

@ -220,7 +220,7 @@ typedef struct _TEB
PVOID Instrumentation[0x10]; // F2Ch
PVOID WinSockData; // F6Ch
ULONG GdiBatchCount; // F70h
ULONG Spare2; // F74h
ULONG Spare2; // F74h // NOTE: RtlExitUserThread writes something here
ULONG Spare3; // F78h
ULONG Spare4; // F7Ch
PVOID ReservedForOle; // F80h

View file

@ -1,4 +1,4 @@
/* $Id: dbg.h,v 1.2 2000/05/25 15:50:21 ekohl Exp $
/* $Id: dbg.h,v 1.3 2003/03/31 22:30:48 hyperion Exp $
*
*/
@ -34,6 +34,10 @@ DbgUiWaitStateChange (
ULONG Unknown2
);
NTSTATUS STDCALL DbgUiRemoteBreakin(VOID);
NTSTATUS STDCALL DbgUiIssueRemoteBreakin(HANDLE Process);
#endif /* __INCLUDE_NTDLL_DBG_H */
/* EOF */

View file

@ -1,4 +1,4 @@
/* $Id: rtl.h,v 1.36 2002/11/14 18:21:03 chorns Exp $
/* $Id: rtl.h,v 1.37 2003/03/31 22:30:48 hyperion Exp $
*
*/
@ -339,6 +339,8 @@ RtlCreateUserThread (
IN OUT PCLIENT_ID ClientId
);
NTSTATUS STDCALL RtlExitUserThread(NTSTATUS Status);
NTSTATUS
STDCALL
RtlFreeUserThreadStack (

View file

@ -4021,11 +4021,70 @@ typedef struct tagSTYLESTRUCT {
DWORD styleNew;
} STYLESTRUCT, * LPSTYLESTRUCT;
typedef struct _ACCESS_ALLOWED_ACE {
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD SidStart;
} ACCESS_ALLOWED_ACE;
typedef ACCESS_ALLOWED_ACE *PACCESS_ALLOWED_ACE;
typedef struct _ACCESS_DENIED_ACE {
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD SidStart;
} ACCESS_DENIED_ACE;
typedef ACCESS_DENIED_ACE *PACCESS_DENIED_ACE;
typedef struct _SYSTEM_AUDIT_ACE {
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD SidStart;
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD SidStart;
} SYSTEM_AUDIT_ACE;
typedef SYSTEM_AUDIT_ACE *PSYSTEM_AUDIT_ACE;
typedef struct _SYSTEM_ALARM_ACE {
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD SidStart;
} SYSTEM_ALARM_ACE;
typedef SYSTEM_ALARM_ACE *PSYSTEM_ALARM_ACE;
typedef struct _ACCESS_ALLOWED_OBJECT_ACE {
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD Flags;
GUID ObjectType;
GUID InheritedObjectType;
DWORD SidStart;
} ACCESS_ALLOWED_OBJECT_ACE, *PACCESS_ALLOWED_OBJECT_ACE;
typedef struct _ACCESS_DENIED_OBJECT_ACE {
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD Flags;
GUID ObjectType;
GUID InheritedObjectType;
DWORD SidStart;
} ACCESS_DENIED_OBJECT_ACE, *PACCESS_DENIED_OBJECT_ACE;
typedef struct _SYSTEM_AUDIT_OBJECT_ACE {
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD Flags;
GUID ObjectType;
GUID InheritedObjectType;
DWORD SidStart;
} SYSTEM_AUDIT_OBJECT_ACE, *PSYSTEM_AUDIT_OBJECT_ACE;
typedef struct _SYSTEM_ALARM_OBJECT_ACE {
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD Flags;
GUID ObjectType;
GUID InheritedObjectType;
DWORD SidStart;
} SYSTEM_ALARM_OBJECT_ACE, *PSYSTEM_ALARM_OBJECT_ACE;
typedef struct _SYSTEM_INFO
{