Partially implemented (handlers only)
authorEmanuele Aliberti <ea@iol.it>
Tue, 25 Apr 2000 23:22:57 +0000 (23:22 +0000)
committerEmanuele Aliberti <ea@iol.it>
Tue, 25 Apr 2000 23:22:57 +0000 (23:22 +0000)
commitb3ea65f0e49df49e14ab2365626b433640e0363e
tree94870a12744f3c3d7274c3f91d5b6d40044d7e1b
parent0c4a5f1e064a6754c64c8a43051315f70bd20f08
Partially implemented (handlers only)
NTOSKRNL.NtQuerySystemInformation() and
NTOSKRNL.NtSetSystemInformation().

---

Partially implemented (kernel32/process/proc.c)

KERNEL32.GetPriorityClass(),
KERNEL32.SetPriorityClass() and
NTDLL.CsrSetPriorityClass() (stub only).

Renamed (in include/csrss/csrss.h) priority
class macros:

#define CSR_PRIORITY_CLASS_NORMAL (0x10)
#define CSR_PRIORITY_CLASS_IDLE (0x20)
#define CSR_PRIORITY_CLASS_HIGH (0x40)
#define CSR_PRIORITY_CLASS_REALTIME (0x80)

---

Implemented (kernel32/misc/error.c)

#include <kernel32/error.h>

DWORD
STDCALL
SetLastErrorByStatus (
NTSTATUS Status
);

to replace SetLastError(RtlNtStatusToDosError(Status))
in KERNEL32, and fixed

KERNEL32.SetLastError()
KERNEL32.GetLastError()

to use the field in NT_TEB (LastError is per thread
not per process).

---

Implemented (lib/kernel32/sysinfo.c) GetSystemInfo()
(to be completed).

---

Fixed rosapps/sysutils/makefile to use ROS import
libraries.

---

Added QSI to the system utilities set. The target is
writing a tool that can be used to query as much system
information as possible from user mode (to be finished
and tested only under nt4sp4/x86; it was NOT tested
under ROS: it crashes immediately and needs
NtQuerySystemInformation implemented!).

svn path=/trunk/; revision=1137
26 files changed:
reactos/apps/tests/lpc/conport.c
reactos/include/csrss/csrss.h
reactos/include/ddk/defines.h
reactos/include/ddk/zw.h
reactos/include/ddk/zwtypes.h
reactos/include/fmifs.h
reactos/include/internal/ps.h
reactos/include/kernel32/error.h [new file with mode: 0644]
reactos/include/ntdll/csr.h
reactos/lib/fmifs/dllmain.c
reactos/lib/kernel32/makefile
reactos/lib/kernel32/misc/error.c
reactos/lib/kernel32/misc/stubs.c
reactos/lib/kernel32/misc/sysinfo.c [new file with mode: 0644]
reactos/lib/kernel32/process/proc.c
reactos/lib/kernel32/synch/critical.c
reactos/lib/ntdll/csr/api.c
reactos/lib/ntdll/def/ntdll.def
reactos/lib/ntdll/def/ntdll.edf
reactos/ntoskrnl/ex/sysinfo.c
reactos/ntoskrnl/ex/time.c
rosapps/rules.mak
rosapps/sysutils/chkdsk.c
rosapps/sysutils/makefile
rosapps/sysutils/qsi.c [new file with mode: 0644]
rosapps/sysutils/shutdown.c