From 6ac1592420a7f018c7d83d8d7601aca5ca37f99d Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Sat, 17 Jul 1999 23:10:31 +0000 Subject: [PATCH] fixes svn path=/trunk/; revision=595 --- reactos/apps/tests/lpc/conport.c | 4 +- reactos/apps/tests/lpc/creport.c | 4 +- reactos/apps/tests/lpc/dumpinfo.c | 50 +- reactos/apps/tests/lpc/dumpinfo.h | 4 +- reactos/apps/tests/lpc/makefile | 7 +- reactos/include/ddk/ccfuncs.h | 1 + reactos/include/ddk/defines.h | 5 + reactos/include/ddk/iofuncs.h | 745 +++++++---- reactos/include/ddk/ntifs.h | 1499 --------------------- reactos/include/ddk/rtl.h | 860 +++++++++--- reactos/include/ddk/zw.h | 540 +++++--- reactos/include/reactos/resource.h | 4 +- reactos/lib/advapi32/advapi32.def | 804 ++++++------ reactos/lib/advapi32/advapi32.edf | 411 ++++++ reactos/lib/advapi32/makefile | 7 +- reactos/lib/advapi32/misc/shutdown.c | 4 +- reactos/lib/advapi32/reg/reg.c | 408 +----- reactos/lib/fmifs/fmifs.def | 23 +- reactos/lib/fmifs/fmifs.edf | 23 + reactos/lib/fmifs/makefile | 11 +- reactos/lib/gdi32/gdi32.def | 668 +++++----- reactos/lib/gdi32/gdi32.edf | 342 +++++ reactos/lib/gdi32/makefile | 5 +- reactos/lib/kernel32/kernel32.def | 1102 +++++++--------- reactos/lib/kernel32/kernel32.edf | 671 ++++++++++ reactos/lib/kernel32/makefile | 7 +- reactos/lib/kernel32/misc/atom.c | 53 +- reactos/lib/kernel32/misc/stubs.c | 1733 +++++++++++++------------ reactos/lib/ntdll/def/ntdll.def | 431 ------ reactos/lib/ntdll/def/ntdll.edf | 489 +++++++ reactos/lib/ntdll/ldr/utils.c | 5 +- reactos/lib/ntdll/makefile | 11 +- reactos/lib/ntdll/rtl/unicode.c | 12 +- reactos/lib/user32/makefile_rex | 7 +- reactos/lib/user32/user32.def | 1185 ++++++++--------- reactos/lib/user32/user32.edf | 562 ++++++++ reactos/makefile.dos | 142 ++ reactos/ntoskrnl/ldr/init.c | 927 +++++++------ reactos/ntoskrnl/ldr/loader.c | 84 +- reactos/ntoskrnl/ldr/pedump.c | 2 +- reactos/ntoskrnl/ldr/syspath.c | 90 ++ reactos/ntoskrnl/ldr/syspath.h | 6 + reactos/ntoskrnl/makefile_rex | 7 +- reactos/ntoskrnl/nt/misc.c | 10 +- reactos/ntoskrnl/nt/port.c | 75 +- reactos/ntoskrnl/ntoskrnl.def | 219 ++-- reactos/ntoskrnl/ntoskrnl.edf | 288 ++++ reactos/rules.mak | 14 +- reactos/services/lsass/init.c | 43 + reactos/services/lsass/lsasrv.def | 68 + reactos/services/lsass/lsass.c | 72 + reactos/services/lsass/lsass.rc | 38 + reactos/services/lsass/makefile | 36 + reactos/services/winlogon/init.c | 8 +- reactos/services/winlogon/winlogon.c | 54 +- reactos/subsys/csrss/api.h | 10 +- reactos/subsys/csrss/api/process.c | 14 +- reactos/subsys/csrss/csrss.c | 3 +- reactos/subsys/csrss/init.c | 205 ++- reactos/subsys/csrss/lpcstub.c | 3 +- reactos/subsys/psxss/api.c | 30 + reactos/subsys/psxss/api/process.c | 27 + reactos/subsys/psxss/init.c | 186 +++ reactos/subsys/psxss/makefile | 36 + reactos/subsys/psxss/psxss.c | 81 ++ reactos/subsys/psxss/psxss.rc | 38 + reactos/subsys/psxss/sbapi.c | 23 + reactos/subsys/win32k/objects/brush.c | 2 + reactos/subsys/win32k/win32k.def | 4 +- 69 files changed, 9043 insertions(+), 6499 deletions(-) delete mode 100644 reactos/include/ddk/ntifs.h create mode 100644 reactos/lib/advapi32/advapi32.edf create mode 100644 reactos/lib/fmifs/fmifs.edf create mode 100644 reactos/lib/gdi32/gdi32.edf create mode 100644 reactos/lib/kernel32/kernel32.edf create mode 100644 reactos/lib/ntdll/def/ntdll.edf create mode 100644 reactos/lib/user32/user32.edf create mode 100644 reactos/makefile.dos create mode 100644 reactos/ntoskrnl/ldr/syspath.c create mode 100644 reactos/ntoskrnl/ldr/syspath.h create mode 100644 reactos/ntoskrnl/ntoskrnl.edf create mode 100644 reactos/services/lsass/init.c create mode 100644 reactos/services/lsass/lsasrv.def create mode 100644 reactos/services/lsass/lsass.c create mode 100644 reactos/services/lsass/lsass.rc create mode 100644 reactos/services/lsass/makefile create mode 100644 reactos/subsys/psxss/api.c create mode 100644 reactos/subsys/psxss/api/process.c create mode 100644 reactos/subsys/psxss/init.c create mode 100644 reactos/subsys/psxss/makefile create mode 100644 reactos/subsys/psxss/psxss.c create mode 100644 reactos/subsys/psxss/psxss.rc create mode 100644 reactos/subsys/psxss/sbapi.c diff --git a/reactos/apps/tests/lpc/conport.c b/reactos/apps/tests/lpc/conport.c index 4f0b16355bd..b63845637a5 100644 --- a/reactos/apps/tests/lpc/conport.c +++ b/reactos/apps/tests/lpc/conport.c @@ -1,4 +1,4 @@ -/* $Id: conport.c,v 1.4 1999/07/04 22:04:31 ea Exp $ +/* $Id: conport.c,v 1.5 1999/07/17 23:10:12 ea Exp $ * * reactos/apps/lpc/conport.c * @@ -119,7 +119,7 @@ TryConnectPort(char *port_name) if (Status == STATUS_SUCCESS) { DumpInfo( - port_name_save, + Name, Status, "connected", Port diff --git a/reactos/apps/tests/lpc/creport.c b/reactos/apps/tests/lpc/creport.c index c90a6c99806..f0a3541a7aa 100644 --- a/reactos/apps/tests/lpc/creport.c +++ b/reactos/apps/tests/lpc/creport.c @@ -1,4 +1,4 @@ -/* $Id: creport.c,v 1.1 1999/07/04 22:04:31 ea Exp $ +/* $Id: creport.c,v 1.2 1999/07/17 23:10:12 ea Exp $ * * reactos/apps/lpc/creport.c * @@ -106,7 +106,7 @@ TryCreatePort(char *port_name) if (Status == STATUS_SUCCESS) { DumpInfo( - port_name_save, + Name, Status, "created", Port diff --git a/reactos/apps/tests/lpc/dumpinfo.c b/reactos/apps/tests/lpc/dumpinfo.c index c8fc9df61c1..fb338576460 100644 --- a/reactos/apps/tests/lpc/dumpinfo.c +++ b/reactos/apps/tests/lpc/dumpinfo.c @@ -1,4 +1,4 @@ -/* $Id: dumpinfo.c,v 1.1 1999/07/04 22:04:31 ea Exp $ +/* $Id: dumpinfo.c,v 1.2 1999/07/17 23:10:12 ea Exp $ * * reactos/apps/lpc/dumpinfo.c * @@ -11,6 +11,8 @@ * 19990704 (EA) * Added code to find the basic information buffer size * for the LPC port object. + * 19990710 (EA) + * */ #include #include @@ -31,6 +33,17 @@ NTSTATUS OUT PULONG ResultLength ); +extern +NTSTATUS +(STDCALL * QueryInformationPort)( + IN HANDLE PortHandle, + IN CINT PortInformationClass, /* guess */ + OUT PVOID PortInformation, /* guess */ + IN ULONG PortInformationLength, /* guess */ + OUT PULONG ReturnLength /* guess */ + ); + + /* static VOID @@ -56,16 +69,20 @@ DumpBuffer( VOID DumpInfo ( - LPCSTR Name, + LPCWSTR Name, NTSTATUS Status, - LPCSTR Comment, + LPCWSTR Comment, HANDLE Port ) { BYTE ObjectInformation [BUF_SIZE] = {0}; ULONG ResultLength; - printf("Port \"%s\" %s:\n",Name,Comment); + wprintf( + L"Port \"%s\" %s:\n", + Name, + Comment + ); printf("\tStatus = %08X\n",Status); printf("\tPort = %08X\n\n",Port); @@ -191,6 +208,31 @@ FIXME: why this always raise an access violation exception? { printf("\tStatus = %08X\n",Status); } +//--- + printf("Port Information:\n"); +/* Status = QueryInformationPort( + Port, + 1, /* info class * / + ObjectInformation, + sizeof ObjectInformation, + & ResultLength + ); + if (Status == STATUS_SUCCESS) + { + DWORD * i = ObjectInformation; + int j = 0; + + while (j < ResultLength / sizeof (DWORD)) + { + printf("\t%08X\n",i[j]); + ++j; + } + } + else + { + printf("\tStatus = %08X\n",Status); + } +*/ } diff --git a/reactos/apps/tests/lpc/dumpinfo.h b/reactos/apps/tests/lpc/dumpinfo.h index 7a62ccc0a70..51e78736e07 100644 --- a/reactos/apps/tests/lpc/dumpinfo.h +++ b/reactos/apps/tests/lpc/dumpinfo.h @@ -1,8 +1,8 @@ VOID DumpInfo ( - LPCSTR Name, + LPCWSTR Name, NTSTATUS Status, - LPCSTR Comment, + LPCWSTR Comment, HANDLE Port ); diff --git a/reactos/apps/tests/lpc/makefile b/reactos/apps/tests/lpc/makefile index ff510b50002..f840e6b347d 100644 --- a/reactos/apps/tests/lpc/makefile +++ b/reactos/apps/tests/lpc/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.2 1999/07/04 22:04:31 ea Exp $ +# $Id: makefile,v 1.3 1999/07/17 23:10:12 ea Exp $ # ReactOS Operating System # LPC test CC=gcc @@ -6,7 +6,7 @@ LD=ld CFLAGS=-I../../include -all: conport.exe creport.exe +all: conport.exe creport.exe simpless.exe conport.exe: conport.o dumpinfo.o $(CC) -o conport conport.o dumpinfo.o @@ -14,6 +14,9 @@ conport.exe: conport.o dumpinfo.o creport.exe: creport.o dumpinfo.o. $(CC) -o creport creport.o dumpinfo.o +simpless.exe: simpless.o dumpinfo.o. + $(CC) -o simpless simpless.o dumpinfo.o + %.o: %.c $(CC) $(CFLAGS) -c $< -o $@ diff --git a/reactos/include/ddk/ccfuncs.h b/reactos/include/ddk/ccfuncs.h index e69de29bb2d..8b137891791 100644 --- a/reactos/include/ddk/ccfuncs.h +++ b/reactos/include/ddk/ccfuncs.h @@ -0,0 +1 @@ + diff --git a/reactos/include/ddk/defines.h b/reactos/include/ddk/defines.h index e1aef366ed1..57f16dac9ca 100644 --- a/reactos/include/ddk/defines.h +++ b/reactos/include/ddk/defines.h @@ -1,3 +1,6 @@ +#ifndef _DDK_DEFINES_H +#define _DDK_DEFINES_H + /* GENERAL DEFINITIONS ****************************************************/ #include @@ -234,3 +237,5 @@ enum #define DISPATCH_LEVEL (3) #define FIRST_DEVICE_SPECIFIC_LEVEL (4) #define HIGH_LEVEL (FIRST_DEVICE_SPECIFIC_LEVEL + NR_DEVICE_SPECIFIC_LEVELS) + +#endif /* ndef _DDK_DEFINES_H */ diff --git a/reactos/include/ddk/iofuncs.h b/reactos/include/ddk/iofuncs.h index aca389d9370..dd7764973a6 100644 --- a/reactos/include/ddk/iofuncs.h +++ b/reactos/include/ddk/iofuncs.h @@ -1,8 +1,11 @@ /* IO MANAGER ***************************************************************/ -BOOLEAN IoRaiseInformationalHardError(NTSTATUS ErrorStatus, - PUNICODE_STRING String, - PKTHREAD Thread); +BOOLEAN +IoRaiseInformationalHardError ( + NTSTATUS ErrorStatus, + PUNICODE_STRING String, + PKTHREAD Thread + ); /* @@ -20,12 +23,19 @@ BOOLEAN IoRaiseInformationalHardError(NTSTATUS ErrorStatus, * ARGUMENTS: * Irpl = Variable to store the current IRQ level */ -VOID IoAcquireCancelSpinLock(PKIRQL Irpl); +VOID +IoAcquireCancelSpinLock ( + PKIRQL Irpl + ); -typedef IO_ALLOCATION_ACTION (*PDRIVER_CONTROL)(PDEVICE_OBJECT DeviceObject, - PIRP irp, - PVOID MapRegisterBase, - PVOID Context); +typedef +IO_ALLOCATION_ACTION +(*PDRIVER_CONTROL) ( + PDEVICE_OBJECT DeviceObject, + PIRP irp, + PVOID MapRegisterBase, + PVOID Context + ); /* * FUNCTION: Allocates an adaptor object for a DMA operation on the target @@ -40,11 +50,14 @@ typedef IO_ALLOCATION_ACTION (*PDRIVER_CONTROL)(PDEVICE_OBJECT DeviceObject, * execution routine * RETURNS: Success or failure code */ -NTSTATUS IoAllocateAdapterChannel(PADAPTER_OBJECT AdaperObject, - PDEVICE_OBJECT DeviceObject, - ULONG NumberOfMapRegisters, - PDRIVER_CONTROL ExecutionRoutine, - PVOID Context); +NTSTATUS +IoAllocateAdapterChannel ( + PADAPTER_OBJECT AdaperObject, + PDEVICE_OBJECT DeviceObject, + ULONG NumberOfMapRegisters, + PDRIVER_CONTROL ExecutionRoutine, + PVOID Context + ); /* * FUNCTION: Sets up a call to a driver supplied controller object as @@ -55,10 +68,13 @@ NTSTATUS IoAllocateAdapterChannel(PADAPTER_OBJECT AdaperObject, * ExecutionObject = Routine to be called * Context = Driver determined context to be based to the routine */ -VOID IoAllocateController(PCONTROLLER_OBJECT ControllerObject, - PDEVICE_OBJECT DeviceObject, - PDRIVER_CONTROL ExecutionRoutine, - PVOID Context); +VOID +IoAllocateController ( + PCONTROLLER_OBJECT ControllerObject, + PDEVICE_OBJECT DeviceObject, + PDRIVER_CONTROL ExecutionRoutine, + PVOID Context + ); /* * FUNCTION: Allocates an error log packet @@ -68,7 +84,11 @@ VOID IoAllocateController(PCONTROLLER_OBJECT ControllerObject, * RETURNS: On success a pointer to the allocated packet * On failure returns NULL */ -PVOID IoAllocateErrorLogEntry(PVOID IoObject, UCHAR EntrySize); +PVOID +IoAllocateErrorLogEntry ( + PVOID IoObject, + UCHAR EntrySize + ); /* * FUNCTION: Allocates an IRP @@ -78,7 +98,11 @@ PVOID IoAllocateErrorLogEntry(PVOID IoObject, UCHAR EntrySize); * RETURNS: On success the allocated IRP * On failure NULL */ -PIRP IoAllocateIrp(CCHAR StackSize, BOOLEAN ChargeQuota); +PIRP +IoAllocateIrp ( + CCHAR StackSize, + BOOLEAN ChargeQuota + ); /* * FUNCTION: Allocates an MDL large enough to map the supplied buffer @@ -91,9 +115,14 @@ PIRP IoAllocateIrp(CCHAR StackSize, BOOLEAN ChargeQuota); * RETURNS: On the success the allocated MDL * On failure NULL */ -PMDL IoAllocateMdl(PVOID VirtualAddress, ULONG Length, - BOOLEAN SecondaryBuffer, BOOLEAN ChargeQuota, - PIRP Irp); +PMDL +IoAllocateMdl ( + PVOID VirtualAddress, + ULONG Length, + BOOLEAN SecondaryBuffer, + BOOLEAN ChargeQuota, + PIRP Irp + ); /* * FUNCTION: Creates a symbolic link between the ARC name of a physical @@ -102,7 +131,11 @@ PMDL IoAllocateMdl(PVOID VirtualAddress, ULONG Length, * ArcName = ARC name of the device * DeviceName = Name of the device object */ -VOID IoAssignArcName(PUNICODE_STRING ArcName, PUNICODE_STRING DeviceName); +VOID +IoAssignArcName ( + PUNICODE_STRING ArcName, + PUNICODE_STRING DeviceName + ); enum { @@ -119,12 +152,15 @@ enum * RequestedResources = List of resources * RETURNS: */ -NTSTATUS IoAssignResources(PUNICODE_STRING RegistryPath, - PUNICODE_STRING DriverClassName, - PDRIVER_OBJECT DriverObject, - PDEVICE_OBJECT DeviceObject, - PIO_RESOURCE_REQUIREMENTS_LIST RequestedResources, - PCM_RESOURCE_LIST* AllocatedResources); +NTSTATUS +IoAssignResources ( + PUNICODE_STRING RegistryPath, + PUNICODE_STRING DriverClassName, + PDRIVER_OBJECT DriverObject, + PDEVICE_OBJECT DeviceObject, + PIO_RESOURCE_REQUIREMENTS_LIST RequestedResources, + PCM_RESOURCE_LIST * AllocatedResources + ); /* * FUNCTION: Attaches the callers device object to a named target device @@ -135,9 +171,12 @@ NTSTATUS IoAssignResources(PUNICODE_STRING RegistryPath, * a pointer to the target device * RETURNS: Success or failure code */ -NTSTATUS IoAttachDevice(PDEVICE_OBJECT SourceDevice, - PUNICODE_STRING TargetDevice, - PDEVICE_OBJECT* AttachedDevice); +NTSTATUS +IoAttachDevice ( + PDEVICE_OBJECT SourceDevice, + PUNICODE_STRING TargetDevice, + PDEVICE_OBJECT * AttachedDevice + ); /* * FUNCTION: Obsolete @@ -146,8 +185,11 @@ NTSTATUS IoAttachDevice(PDEVICE_OBJECT SourceDevice, * TargetDevice = device to be attached to * RETURNS: Success or failure code */ -NTSTATUS IoAttachDeviceByPointer(PDEVICE_OBJECT SourceDevice, - PDEVICE_OBJECT TargetDevice); +NTSTATUS +IoAttachDeviceByPointer ( + PDEVICE_OBJECT SourceDevice, + PDEVICE_OBJECT TargetDevice + ); /* * FUNCTION: Attaches the callers device to the highest device in the chain @@ -157,8 +199,11 @@ NTSTATUS IoAttachDeviceByPointer(PDEVICE_OBJECT SourceDevice, * RETURNS: On success the previously highest device * On failure NULL */ -PDEVICE_OBJECT IoAttachDeviceToDeviceStack(PDEVICE_OBJECT SourceDevice, - PDEVICE_OBJECT TargetDevice); +PDEVICE_OBJECT +IoAttachDeviceToDeviceStack ( + PDEVICE_OBJECT SourceDevice, + PDEVICE_OBJECT TargetDevice + ); /* * FUNCTION: Builds a irp to be sent to lower level drivers @@ -172,12 +217,15 @@ PDEVICE_OBJECT IoAttachDeviceToDeviceStack(PDEVICE_OBJECT SourceDevice, * RETURNS: On success the IRP allocated * On failure NULL */ -PIRP IoBuildAsynchronousFsdRequest(ULONG MajorFunction, - PDEVICE_OBJECT DeviceObject, - PVOID Buffer, - ULONG Length, - PLARGE_INTEGER StartingOffset, - PIO_STATUS_BLOCK IoStatusBlock); +PIRP +IoBuildAsynchronousFsdRequest ( + ULONG MajorFunction, + PDEVICE_OBJECT DeviceObject, + PVOID Buffer, + ULONG Length, + PLARGE_INTEGER StartingOffset, + PIO_STATUS_BLOCK IoStatusBlock + ); /* * FUNCTION: Allocates and sets up an IRP for a device control request @@ -195,42 +243,61 @@ PIRP IoBuildAsynchronousFsdRequest(ULONG MajorFunction, * completed * RETURNS: Returns the IRP created */ -PIRP IoBuildDeviceIoControlRequest(ULONG IoControlCode, - PDEVICE_OBJECT DeviceObject, - PVOID InputBuffer, - ULONG InputBufferLength, - PVOID OutputBuffer, - ULONG OutputBufferLength, - BOOLEAN InternalDeviceIoControl, - PKEVENT Event, - PIO_STATUS_BLOCK IoStatusBlock); +PIRP +IoBuildDeviceIoControlRequest ( + ULONG IoControlCode, + PDEVICE_OBJECT DeviceObject, + PVOID InputBuffer, + ULONG InputBufferLength, + PVOID OutputBuffer, + ULONG OutputBufferLength, + BOOLEAN InternalDeviceIoControl, + PKEVENT Event, + PIO_STATUS_BLOCK IoStatusBlock + ); -VOID IoBuildPartialMdl(PMDL SourceMdl, - PMDL TargetMdl, - PVOID VirtualAddress, - ULONG Length); +VOID +IoBuildPartialMdl ( + PMDL SourceMdl, + PMDL TargetMdl, + PVOID VirtualAddress, + ULONG Length + ); -PIRP IoBuildSynchronousFsdRequest(ULONG MajorFunction, - PDEVICE_OBJECT DeviceObject, - PVOID Buffer, - ULONG Length, - PLARGE_INTEGER StartingOffset, - PKEVENT Event, - PIO_STATUS_BLOCK IoStatusBlock); +PIRP +IoBuildSynchronousFsdRequest ( + ULONG MajorFunction, + PDEVICE_OBJECT DeviceObject, + PVOID Buffer, + ULONG Length, + PLARGE_INTEGER StartingOffset, + PKEVENT Event, + PIO_STATUS_BLOCK IoStatusBlock + ); /* * FUNCTION: Sends an irp to the next lower driver */ -NTSTATUS IoCallDriver(PDEVICE_OBJECT DeviceObject, PIRP irp); +NTSTATUS +IoCallDriver ( + PDEVICE_OBJECT DeviceObject, + PIRP irp + ); -BOOLEAN IoCancelIrp(PIRP Irp); +BOOLEAN +IoCancelIrp ( + PIRP Irp + ); -NTSTATUS IoCheckShareAccess(ACCESS_MASK DesiredAccess, - ULONG DesiredShareAccess, - PFILE_OBJECT FileObject, - PSHARE_ACCESS ShareAccess, - BOOLEAN Update); +NTSTATUS +IoCheckShareAccess ( + ACCESS_MASK DesiredAccess, + ULONG DesiredShareAccess, + PFILE_OBJECT FileObject, + PSHARE_ACCESS ShareAccess, + BOOLEAN Update + ); /* * FUNCTION: Indicates the caller has finished all processing for a given @@ -240,21 +307,31 @@ NTSTATUS IoCheckShareAccess(ACCESS_MASK DesiredAccess, * PriorityBoost = Increment by which to boost the priority of the * thread making the request */ -VOID IoCompleteRequest(PIRP Irp, CCHAR PriorityBoost); +VOID +IoCompleteRequest ( + PIRP Irp, + CCHAR PriorityBoost + ); -NTSTATUS IoConnectInterrupt(PKINTERRUPT* InterruptObject, - PKSERVICE_ROUTINE ServiceRoutine, - PVOID ServiceContext, - PKSPIN_LOCK SpinLock, - ULONG Vector, - KIRQL Irql, - KIRQL SynchronizeIrql, - KINTERRUPT_MODE InterruptMode, - BOOLEAN ShareVector, - KAFFINITY ProcessorEnableMask, - BOOLEAN FloatingSave); +NTSTATUS +IoConnectInterrupt ( + PKINTERRUPT * InterruptObject, + PKSERVICE_ROUTINE ServiceRoutine, + PVOID ServiceContext, + PKSPIN_LOCK SpinLock, + ULONG Vector, + KIRQL Irql, + KIRQL SynchronizeIrql, + KINTERRUPT_MODE InterruptMode, + BOOLEAN ShareVector, + KAFFINITY ProcessorEnableMask, + BOOLEAN FloatingSave + ); -PCONTROLLER_OBJECT IoCreateController(ULONG Size); +PCONTROLLER_OBJECT +IoCreateController ( + ULONG Size + ); /* * FUNCTION: Allocates memory for and intializes a device object for use for @@ -274,86 +351,167 @@ PCONTROLLER_OBJECT IoCreateController(ULONG Size); * if the call succeeded * NOTES: See the DDK documentation for more information */ -NTSTATUS IoCreateDevice(PDRIVER_OBJECT DriverObject, - ULONG DeviceExtensionSize, - PUNICODE_STRING DeviceName, - DEVICE_TYPE DeviceType, - ULONG DeviceCharacteristics, - BOOLEAN Exclusive, - PDEVICE_OBJECT* DeviceObject); +NTSTATUS +IoCreateDevice ( + PDRIVER_OBJECT DriverObject, + ULONG DeviceExtensionSize, + PUNICODE_STRING DeviceName, + DEVICE_TYPE DeviceType, + ULONG DeviceCharacteristics, + BOOLEAN Exclusive, + PDEVICE_OBJECT * DeviceObject + ); -PKEVENT IoCreateNotificationEvent(PUNICODE_STRING EventName, - PHANDLE EventHandle); +PKEVENT +IoCreateNotificationEvent ( + PUNICODE_STRING EventName, + PHANDLE EventHandle + ); -NTSTATUS IoCreateSymbolicLink(PUNICODE_STRING SymbolicLinkName, - PUNICODE_STRING DeviceName); +NTSTATUS +IoCreateSymbolicLink ( + PUNICODE_STRING SymbolicLinkName, + PUNICODE_STRING DeviceName + ); -PKEVENT IoCreateSynchronizationEvent(PUNICODE_STRING EventName, - PHANDLE EventHandle); +PKEVENT +IoCreateSynchronizationEvent ( + PUNICODE_STRING EventName, + PHANDLE EventHandle + ); -NTSTATUS IoCreateUnprotectedSymbolicLink(PUNICODE_STRING SymbolicLinkName, - PUNICODE_STRING DeviceName); +NTSTATUS +IoCreateUnprotectedSymbolicLink ( + PUNICODE_STRING SymbolicLinkName, + PUNICODE_STRING DeviceName + ); -VOID IoDeassignArcName(PUNICODE_STRING ArcName); +VOID +IoDeassignArcName ( + PUNICODE_STRING ArcName + ); -VOID IoDeleteController(PCONTROLLER_OBJECT ControllerObject); +VOID +IoDeleteController ( + PCONTROLLER_OBJECT ControllerObject + ); -VOID IoDeleteDevice(PDEVICE_OBJECT DeviceObject); +VOID +IoDeleteDevice ( + PDEVICE_OBJECT DeviceObject + ); -NTSTATUS IoDeleteSymbolicLink(PUNICODE_STRING SymbolicLinkName); +NTSTATUS +IoDeleteSymbolicLink ( + PUNICODE_STRING SymbolicLinkName + ); -VOID IoDetachDevice(PDEVICE_OBJECT TargetDevice); +VOID +IoDetachDevice ( + PDEVICE_OBJECT TargetDevice + ); -VOID IoDisconnectInterrupt(PKINTERRUPT InterruptObject); +VOID +IoDisconnectInterrupt ( + PKINTERRUPT InterruptObject + ); -BOOLEAN IoFlushAdapterBuffers(PADAPTER_OBJECT AdapterObject, - PMDL Mdl, - PVOID MapRegisterBase, - PVOID CurrentVa, - ULONG Length, - BOOLEAN WriteToDevice); +BOOLEAN +IoFlushAdapterBuffers ( + PADAPTER_OBJECT AdapterObject, + PMDL Mdl, + PVOID MapRegisterBase, + PVOID CurrentVa, + ULONG Length, + BOOLEAN WriteToDevice + ); -VOID IoFreeAdapterChannel(PADAPTER_OBJECT AdapterObject); -VOID IoFreeController(PCONTROLLER_OBJECT ControllerObject); -VOID IoFreeIrp(PIRP Irp); -VOID IoFreeMapRegisters(PADAPTER_OBJECT AdapterObject, - PVOID MapRegisterBase, - ULONG NumberOfMapRegisters); -VOID IoFreeMdl(PMDL Mdl); -PCONFIGURATION_INFORMATION IoGetConfigurationInformation(VOID); +VOID +IoFreeAdapterChannel ( + PADAPTER_OBJECT AdapterObject + ); + +VOID +IoFreeController ( + PCONTROLLER_OBJECT ControllerObject + ); + +VOID +IoFreeIrp ( + PIRP Irp + ); + +VOID +IoFreeMapRegisters ( + PADAPTER_OBJECT AdapterObject, + PVOID MapRegisterBase, + ULONG NumberOfMapRegisters + ); + +VOID +IoFreeMdl ( + PMDL Mdl + ); + +PCONFIGURATION_INFORMATION +IoGetConfigurationInformation (VOID); /* * FUNCTION: Returns a pointer to the callers stack location in the irp */ -PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(IRP* irp); +PIO_STACK_LOCATION +IoGetCurrentIrpStackLocation ( + IRP * irp + ); -struct _EPROCESS* IoGetCurrentProcess(VOID); +struct _EPROCESS * +IoGetCurrentProcess (VOID); -NTSTATUS IoGetDeviceObjectPointer(PUNICODE_STRING ObjectName, - ACCESS_MASK DesiredAccess, - PFILE_OBJECT* FileObject, - PDEVICE_OBJECT* DeviceObject); +NTSTATUS +IoGetDeviceObjectPointer ( + PUNICODE_STRING ObjectName, + ACCESS_MASK DesiredAccess, + PFILE_OBJECT * FileObject, + PDEVICE_OBJECT * DeviceObject + ); -PDEVICE_OBJECT IoGetDeviceToVerify(PETHREAD Thread); +PDEVICE_OBJECT +IoGetDeviceToVerify ( + PETHREAD Thread + ); -PGENERIC_MAPPING IoGetFileObjectGenericMapping(VOID); +PGENERIC_MAPPING +IoGetFileObjectGenericMapping (VOID); -ULONG IoGetFunctionCodeFromCtlCode(ULONG ControlCode); +ULONG +IoGetFunctionCodeFromCtlCode ( + ULONG ControlCode + ); -PVOID IoGetInitialStack(VOID); +PVOID +IoGetInitialStack (VOID); /* * FUNCTION: */ -PIO_STACK_LOCATION IoGetNextIrpStackLocation(IRP* irp); +PIO_STACK_LOCATION +IoGetNextIrpStackLocation ( + IRP * irp + ); -PDEVICE_OBJECT IoGetRelatedDeviceObject(PFILE_OBJECT FileObject); +PDEVICE_OBJECT +IoGetRelatedDeviceObject ( + PFILE_OBJECT FileObject + ); -VOID IoInitializeDpcRequest(PDEVICE_OBJECT DeviceObject, - PIO_DPC_ROUTINE DpcRoutine); +VOID +IoInitializeDpcRequest ( + PDEVICE_OBJECT DeviceObject, + PIO_DPC_ROUTINE DpcRoutine + ); /* * FUNCTION: Initalizes an irp allocated by the caller @@ -362,24 +520,45 @@ VOID IoInitializeDpcRequest(PDEVICE_OBJECT DeviceObject, * PacketSize = Size in bytes of the IRP * StackSize = Number of stack locations in the IRP */ -VOID IoInitializeIrp(PIRP Irp, USHORT PacketSize, CCHAR StackSize); +VOID +IoInitializeIrp ( + PIRP Irp, + USHORT PacketSize, + CCHAR StackSize + ); -NTSTATUS IoInitializeTimer(PDEVICE_OBJECT DeviceObject, - PIO_TIMER_ROUTINE TimerRoutine, - PVOID Context); +NTSTATUS +IoInitializeTimer ( + PDEVICE_OBJECT DeviceObject, + PIO_TIMER_ROUTINE TimerRoutine, + PVOID Context + ); -BOOLEAN IoIsErrorUserInduced(NTSTATUS Status); +BOOLEAN +IoIsErrorUserInduced ( + NTSTATUS Status + ); -BOOLEAN IoIsTotalDeviceFailure(NTSTATUS Status); +BOOLEAN +IoIsTotalDeviceFailure ( + NTSTATUS Status + ); -PIRP IoMakeAssociatedIrp(PIRP Irp, CCHAR StackSize); +PIRP +IoMakeAssociatedIrp ( + PIRP Irp, + CCHAR StackSize + ); -PHYSICAL_ADDRESS IoMapTransfer(PADAPTER_OBJECT AdapterObject, - PMDL Mdl, - PVOID MapRegisterBase, - PVOID CurrentVa, - PULONG Length, - BOOLEAN WriteToDevice); +PHYSICAL_ADDRESS +IoMapTransfer ( + PADAPTER_OBJECT AdapterObject, + PMDL Mdl, + PVOID MapRegisterBase, + PVOID CurrentVa, + PULONG Length, + BOOLEAN WriteToDevice + ); /* * FUNCTION: Marks an IRP as pending @@ -389,75 +568,130 @@ PHYSICAL_ADDRESS IoMapTransfer(PADAPTER_OBJECT AdapterObject, * must mark it pending otherwise the I/O manager will complete it on * return from the dispatch routine. */ -VOID IoMarkIrpPending(PIRP Irp); +VOID +IoMarkIrpPending ( + PIRP Irp + ); -NTSTATUS IoQueryDeviceDescription(PINTERFACE_TYPE BusType, - PULONG BusNumber, - PCONFIGURATION_TYPE ControllerType, - PULONG ControllerNumber, - PCONFIGURATION_TYPE PeripheralType, - PULONG PeripheralNumber, - PIO_QUERY_DEVICE_ROUTINE CalloutRoutine, - PVOID Context); +NTSTATUS +IoQueryDeviceDescription ( + PINTERFACE_TYPE BusType, + PULONG BusNumber, + PCONFIGURATION_TYPE ControllerType, + PULONG ControllerNumber, + PCONFIGURATION_TYPE PeripheralType, + PULONG PeripheralNumber, + PIO_QUERY_DEVICE_ROUTINE CalloutRoutine, + PVOID Context + ); -VOID IoRaiseHardError(PIRP Irp, PVPB Vpb, PDEVICE_OBJECT RealDeviceObject); +VOID +IoRaiseHardError ( + PIRP Irp, + PVPB Vpb, + PDEVICE_OBJECT RealDeviceObject + ); -BOOLEAN IoRaiseHardInformationalError(NTSTATUS ErrorStatus, - PUNICODE_STRING String, - PKTHREAD Thread); +BOOLEAN +IoRaiseHardInformationalError ( + NTSTATUS ErrorStatus, + PUNICODE_STRING String, + PKTHREAD Thread + ); -NTSTATUS IoReadPartitionTable(PDEVICE_OBJECT DeviceObject, - ULONG SectorSize, - BOOLEAN ReturnedRecognizedPartitions, - struct _DRIVE_LAYOUT_INFORMATION** PBuffer); +NTSTATUS +IoReadPartitionTable ( + PDEVICE_OBJECT DeviceObject, + ULONG SectorSize, + BOOLEAN ReturnedRecognizedPartitions, + struct _DRIVE_LAYOUT_INFORMATION ** PBuffer + ); -VOID IoRegisterDriverReinitialization(PDRIVER_OBJECT DriverObject, - PDRIVER_REINITIALIZE ReinitRoutine, - PVOID Context); +VOID +IoRegisterDriverReinitialization ( + PDRIVER_OBJECT DriverObject, + PDRIVER_REINITIALIZE ReinitRoutine, + PVOID Context + ); -NTSTATUS IoRegisterShutdownNotification(PDEVICE_OBJECT DeviceObject); +NTSTATUS +IoRegisterShutdownNotification ( + PDEVICE_OBJECT DeviceObject + ); -VOID IoReleaseCancelSpinLock(KIRQL Irql); +VOID +IoReleaseCancelSpinLock ( + KIRQL Irql + ); -VOID IoRemoveShareAccess(PFILE_OBJECT FileObject, - PSHARE_ACCESS ShareAccess); +VOID +IoRemoveShareAccess ( + PFILE_OBJECT FileObject, + PSHARE_ACCESS ShareAccess + ); -NTSTATUS IoReportResourceUsage(PUNICODE_STRING DriverClassName, - PDRIVER_OBJECT DriverObject, - PCM_RESOURCE_LIST DriverList, - ULONG DriverListSize, - PDEVICE_OBJECT DeviceObject, - PCM_RESOURCE_LIST DeviceList, - ULONG DeviceListSize, - BOOLEAN OverrideConflict, - PBOOLEAN ConflictDetected); +NTSTATUS +IoReportResourceUsage ( + PUNICODE_STRING DriverClassName, + PDRIVER_OBJECT DriverObject, + PCM_RESOURCE_LIST DriverList, + ULONG DriverListSize, + PDEVICE_OBJECT DeviceObject, + PCM_RESOURCE_LIST DeviceList, + ULONG DeviceListSize, + BOOLEAN OverrideConflict, + PBOOLEAN ConflictDetected + ); -VOID IoRequestDpc(PDEVICE_OBJECT DeviceObject, - PIRP Irp, - PVOID Context); +VOID +IoRequestDpc ( + PDEVICE_OBJECT DeviceObject, + PIRP Irp, + PVOID Context + ); -PDRIVER_CANCEL IoSetCancelRoutine(PIRP Irp, PDRIVER_CANCEL CancelRoutine); +PDRIVER_CANCEL +IoSetCancelRoutine ( + PIRP Irp, + PDRIVER_CANCEL CancelRoutine + ); -VOID IoSetCompletionRoutine(PIRP Irp, - PIO_COMPLETION_ROUTINE CompletionRoutine, - PVOID Context, - BOOLEAN InvokeOnSuccess, - BOOLEAN InvokeOnError, - BOOLEAN InvokeOnCancel); +VOID +IoSetCompletionRoutine ( + PIRP Irp, + PIO_COMPLETION_ROUTINE CompletionRoutine, + PVOID Context, + BOOLEAN InvokeOnSuccess, + BOOLEAN InvokeOnError, + BOOLEAN InvokeOnCancel + ); -VOID IoSetHardErrorOrVerifyDevice(PIRP Irp, PDEVICE_OBJECT DeviceObject); +VOID +IoSetHardErrorOrVerifyDevice ( + PIRP Irp, + PDEVICE_OBJECT DeviceObject + ); -VOID IoSetNextIrpStackLocation(PIRP Irp); +VOID +IoSetNextIrpStackLocation ( + PIRP Irp + ); -NTSTATUS IoSetPartitionInformation(PDEVICE_OBJECT DeviceObject, - ULONG SectorSize, - ULONG PartitionNumber, - ULONG PartitionType); +NTSTATUS +IoSetPartitionInformation ( + PDEVICE_OBJECT DeviceObject, + ULONG SectorSize, + ULONG PartitionNumber, + ULONG PartitionType + ); -VOID IoSetShareAccess(ACCESS_MASK DesiredAccess, - ULONG DesiredShareAccess, - PFILE_OBJECT FileObject, - PSHARE_ACCESS ShareAccess); +VOID +IoSetShareAccess ( + ACCESS_MASK DesiredAccess, + ULONG DesiredShareAccess, + PFILE_OBJECT FileObject, + PSHARE_ACCESS ShareAccess + ); /* * FUNCTION: Determines the size of an IRP @@ -465,7 +699,10 @@ VOID IoSetShareAccess(ACCESS_MASK DesiredAccess, * StackSize = number of stack locations in the IRP * RETURNS: The size of the IRP in bytes */ -USHORT IoSizeOfIrp(CCHAR StackSize); +USHORT +IoSizeOfIrp ( + CCHAR StackSize + ); /* * FUNCTION: Dequeues the next IRP from the device's associated queue and @@ -474,11 +711,18 @@ USHORT IoSizeOfIrp(CCHAR StackSize); * DeviceObject = Device object * Cancelable = True if IRPs in the queue can be cancelled */ -VOID IoStartNextPacket(PDEVICE_OBJECT DeviceObject, BOOLEAN Cancelable); +VOID +IoStartNextPacket ( + PDEVICE_OBJECT DeviceObject, + BOOLEAN Cancelable + ); -VOID IoStartNextPacketByKey(PDEVICE_OBJECT DeviceObject, - BOOLEAN Cancelable, - ULONG Key); +VOID +IoStartNextPacketByKey ( + PDEVICE_OBJECT DeviceObject, + BOOLEAN Cancelable, + ULONG Key + ); /* * FUNCTION: Calls the drivers StartIO routine with the IRP or queues it if @@ -489,43 +733,84 @@ VOID IoStartNextPacketByKey(PDEVICE_OBJECT DeviceObject, * Key = Optional value for where to insert the IRP * CancelFunction = Entry point for a driver supplied cancel function */ -VOID IoStartPacket(PDEVICE_OBJECT DeviceObject, PIRP Irp, PULONG Key, - PDRIVER_CANCEL CancelFunction); +VOID +IoStartPacket ( + PDEVICE_OBJECT DeviceObject, + PIRP Irp, + PULONG Key, + PDRIVER_CANCEL CancelFunction + ); -VOID IoStartTimer(PDEVICE_OBJECT DeviceObject); +VOID +IoStartTimer ( + PDEVICE_OBJECT DeviceObject + ); -VOID IoStopTimer(PDEVICE_OBJECT DeviceObject); +VOID +IoStopTimer ( + PDEVICE_OBJECT DeviceObject + ); -VOID IoUnregisterShutdownNotification(PDEVICE_OBJECT DeviceObject); +VOID +IoUnregisterShutdownNotification ( + PDEVICE_OBJECT DeviceObject + ); -VOID IoUpdateShareAccess(PFILE_OBJECT FileObject, PSHARE_ACCESS ShareAccess); +VOID +IoUpdateShareAccess ( + PFILE_OBJECT FileObject, + PSHARE_ACCESS ShareAccess + ); -VOID IoWriteErrorLogEntry(PVOID ElEntry); +VOID +IoWriteErrorLogEntry ( + PVOID ElEntry + ); -NTSTATUS IoWritePartitionTable(PDEVICE_OBJECT DeviceObject, - ULONG SectorSize, - ULONG SectorsPerTrack, - ULONG NumberOfHeads, - struct _DRIVE_LAYOUT_INFORMATION* PBuffer); +NTSTATUS +IoWritePartitionTable ( + PDEVICE_OBJECT DeviceObject, + ULONG SectorSize, + ULONG SectorsPerTrack, + ULONG NumberOfHeads, + struct _DRIVE_LAYOUT_INFORMATION* PBuffer + ); // Preliminary guess -NTKERNELAPI NTSTATUS IoQueryFileVolumeInformation(IN PFILE_OBJECT FileObject, - IN FS_INFORMATION_CLASS FsInformationClass, - IN ULONG Length, - OUT PVOID FsInformation, - OUT PULONG ReturnedLength); +NTKERNELAPI +NTSTATUS +IoQueryFileVolumeInformation ( + IN PFILE_OBJECT FileObject, + IN FS_INFORMATION_CLASS FsInformationClass, + IN ULONG Length, + OUT PVOID FsInformation, + OUT PULONG ReturnedLength + ); NTKERNELAPI // confirmed - Undocumented because it does not require a valid file handle NTSTATUS -IoQueryFileInformation( -IN PFILE_OBJECT FileObject, -IN FILE_INFORMATION_CLASS FileInformationClass, -IN ULONG Length, -OUT PVOID FileInformation, -OUT PULONG ReturnedLength -); -VOID IoRegisterFileSystem(PDEVICE_OBJECT DeviceObject); -PDEVICE_OBJECT IoGetAttachedDevice(PDEVICE_OBJECT DeviceObject); -PFILE_OBJECT IoCreateStreamFileObject(PFILE_OBJECT FileObject, - PDEVICE_OBJECT DeviceObject); +IoQueryFileInformation ( + IN PFILE_OBJECT FileObject, + IN FILE_INFORMATION_CLASS FileInformationClass, + IN ULONG Length, + OUT PVOID FileInformation, + OUT PULONG ReturnedLength + ); + +VOID +IoRegisterFileSystem ( + PDEVICE_OBJECT DeviceObject + ); + +PDEVICE_OBJECT +IoGetAttachedDevice ( + PDEVICE_OBJECT DeviceObject + ); + +PFILE_OBJECT +IoCreateStreamFileObject ( + PFILE_OBJECT FileObject, + PDEVICE_OBJECT DeviceObject + ); + diff --git a/reactos/include/ddk/ntifs.h b/reactos/include/ddk/ntifs.h deleted file mode 100644 index b0510db3c96..00000000000 --- a/reactos/include/ddk/ntifs.h +++ /dev/null @@ -1,1499 +0,0 @@ -/* - This is a free version of the file ntifs.h, release 8. - The purpose of this include file is to build Windows NT file system and - file system filter drivers. - Copyright (C) 1999 Bo Branten - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - DISCLAIMER: I do not encourage anyone to use this include file to build - Windows NT file system or file system filter drivers used in production. - The information in this include file is incomplete and intended only as - an studying companion. The information has been found in books, magazines, - on the Internet and received from contributors. - - Please send comments, corrections and contributions to bosse@acc.umu.se - - The most recent version of this file is available from: - http://www.acc.umu.se/~bosse/ntifs.h - - Thanks to Andrey Shedel, Bartjan Wattel and Darja Isaksson. - - Revision history: - - 8. Corrected: - ZwOpenProcessToken - ZwOpenThreadToken - Added: - Defines: - FILE_OPLOCK_BROKEN_TO_LEVEL_2 - FILE_OPLOCK_BROKEN_TO_NONE - FILE_CASE_SENSITIVE_SEARCH - FILE_CASE_PRESERVED_NAMES - FILE_UNICODE_ON_DISK - FILE_PERSISTENT_ACLS - FILE_FILE_COMPRESSION - FILE_VOLUME_IS_COMPRESSED - FSRTL_FLAG_ACQUIRE_MAIN_RSRC_EX - FSRTL_FLAG_ACQUIRE_MAIN_RSRC_SH - IOCTL_REDIR_QUERY_PATH - Structures: - FILE_FS_LABEL_INFORMATION - PATHNAME_BUFFER - In IO_STACK_LOCATION: - FileSystemControl - LockControl - SetVolume - Function prototypes: - FsRtlCopyRead - FsRtlCopyWrite - IoVerifyVolume - - 7. Added: - defines for TOKEN_XXX - SID_NAME_USE - TOKEN_INFORMATION_CLASS - TOKEN_TYPE - FILE_FS_ATTRIBUTE_INFORMATION - FILE_FS_SIZE_INFORMATION - SID_IDENTIFIER_AUTHORITY - SID - SID_AND_ATTRIBUTES - TOKEN_CONTROL - TOKEN_DEFAULT_DACL - TOKEN_GROUPS - TOKEN_OWNER - TOKEN_PRIMARY_GROUP - TOKEN_PRIVILEGES - TOKEN_SOURCE - TOKEN_STATISTICS - TOKEN_USER - IoCreateFile - IoGetAttachedDevice - IoGetBaseFileSystemDeviceObject - PsReferenceImpersonationToken - PsReferencePrimaryToken - RtlConvertSidToUnicodeString - SeCaptureSubjectContext - SeMarkLogonSessionForTerminationNotification - SeRegisterLogonSessionTerminatedRoutine - SeUnregisterLogonSessionTerminatedRoutine - ZwOpenProcessToken - ZwOpenThreadToken - ZwQueryInformationToken - - 6. Corrected declarations of Zw functions. - Added: - ZwCancelIoFile - ZwDeleteFile - ZwFlushBuffersFile - ZwFsControlFile - ZwLockFile - ZwNotifyChangeDirectoryFile - ZwOpenFile - ZwQueryEaFile - ZwSetEaFile - ZwSetVolumeInformationFile - ZwUnlockFile - - 5. Added: - defines for FILE_ACTION_XXX and FILE_NOTIFY_XXX - FILE_FS_VOLUME_INFORMATION - RETRIEVAL_POINTERS_BUFFER - STARTING_VCN_INPUT_BUFFER - FsRtlNotifyFullReportChange - - 4. Corrected: - ZwCreateThread - Added: - define _GNU_NTIFS_ - - 3. Added: - defines for MAP_XXX, MEM_XXX and SEC_XXX - FILE_BOTH_DIR_INFORMATION - FILE_DIRECTORY_INFORMATION - FILE_FULL_DIR_INFORMATION - FILE_NAMES_INFORMATION - FILE_NOTIFY_INFORMATION - FsRtlNotifyCleanup - KeAttachProcess - KeDetachProcess - MmCreateSection - ZwCreateProcess - ZwCreateThread - ZwDeviceIoControlFile - ZwGetContextThread - ZwLoadDriver - ZwOpenDirectoryObject - ZwOpenProcess - ZwOpenSymbolicLinkObject - ZwQueryDirectoryFile - ZwUnloadDriver - - 2. Added: - FILE_COMPRESSION_INFORMATION - FILE_STREAM_INFORMATION - FILE_LINK_INFORMATION - FILE_RENAME_INFORMATION - EXTENDED_IO_STACK_LOCATION - IoQueryFileInformation - IoQueryFileVolumeInformation - ZwQueryVolumeInformationFile - Moved include of ntddk.h to inside extern "C" block. - - 1. Initial release. -*/ - -#ifndef _NTIFS_ -#define _NTIFS_ -#define _GNU_NTIFS_ - -#ifdef __cplusplus -extern "C" { -#endif - -#include - -#define FILE_ACTION_ADDED 0x00000001 -#define FILE_ACTION_REMOVED 0x00000002 -#define FILE_ACTION_MODIFIED 0x00000003 -#define FILE_ACTION_RENAMED_OLD_NAME 0x00000004 -#define FILE_ACTION_RENAMED_NEW_NAME 0x00000005 -#define FILE_ACTION_ADDED_STREAM 0x00000006 -#define FILE_ACTION_REMOVED_STREAM 0x00000007 -#define FILE_ACTION_MODIFIED_STREAM 0x00000008 - -#define FILE_NOTIFY_CHANGE_FILE_NAME 0x00000001 -#define FILE_NOTIFY_CHANGE_DIR_NAME 0x00000002 -#define FILE_NOTIFY_CHANGE_NAME 0x00000003 -#define FILE_NOTIFY_CHANGE_ATTRIBUTES 0x00000004 -#define FILE_NOTIFY_CHANGE_SIZE 0x00000008 -#define FILE_NOTIFY_CHANGE_LAST_WRITE 0x00000010 -#define FILE_NOTIFY_CHANGE_LAST_ACCESS 0x00000020 -#define FILE_NOTIFY_CHANGE_CREATION 0x00000040 -#define FILE_NOTIFY_CHANGE_EA 0x00000080 -#define FILE_NOTIFY_CHANGE_SECURITY 0x00000100 -#define FILE_NOTIFY_CHANGE_STREAM_NAME 0x00000200 -#define FILE_NOTIFY_CHANGE_STREAM_SIZE 0x00000400 -#define FILE_NOTIFY_CHANGE_STREAM_WRITE 0x00000800 -#define FILE_NOTIFY_VALID_MASK 0x00000fff - -#define FILE_OPLOCK_BROKEN_TO_LEVEL_2 0x00000007 -#define FILE_OPLOCK_BROKEN_TO_NONE 0x00000008 - -#define FILE_CASE_SENSITIVE_SEARCH 0x00000001 -#define FILE_CASE_PRESERVED_NAMES 0x00000002 -#define FILE_UNICODE_ON_DISK 0x00000004 -#define FILE_PERSISTENT_ACLS 0x00000008 -#define FILE_FILE_COMPRESSION 0x00000010 -#define FILE_VOLUME_IS_COMPRESSED 0x00008000 - -#define FSRTL_FLAG_ACQUIRE_MAIN_RSRC_EX (0x08) -#define FSRTL_FLAG_ACQUIRE_MAIN_RSRC_SH (0x10) - -#define FSRTL_FSP_TOP_LEVEL_IRP (0x01) -#define FSRTL_CACHE_TOP_LEVEL_IRP (0x02) -#define FSRTL_MOD_WRITE_TOP_LEVEL_IRP (0x03) -#define FSRTL_FAST_IO_TOP_LEVEL_IRP (0x04) -#define FSRTL_MAX_TOP_LEVEL_IRP_FLAG (0x04) - -#define IOCTL_REDIR_QUERY_PATH CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, \ - 99, METHOD_NEITHER, FILE_ANY_ACCESS) - -#define MAP_PROCESS 1L -#define MAP_SYSTEM 2L - -#define MEM_DOS_LIM 0x40000000 -#define MEM_IMAGE SEC_IMAGE - -#define SEC_BASED 0x00200000 -#define SEC_NO_CHANGE 0x00400000 -#define SEC_FILE 0x00800000 -#define SEC_IMAGE 0x01000000 -#define SEC_COMMIT 0x08000000 -#define SEC_NOCACHE 0x10000000 - -#define TOKEN_ASSIGN_PRIMARY (0x0001) -#define TOKEN_DUPLICATE (0x0002) -#define TOKEN_IMPERSONATE (0x0004) -#define TOKEN_QUERY (0x0008) -#define TOKEN_QUERY_SOURCE (0x0010) -#define TOKEN_ADJUST_PRIVILEGES (0x0020) -#define TOKEN_ADJUST_GROUPS (0x0040) -#define TOKEN_ADJUST_DEFAULT (0x0080) - -#define TOKEN_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED |\ - TOKEN_ASSIGN_PRIMARY |\ - TOKEN_DUPLICATE |\ - TOKEN_IMPERSONATE |\ - TOKEN_QUERY |\ - TOKEN_QUERY_SOURCE |\ - TOKEN_ADJUST_PRIVILEGES |\ - TOKEN_ADJUST_GROUPS |\ - TOKEN_ADJUST_DEFAULT) - -#define TOKEN_READ (STANDARD_RIGHTS_READ |\ - TOKEN_QUERY) - -#define TOKEN_WRITE (STANDARD_RIGHTS_WRITE |\ - TOKEN_ADJUST_PRIVILEGES |\ - TOKEN_ADJUST_GROUPS |\ - TOKEN_ADJUST_DEFAULT) - -#define TOKEN_EXECUTE (STANDARD_RIGHTS_EXECUTE) - -#define TOKEN_SOURCE_LENGTH 8 - -typedef PVOID PNOTIFY_SYNC; - -typedef enum _FAST_IO_POSSIBLE { - FastIoIsPossible, - FastIoIsNotPossible, - FastIoIsQuestionable -} FAST_IO_POSSIBLE; - -typedef enum _MMFLUSH_TYPE { - MmFlushForDelete, - MmFlushForWrite -} MMFLUSH_TYPE; - -typedef enum _SID_NAME_USE { - SidTypeUser = 1, - SidTypeGroup, - SidTypeDomain, - SidTypeAlias, - SidTypeWellKnownGroup, - SidTypeDeletedAccount, - SidTypeInvalid, - SidTypeUnknown -} SID_NAME_USE, *PSID_NAME_USE; - -typedef struct _CACHE_UNINITIALIZE_EVENT { - struct _CACHE_UNINITIALIZE_EVENT *Next; - KEVENT Event; -} CACHE_UNINITIALIZE_EVENT, *PCACHE_UNINITIALIZE_EVENT; - -typedef struct _CC_FILE_SIZES { - LARGE_INTEGER AllocationSize; - LARGE_INTEGER FileSize; - LARGE_INTEGER ValidDataLength; -} CC_FILE_SIZES, *PCC_FILE_SIZES; - -/* - * When needing these cast your PIO_STACK_LOCATION to - * PEXTENDED_IO_STACK_LOCATION - */ -typedef struct _EXTENDED_IO_STACK_LOCATION { - - union { - - struct { - ULONG OutputBufferLength; - ULONG InputBufferLength; - ULONG FsControlCode; - PVOID Type3InputBuffer; - } FileSystemControl; - - struct { - PLARGE_INTEGER Length; - ULONG Key; - LARGE_INTEGER ByteOffset; - } LockControl; - - struct { - ULONG Length; - ULONG CompletionFilter; - } NotifyDirectory; - - struct { - ULONG Length; - PSTRING FileName; - FILE_INFORMATION_CLASS FileInformationClass; - ULONG FileIndex; - } QueryDirectory; - - struct { - ULONG Length; - PVOID EaList; - ULONG EaListLength; - ULONG EaaIndex; - } QueryEa; - - struct { - ULONG Length; - FS_INFORMATION_CLASS FsInformationClass; - } SetVolume; - - } Parameters; - -} EXTENDED_IO_STACK_LOCATION, *PEXTENDED_IO_STACK_LOCATION; - -typedef struct _FILE_LINK_INFORMATION { - BOOLEAN ReplaceIfExists; - HANDLE RootDirectory; - ULONG FileNameLength; - WCHAR FileName[1]; -} FILE_LINK_INFORMATION, *PFILE_LINK_INFORMATION; - -typedef struct _FSRTL_COMMON_FCB_HEADER { - CSHORT NodeTypeCode; - CSHORT NodeByteSize; - UCHAR Flags; - UCHAR IsFastIoPossible; -#if (_WIN32_WINNT >= 0x0400) - UCHAR Flags2; - UCHAR Reserved; -#endif // (_WIN32_WINNT >= 0x0400) - PERESOURCE Resource; - PERESOURCE PagingIoResource; - LARGE_INTEGER AllocationSize; - LARGE_INTEGER FileSize; - LARGE_INTEGER ValidDataLength; -} FSRTL_COMMON_FCB_HEADER, *PFSRTL_COMMON_FCB_HEADER; - -typedef struct _PATHNAME_BUFFER { - ULONG PathNameLength; - WCHAR Name[1]; -} PATHNAME_BUFFER, *PPATHNAME_BUFFER; - -typedef struct _PUBLIC_BCB { - CSHORT NodeTypeCode; - CSHORT NodeByteSize; - ULONG MappedLength; - LARGE_INTEGER MappedFileOffset; -} PUBLIC_BCB, *PPUBLIC_BCB; - -typedef struct _QUERY_PATH_REQUEST { - ULONG PathNameLength; - PIO_SECURITY_CONTEXT SecurityContext; - WCHAR FilePathName[1]; -} QUERY_PATH_REQUEST, *PQUERY_PATH_REQUEST; - -typedef struct _QUERY_PATH_RESPONSE { - ULONG LengthAccepted; -} QUERY_PATH_RESPONSE, *PQUERY_PATH_RESPONSE; - -typedef struct _RETRIEVAL_POINTERS_BUFFER { - ULONG ExtentCount; - LARGE_INTEGER StartingVcn; - struct { - LARGE_INTEGER NextVcn; - LARGE_INTEGER Lcn; - } Extents[1]; -} RETRIEVAL_POINTERS_BUFFER, *PRETRIEVAL_POINTERS_BUFFER; - -typedef struct _STARTING_VCN_INPUT_BUFFER { - LARGE_INTEGER StartingVcn; -} STARTING_VCN_INPUT_BUFFER, *PSTARTING_VCN_INPUT_BUFFER; - -typedef struct _TOKEN_CONTROL { - LUID TokenId; - LUID AuthenticationId; - LUID ModifiedId; - TOKEN_SOURCE TokenSource; -} TOKEN_CONTROL, *PTOKEN_CONTROL; - -typedef struct _TOKEN_STATISTICS { - LUID TokenId; - LUID AuthenticationId; - LARGE_INTEGER ExpirationTime; - TOKEN_TYPE TokenType; - SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; - ULONG DynamicCharged; - ULONG DynamicAvailable; - ULONG GroupCount; - ULONG PrivilegeCount; - LUID ModifiedId; -} TOKEN_STATISTICS, *PTOKEN_STATISTICS; - -NTKERNELAPI -BOOLEAN -CcCanIWrite ( - IN PFILE_OBJECT FileObject, - IN ULONG BytesToWrite, - IN BOOLEAN Wait, - IN BOOLEAN Retrying -); - -NTKERNELAPI -BOOLEAN -CcCopyRead ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN BOOLEAN Wait, - OUT PVOID Buffer, - OUT PIO_STATUS_BLOCK IoStatus -); - -NTKERNELAPI -BOOLEAN -CcCopyWrite ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN BOOLEAN Wait, - IN PVOID Buffer -); - -typedef VOID (*PCC_POST_DEFERRED_WRITE) ( - IN PVOID Context1, - IN PVOID Context2 -); - -NTKERNELAPI -VOID -CcDeferWrite ( - IN PFILE_OBJECT FileObject, - IN PCC_POST_DEFERRED_WRITE PostRoutine, - IN PVOID Context1, - IN PVOID Context2, - IN ULONG BytesToWrite, - IN BOOLEAN Retrying -); - -NTKERNELAPI -VOID -CcFastCopyRead ( - IN PFILE_OBJECT FileObject, - IN ULONG FileOffset, - IN ULONG Length, - IN ULONG PageCount, - OUT PVOID Buffer, - OUT PIO_STATUS_BLOCK IoStatus -); - -NTKERNELAPI -VOID -CcFastCopyWrite ( - IN PFILE_OBJECT FileObject, - IN ULONG FileOffset, - IN ULONG Length, - IN PVOID Buffer -); - -NTKERNELAPI -VOID -CcFlushCache ( - IN PSECTION_OBJECT_POINTERS SectionObjectPointer, - IN PLARGE_INTEGER FileOffset OPTIONAL, - IN ULONG Length, - OUT PIO_STATUS_BLOCK IoStatus OPTIONAL -); - -typedef VOID (*PDIRTY_PAGE_ROUTINE) ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN PLARGE_INTEGER OldestLsn, - IN PLARGE_INTEGER NewestLsn, - IN PVOID Context1, - IN PVOID Context2 -); - -NTKERNELAPI -LARGE_INTEGER -CcGetDirtyPages ( - IN PVOID LogHandle, - IN PDIRTY_PAGE_ROUTINE DirtyPageRoutine, - IN PVOID Context1, - IN PVOID Context2 -); - -NTKERNELAPI -PFILE_OBJECT -CcGetFileObjectFromBcb ( - IN PVOID Bcb -); - -NTKERNELAPI -PFILE_OBJECT -CcGetFileObjectFromSectionPtrs ( - IN PSECTION_OBJECT_POINTERS SectionObjectPointer -); - -NTKERNELAPI -LARGE_INTEGER -CcGetLsnForFileObject( - IN PFILE_OBJECT FileObject, - OUT PLARGE_INTEGER OldestLsn OPTIONAL -); - -typedef BOOLEAN (*PACQUIRE_FOR_LAZY_WRITE) ( - IN PVOID Context, - IN BOOLEAN Wait -); - -typedef VOID (*PRELEASE_FROM_LAZY_WRITE) ( - IN PVOID Context -); - -typedef BOOLEAN (*PACQUIRE_FOR_READ_AHEAD) ( - IN PVOID Context, - IN BOOLEAN Wait -); - -typedef VOID (*PRELEASE_FROM_READ_AHEAD) ( - IN PVOID Context -); - -typedef struct _CACHE_MANAGER_CALLBACKS { - PACQUIRE_FOR_LAZY_WRITE AcquireForLazyWrite; - PRELEASE_FROM_LAZY_WRITE ReleaseFromLazyWrite; - PACQUIRE_FOR_READ_AHEAD AcquireForReadAhead; - PRELEASE_FROM_READ_AHEAD ReleaseFromReadAhead; -} CACHE_MANAGER_CALLBACKS, *PCACHE_MANAGER_CALLBACKS; - -NTKERNELAPI -VOID -CcInitializeCacheMap ( - IN PFILE_OBJECT FileObject, - IN PCC_FILE_SIZES FileSizes, - IN BOOLEAN PinAccess, - IN PCACHE_MANAGER_CALLBACKS Callbacks, - IN PVOID LazyWriteContext -); - -NTKERNELAPI -BOOLEAN -CcIsThereDirtyData ( - IN PVPB Vpb -); - -NTKERNELAPI -BOOLEAN -CcMapData ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN BOOLEAN Wait, - OUT PVOID *Bcb, - OUT PVOID *Buffer -); - -NTKERNELAPI -VOID -CcMdlRead ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - OUT PMDL *MdlChain, - OUT PIO_STATUS_BLOCK IoStatus -); - -NTKERNELAPI -VOID -CcMdlReadComplete ( - IN PFILE_OBJECT FileObject, - IN PMDL MdlChain -); - -NTKERNELAPI -VOID -CcMdlWriteComplete ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN PMDL MdlChain -); - -NTKERNELAPI -BOOLEAN -CcPinMappedData ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN BOOLEAN Wait, - IN OUT PVOID *Bcb -); - -NTKERNELAPI -BOOLEAN -CcPinRead ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN BOOLEAN Wait, - OUT PVOID *Bcb, - OUT PVOID *Buffer -); - -NTKERNELAPI -VOID -CcPrepareMdlWrite ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - OUT PMDL *MdlChain, - OUT PIO_STATUS_BLOCK IoStatus -); - -NTKERNELAPI -BOOLEAN -CcPreparePinWrite ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN BOOLEAN Zero, - IN BOOLEAN Wait, - OUT PVOID *Bcb, - OUT PVOID *Buffer -); - -NTKERNELAPI -BOOLEAN -CcPurgeCacheSection ( - IN PSECTION_OBJECT_POINTERS SectionObjectPointer, - IN PLARGE_INTEGER FileOffset OPTIONAL, - IN ULONG Length, - IN BOOLEAN UninitializeCacheMaps -); - -#define CcReadAhead(FO, FOFF, LEN) ( \ - if ((LEN) >= 256) { \ - CcScheduleReadAhead((FO), (FOFF), (LEN)); \ - } \ -) - -NTKERNELAPI -VOID -CcRepinBcb ( - IN PVOID Bcb -); - -NTKERNELAPI -VOID -CcScheduleReadAhead ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length -); - -NTKERNELAPI -VOID -CcSetAdditionalCacheAttributes ( - IN PFILE_OBJECT FileObject, - IN BOOLEAN DisableReadAhead, - IN BOOLEAN DisableWriteBehind -); - -NTKERNELAPI -VOID -CcSetBcbOwnerPointer ( - IN PVOID Bcb, - IN PVOID OwnerPointer -); - -NTKERNELAPI -VOID -CcSetDirtyPageThreshold ( - IN PFILE_OBJECT FileObject, - IN ULONG DirtyPageThreshold -); - -NTKERNELAPI -VOID -CcSetDirtyPinnedData ( - IN PVOID Bcb, - IN PLARGE_INTEGER Lsn OPTIONAL -); - -NTKERNELAPI -VOID -CcSetFileSizes ( - IN PFILE_OBJECT FileObject, - IN PCC_FILE_SIZES FileSizes -); - -typedef VOID (*PFLUSH_TO_LSN) ( - IN PVOID LogHandle, - IN PLARGE_INTEGER Lsn -); - -NTKERNELAPI -VOID -CcSetLogHandleForFile ( - IN PFILE_OBJECT FileObject, - IN PVOID LogHandle, - IN PFLUSH_TO_LSN FlushToLsnRoutine -); - -NTKERNELAPI -VOID -CcSetReadAheadGranularity ( - IN PFILE_OBJECT FileObject, - IN ULONG Granularity // default: PAGE_SIZE, allowed: 2^n * PAGE_SIZE -); - -NTKERNELAPI -BOOLEAN -CcUninitializeCacheMap ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER TruncateSize OPTIONAL, - IN PCACHE_UNINITIALIZE_EVENT UninitializeCompleteEvent OPTIONAL -); - -NTKERNELAPI -VOID -CcUnpinData ( - IN PVOID Bcb -); - -NTKERNELAPI -VOID -CcUnpinDataForThread ( - IN PVOID Bcb, - IN ERESOURCE_THREAD ResourceThreadId -); - -NTKERNELAPI -VOID -CcUnpinRepinnedBcb ( - IN PVOID Bcb, - IN BOOLEAN WriteThrough, - OUT PIO_STATUS_BLOCK IoStatus -); - -NTKERNELAPI -BOOLEAN -CcZeroData ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER StartOffset, - IN PLARGE_INTEGER EndOffset, - IN BOOLEAN Wait -); - -NTKERNELAPI -VOID -CcZeroEndOfLastPage ( - IN PFILE_OBJECT FileObject -); - -NTKERNELAPI -BOOLEAN -FsRtlCopyRead ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN BOOLEAN Wait, - IN ULONG LockKey, - OUT PVOID Buffer, - OUT PIO_STATUS_BLOCK IoStatus, - IN PDEVICE_OBJECT DeviceObject -); - -NTKERNELAPI -BOOLEAN -FsRtlCopyWrite ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN BOOLEAN Wait, - IN ULONG LockKey, - IN PVOID Buffer, - OUT PIO_STATUS_BLOCK IoStatus, - IN PDEVICE_OBJECT DeviceObject -); - -#define FsRtlEnterFileSystem KeEnterCriticalRegion - -#define FsRtlExitFileSystem KeLeaveCriticalRegion - -NTKERNELAPI -BOOLEAN -FsRtlIsNtstatusExpected ( - IN NTSTATUS Ntstatus -); - -NTKERNELAPI -BOOLEAN -FsRtlMdlReadCompleteDev ( - IN PFILE_OBJECT FileObject, - IN PMDL MdlChain, - IN PDEVICE_OBJECT DeviceObject -); - -NTKERNELAPI -BOOLEAN -FsRtlMdlWriteCompleteDev ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN PMDL MdlChain, - IN PDEVICE_OBJECT DeviceObject -); - -NTKERNELAPI -VOID -FsRtlNotifyCleanup ( - IN PNOTIFY_SYNC NotifySync, - IN PLIST_ENTRY NotifyList, - IN PVOID FsContext -); - -typedef BOOLEAN (*PCHECK_FOR_TRAVERSE_ACCESS) ( - IN PVOID NotifyContext, - IN PVOID TargetContext, - IN PSECURITY_SUBJECT_CONTEXT SubjectContext -); - -NTKERNELAPI -VOID -FsRtlNotifyFullChangeDirectory ( - IN PNOTIFY_SYNC NotifySync, - IN PLIST_ENTRY NotifyList, - IN PVOID FsContext, - IN PSTRING FullDirectoryName, - IN BOOLEAN WatchTree, - IN BOOLEAN IgnoreBuffer, - IN ULONG CompletionFilter, - IN PIRP NotifyIrp, - IN PCHECK_FOR_TRAVERSE_ACCESS TraverseCallback OPTIONAL, - IN PSECURITY_SUBJECT_CONTEXT SubjectContext OPTIONAL -); - -NTKERNELAPI -VOID -FsRtlNotifyFullReportChange ( - IN PNOTIFY_SYNC NotifySync, - IN PLIST_ENTRY NotifyList, - IN PSTRING FullTargetName, - IN USHORT TargetNameOffset, - IN PSTRING StreamName OPTIONAL, - IN PSTRING NormalizedParentName OPTIONAL, - IN ULONG FilterMatch, - IN ULONG Action, - IN PVOID TargetContext -); - -NTKERNELAPI -VOID -IoAcquireVpbSpinLock ( - OUT PKIRQL Irql -); -/* -NTKERNELAPI -NTSTATUS -IoCreateFile ( - OUT PHANDLE FileHandle, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes, - OUT PIO_STATUS_BLOCK IoStatusBlock, - IN PLARGE_INTEGER AllocationSize OPTIONAL, - IN ULONG FileAttributes, - IN ULONG ShareAccess, - IN ULONG CreateDisposition, - IN ULONG CreateOptions, - IN PVOID EaBuffer OPTIONAL, - IN ULONG EaLength, - IN CREATE_FILE_TYPE CreateFileType, - IN ULONG ExtraCreateParameters, - IN ULONG Options -); -*/ - -NTKERNELAPI -PFILE_OBJECT -IoCreateStreamFileObject ( - IN PFILE_OBJECT FileObject, - IN PDEVICE_OBJECT DeviceObject -); - -NTKERNELAPI -PDEVICE_OBJECT -IoGetAttachedDevice ( - IN PDEVICE_OBJECT DeviceObject -); - -NTKERNELAPI -PDEVICE_OBJECT -IoGetBaseFileSystemDeviceObject ( - IN PFILE_OBJECT FileObject -); - -NTKERNELAPI -PIRP -IoGetTopLevelIrp ( - VOID -); - -NTKERNELAPI -BOOLEAN -IoIsOperationSynchronous ( - IN PIRP Irp -); - -NTKERNELAPI -NTSTATUS -IoQueryFileInformation ( - IN PFILE_OBJECT FileObject, - IN FILE_INFORMATION_CLASS FileInformationClass, - IN ULONG Length, - OUT PVOID FileInformation, - OUT PULONG ReturnedLength -); - -NTKERNELAPI -NTSTATUS -IoQueryFileVolumeInformation ( - IN PFILE_OBJECT FileObject, - IN FS_INFORMATION_CLASS FsInformationClass, - IN ULONG Length, - OUT PVOID FsInformation, - OUT PULONG ReturnedLength -); - -NTKERNELAPI -VOID -IoRegisterFileSystem ( - IN PDEVICE_OBJECT DeviceObject -); - -#if (_WIN32_WINNT >= 0x0400) -typedef VOID (*PFSDNOTIFICATIONPROC) ( - IN PDEVICE_OBJECT PtrTargetFileSystemDeviceObject, - IN BOOLEAN DriverActive -); - -NTKERNELAPI -NTSTATUS -IoRegisterFsRegistrationChange ( - IN PDRIVER_OBJECT DriverObject, - IN PFSDNOTIFICATIONPROC FSDNotificationProc -); -#endif // (_WIN32_WINNT >= 0x0400) - -NTKERNELAPI -VOID -IoReleaseVpbSpinLock ( - IN KIRQL Irql -); - -NTKERNELAPI -VOID -IoSetTopLevelIrp ( - IN PIRP Irp -); - -NTKERNELAPI -VOID -IoUnregisterFileSystem ( - IN PDEVICE_OBJECT DeviceObject -); - -NTKERNELAPI -NTSTATUS -IoVerifyVolume ( - IN PDEVICE_OBJECT DeviceObject, - IN BOOLEAN AllowRawMount -); - -NTKERNELAPI -VOID -KeAttachProcess ( - IN PEPROCESS Process -); - -NTKERNELAPI -VOID -KeDetachProcess ( - VOID -); - -NTKERNELAPI -BOOLEAN -MmCanFileBeTruncated ( - IN PSECTION_OBJECT_POINTERS SectionObjectPointer, - IN PLARGE_INTEGER NewFileSize -); - -NTKERNELAPI -NTSTATUS -MmCreateSection ( - OUT PVOID *SectionObject, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, - IN PLARGE_INTEGER MaximumSize, - IN ULONG SectionPageProtection, - IN ULONG AllocationAttributes, - IN HANDLE FileHandle OPTIONAL, - IN PFILE_OBJECT File OPTIONAL -); - -NTKERNELAPI -BOOLEAN -MmFlushImageSection ( - IN PSECTION_OBJECT_POINTERS SectionObjectPointer, - IN MMFLUSH_TYPE FlushType -); - -#define MmIsRecursiveIoFault() ( \ - (PsGetCurrentThread()->DisablePageFaultClustering) | \ - (PsGetCurrentThread()->ForwardClusterOnly) \ -) - -NTKERNELAPI -NTSTATUS -ObOpenObjectByPointer ( - IN PVOID Object, - IN ULONG HandleAttributes, - IN PACCESS_STATE PassedAccessState OPTIONAL, - IN ACCESS_MASK DesiredAccess OPTIONAL, - IN POBJECT_TYPE ObjectType OPTIONAL, - IN KPROCESSOR_MODE AccessMode, - OUT PHANDLE Handle -); - -NTKERNELAPI -HANDLE -PsReferenceImpersonationToken ( - IN PETHREAD Thread -); - -NTKERNELAPI -HANDLE -PsReferencePrimaryToken ( - IN PEPROCESS Process -); - -NTKERNELAPI -NTSTATUS -RtlConvertSidToUnicodeString ( - OUT PUNICODE_STRING DestinationString, - IN PVOID Sid, - IN BOOLEAN AllocateDestinationString -); - -NTKERNELAPI -VOID -SeCaptureSubjectContext ( - OUT PSECURITY_SUBJECT_CONTEXT SubjectContext -); - -NTKERNELAPI -NTSTATUS -SeMarkLogonSessionForTerminationNotification ( - IN PLUID LogonId -); - -typedef NTSTATUS (*PSE_LOGON_SESSION_TERMINATED_ROUTINE) ( - IN PLUID LogonId -); - -NTKERNELAPI -NTSTATUS -SeRegisterLogonSessionTerminatedRoutine ( - IN PSE_LOGON_SESSION_TERMINATED_ROUTINE CallbackRoutine -); - -NTKERNELAPI -NTSTATUS -SeUnregisterLogonSessionTerminatedRoutine ( - IN PSE_LOGON_SESSION_TERMINATED_ROUTINE CallbackRoutine -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwAllocateVirtualMemory ( - IN HANDLE ProcessHandle, - IN OUT PVOID *BaseAddress, - IN ULONG ZeroBits, - IN OUT PULONG RegionSize, - IN ULONG AllocationType, - IN ULONG Protect -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwCancelIoFile ( - IN HANDLE FileHandle, - OUT PIO_STATUS_BLOCK IoStatusBlock -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwCreateProcess ( - OUT PHANDLE ProcessHandle, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, - IN HANDLE ParentProcessHandle, - IN BOOLEAN InheritObjectTable, - IN HANDLE SectionHandle, - IN HANDLE DebugPort, - IN HANDLE ExceptionPort -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwCreateSection ( - OUT PHANDLE SectionHandle, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, - IN PLARGE_INTEGER MaximumSize OPTIONAL, - IN ULONG SectionPageProtection, - IN ULONG AllocationAttributes, - IN HANDLE FileHandle OPTIONAL -); - -#if 0 -NTSYSAPI -NTSTATUS -NTAPI -ZwCreateThread ( - OUT PHANDLE ThreadHandle, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, - IN HANDLE ProcessHandle OPTIONAL, - OUT PCLIENT_ID ClientId OPTIONAL, - IN PCONTEXT ThreadContext, - IN HANDLE ThreadStack, - IN BOOLEAN CreateSuspended -); -#endif - -NTSYSAPI -NTSTATUS -NTAPI -ZwDeleteFile ( - IN POBJECT_ATTRIBUTES ObjectAttributes -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwDeviceIoControlFile ( - IN HANDLE FileHandle, - IN HANDLE Event OPTIONAL, - IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, - IN PVOID ApcContext OPTIONAL, - OUT PIO_STATUS_BLOCK IoStatusBlock, - IN ULONG IoControlCode, - IN PVOID InputBuffer OPTIONAL, - IN ULONG InputBufferLength, - OUT PVOID OutputBuffer OPTIONAL, - IN ULONG OutputBufferLength -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwFlushBuffersFile ( - IN HANDLE FileHandle, - OUT PIO_STATUS_BLOCK IoStatusBlock -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwFreeVirtualMemory ( - IN HANDLE ProcessHandle, - IN OUT PVOID *BaseAddress, - IN OUT PULONG RegionSize, - IN ULONG FreeType -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwFsControlFile ( - IN HANDLE FileHandle, - IN HANDLE Event OPTIONAL, - IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, - IN PVOID ApcContext OPTIONAL, - OUT PIO_STATUS_BLOCK IoStatusBlock, - IN ULONG FsControlCode, - IN PVOID InputBuffer OPTIONAL, - IN ULONG InputBufferLength, - OUT PVOID OutputBuffer OPTIONAL, - IN ULONG OutputBufferLength -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwGetContextThread ( - IN HANDLE ThreadHandle, - IN OUT PCONTEXT ThreadContext -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwLoadDriver ( - // "\\Registry\\Machine\\System\\CurrentControlSet\\Services\\" - IN PUNICODE_STRING RegistryPath -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwLockFile ( - IN HANDLE FileHandle, - IN HANDLE Event OPTIONAL, - IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, - IN PVOID ApcContext OPTIONAL, - OUT PIO_STATUS_BLOCK IoStatusBlock, - IN PLARGE_INTEGER ByteOffset, - IN PLARGE_INTEGER Length, - IN PULONG Key, - IN BOOLEAN FailImmediately, - IN BOOLEAN ExclusiveLock -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwNotifyChangeDirectoryFile ( - IN HANDLE FileHandle, - IN HANDLE Event OPTIONAL, - IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, - IN PVOID ApcContext OPTIONAL, - OUT PIO_STATUS_BLOCK IoStatusBlock, - OUT PVOID Buffer, - IN ULONG Length, - IN ULONG CompletionFilter, - IN BOOLEAN WatchTree -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwOpenDirectoryObject ( - OUT PHANDLE DirectoryHandle, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwOpenFile ( - OUT PHANDLE FileHandle, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes, - OUT PIO_STATUS_BLOCK IoStatusBlock, - IN ULONG ShareAccess, - IN ULONG OpenOptions -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwOpenProcess ( - OUT PHANDLE ProcessHandle, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes, - IN PCLIENT_ID ClientId OPTIONAL -); - -#if 0 -NTSYSAPI -NTSTATUS -NTAPI -ZwOpenProcessToken ( - IN PEPROCESS Process, - IN ACCESS_MASK DesiredAccess, - OUT PHANDLE TokenHandle -); -#endif - -NTSYSAPI -NTSTATUS -NTAPI -ZwOpenSymbolicLinkObject ( - OUT PHANDLE SymbolicLinkHandle, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes -); - -#if 0 -NTSYSAPI -NTSTATUS -NTAPI -ZwOpenThreadToken ( - IN PETHREAD Thread, - IN ACCESS_MASK DesiredAccess, - IN BOOLEAN OpenAsSelf, - OUT PHANDLE TokenHandle -); -#endif - -NTSYSAPI -NTSTATUS -NTAPI -ZwQueryDirectoryFile ( - IN HANDLE FileHandle, - IN HANDLE Event OPTIONAL, - IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, - IN PVOID ApcContext OPTIONAL, - OUT PIO_STATUS_BLOCK IoStatusBlock, - OUT PVOID FileInformation, - IN ULONG Length, - IN FILE_INFORMATION_CLASS FileInformationClass, - IN BOOLEAN ReturnSingleEntry, - IN PUNICODE_STRING FileName OPTIONAL, - IN BOOLEAN RestartScan -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwQueryEaFile ( - IN HANDLE FileHandle, - OUT PIO_STATUS_BLOCK IoStatusBlock, - OUT PVOID Buffer, - IN ULONG Length, - IN BOOLEAN ReturnSingleEntry, - IN PVOID EaList OPTIONAL, - IN ULONG EaListLength, - IN PULONG EaIndex OPTIONAL, - IN BOOLEAN RestartScan -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwQueryInformationToken ( - IN HANDLE TokenHandle, - IN TOKEN_INFORMATION_CLASS TokenInformationClass, - OUT PVOID TokenInformation, - IN ULONG Length, - OUT PULONG ResultLength -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwQueryVolumeInformationFile ( - IN HANDLE FileHandle, - OUT PIO_STATUS_BLOCK IoStatusBlock, - OUT PVOID FsInformation, - IN ULONG Length, - IN FS_INFORMATION_CLASS FsInformationClass -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwSetEaFile ( - IN HANDLE FileHandle, - OUT PIO_STATUS_BLOCK IoStatusBlock, - OUT PVOID Buffer, - IN ULONG Length -); - -#if 0 -NTSYSAPI -NTSTATUS -NTAPI -ZwSetVolumeInformationFile ( - IN HANDLE FileHandle, - OUT PIO_STATUS_BLOCK IoStatusBlock, - IN PVOID FsInformation, - IN ULONG Length, - IN FS_INFORMATION_CLASS FsInformationClass -); -#endif - -NTSYSAPI -NTSTATUS -NTAPI -ZwUnloadDriver ( - // "\\Registry\\Machine\\System\\CurrentControlSet\\Services\\" - IN PUNICODE_STRING RegistryPath -); - -NTSYSAPI -NTSTATUS -NTAPI -ZwUnlockFile ( - IN HANDLE FileHandle, - OUT PIO_STATUS_BLOCK IoStatusBlock, - IN PLARGE_INTEGER ByteOffset, - IN PLARGE_INTEGER Length, - IN PULONG Key -); - -#ifdef __cplusplus -} -#endif - -/* --- BEGIN - REACTOS ONLY --- */ - -typedef struct _BCB -{ - LIST_ENTRY CacheSegmentListHead; - PFILE_OBJECT FileObject; - KSPIN_LOCK BcbLock; - -} BCB, *PBCB; - -#define CACHE_SEGMENT_SIZE (0x1000) - -struct _MEMORY_AREA; - -typedef struct _CACHE_SEGMENT -{ - PVOID BaseAddress; - struct _MEMORY_AREA * MemoryArea; - BOOLEAN Valid; - LIST_ENTRY ListEntry; - ULONG FileOffset; - KEVENT Lock; - ULONG ReferenceCount; - PBCB Bcb; - -} CACHE_SEGMENT, *PCACHE_SEGMENT; - - -NTSTATUS -CcFlushCachePage ( - PCACHE_SEGMENT CacheSeg - ); - -NTSTATUS -CcReleaseCachePage ( - PBCB Bcb, - PCACHE_SEGMENT CacheSeg, - BOOLEAN Valid - ); - -NTSTATUS -CcRequestCachePage ( - PBCB Bcb, - ULONG FileOffset, - PVOID * BaseAddress, - PBOOLEAN UptoDate, - PCACHE_SEGMENT * CacheSeg - ); - -NTSTATUS -CcInitializeFileCache ( - PFILE_OBJECT FileObject, - PBCB * Bcb - ); - -NTSTATUS -CcReleaseFileCache ( - PFILE_OBJECT FileObject, - PBCB Bcb - ); - -#include - -#include - -/* --- END - REACTOS ONLY --- */ - -#endif // _NTIFS_ diff --git a/reactos/include/ddk/rtl.h b/reactos/include/ddk/rtl.h index fe2bb9e9944..5d5c771e189 100644 --- a/reactos/include/ddk/rtl.h +++ b/reactos/include/ddk/rtl.h @@ -111,167 +111,539 @@ enum * RootDirectory = Where the object should be placed or NULL * SecurityDescriptor = Ignored */ -VOID InitializeObjectAttributes(POBJECT_ATTRIBUTES InitializedAttributes, - PUNICODE_STRING ObjectName, - ULONG Attributes, - HANDLE RootDirectory, - PSECURITY_DESCRIPTOR SecurityDescriptor); +VOID +InitializeObjectAttributes ( + POBJECT_ATTRIBUTES InitializedAttributes, + PUNICODE_STRING ObjectName, + ULONG Attributes, + HANDLE RootDirectory, + PSECURITY_DESCRIPTOR SecurityDescriptor + ); -VOID InitializeListHead(PLIST_ENTRY ListHead); -VOID InsertHeadList(PLIST_ENTRY ListHead, PLIST_ENTRY Entry); -VOID InsertTailList(PLIST_ENTRY ListHead, PLIST_ENTRY Entry); -BOOLEAN IsListEmpty(PLIST_ENTRY ListHead); -PSINGLE_LIST_ENTRY PopEntryList(PSINGLE_LIST_ENTRY ListHead); -VOID PushEntryList(PSINGLE_LIST_ENTRY ListHead, PSINGLE_LIST_ENTRY Entry); -VOID RemoveEntryList(PLIST_ENTRY Entry); -PLIST_ENTRY RemoveHeadList(PLIST_ENTRY ListHead); -PLIST_ENTRY RemoveTailList(PLIST_ENTRY ListHead); -ULONG RtlAnsiStringToUnicodeSize(PANSI_STRING AnsiString); -NTSTATUS RtlAnsiStringToUnicodeString(PUNICODE_STRING DestinationString, - PANSI_STRING SourceString, - BOOLEAN AllocateDestinationString); -NTSTATUS RtlAppendUnicodeStringToString(PUNICODE_STRING Destination, - PUNICODE_STRING Source); -NTSTATUS RtlAppendUnicodeToString(PUNICODE_STRING Destination, - PWSTR Source); -NTSTATUS RtlCharToInteger(PCSZ String, ULONG Base, PULONG Value); -NTSTATUS RtlCheckRegistryKey(ULONG RelativeTo, PWSTR Path); -ULONG RtlCompareMemory(PVOID Source1, PVOID Source2, ULONG Length); -LONG RtlCompareString(PSTRING String1, PSTRING String2, - BOOLEAN CaseInsensitive); -LONG RtlCompareUnicodeString(PUNICODE_STRING String1, - PUNICODE_STRING String2, - BOOLEAN BaseInsensitive); -LARGE_INTEGER RtlConvertLongToLargeInteger(LONG SignedInteger); -LARGE_INTEGER RtlConvertUlongToLargeInteger(ULONG UnsignedInteger); -VOID RtlCopyBytes(PVOID Destination, CONST VOID* Source, ULONG Length); -VOID RtlCopyMemory(VOID* Destination, CONST VOID* Source, ULONG Length); -VOID RtlCopyString(PSTRING DestinationString, PSTRING SourceString); -VOID RtlCopyUnicodeString(PUNICODE_STRING DestinationString, - PUNICODE_STRING SourceString); -NTSTATUS RtlCreateRegistryKey(ULONG RelativeTo, - PWSTR Path); -NTSTATUS RtlCreateSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, - ULONG Revision); -NTSTATUS RtlDeleteRegistryValue(ULONG RelativeTo, - PWSTR Path, - PWSTR ValueName); -LARGE_INTEGER RtlEnlargedIntegerMultiply(LONG Multiplicand, - LONG Multiplier); -ULONG RtlEnlargedUnsignedDivide(ULARGE_INTEGER Dividend, - ULONG Divisor, - PULONG Remainder); -LARGE_INTEGER RtlEnlargedUnsignedMultiply(ULONG Multiplicand, - ULONG Multiplier); -BOOLEAN RtlEqualString(PSTRING String1, - PSTRING String2, - BOOLEAN CaseInSensitive); -BOOLEAN RtlEqualUnicodeString(PUNICODE_STRING String1, - PUNICODE_STRING String2, - BOOLEAN CaseInSensitive); -LARGE_INTEGER RtlExtendedIntegerMultiply(LARGE_INTEGER Multiplicand, - LONG Multiplier); -LARGE_INTEGER RtlExtendedLargeIntegerDivide(LARGE_INTEGER Dividend, - ULONG Divisor, - PULONG Remainder); -LARGE_INTEGER RtlExtendedMagicDivide(LARGE_INTEGER Dividend, - LARGE_INTEGER MagicDivisor, - CCHAR ShiftCount); -VOID RtlFillMemory(PVOID Destination, ULONG Length, UCHAR Fill); -VOID RtlFreeAnsiString(PANSI_STRING AnsiString); -VOID RtlFreeUnicodeString(PUNICODE_STRING UnicodeString); -VOID RtlInitAnsiString(PANSI_STRING DestinationString, - PCSZ SourceString); -VOID RtlInitString(PSTRING DestinationString, PCSZ SourceString); -VOID RtlInitUnicodeString(PUNICODE_STRING DestinationString, - PCWSTR SourceString); -NTSTATUS RtlIntegerToUnicodeString(ULONG Value, - ULONG Base, - PUNICODE_STRING String); -LARGE_INTEGER RtlLargeIntegerAdd(LARGE_INTEGER Addend1, - LARGE_INTEGER Addend2); -VOID RtlLargeIntegerAnd(PLARGE_INTEGER Result, - LARGE_INTEGER Source, - LARGE_INTEGER Mask); +VOID +InitializeListHead ( + PLIST_ENTRY ListHead + ); + +VOID +InsertHeadList ( + PLIST_ENTRY ListHead, + PLIST_ENTRY Entry + ); + +VOID +InsertTailList ( + PLIST_ENTRY ListHead, + PLIST_ENTRY Entry + ); + +BOOLEAN +IsListEmpty ( + PLIST_ENTRY ListHead + ); + +PSINGLE_LIST_ENTRY +PopEntryList ( + PSINGLE_LIST_ENTRY ListHead + ); + +VOID +PushEntryList ( + PSINGLE_LIST_ENTRY ListHead, + PSINGLE_LIST_ENTRY Entry + ); + +VOID +RemoveEntryList ( + PLIST_ENTRY Entry + ); + +PLIST_ENTRY +RemoveHeadList ( + PLIST_ENTRY ListHead + ); + +PLIST_ENTRY +RemoveTailList ( + PLIST_ENTRY ListHead + ); + +ULONG +RtlAnsiStringToUnicodeSize ( + PANSI_STRING AnsiString + ); + +NTSTATUS +RtlAnsiStringToUnicodeString ( + PUNICODE_STRING DestinationString, + PANSI_STRING SourceString, + BOOLEAN AllocateDestinationString + ); + +NTSTATUS +RtlAppendUnicodeStringToString ( + PUNICODE_STRING Destination, + PUNICODE_STRING Source + ); + +NTSTATUS +RtlAppendUnicodeToString ( + PUNICODE_STRING Destination, + PWSTR Source + ); + +NTSTATUS +RtlCharToInteger ( + PCSZ String, + ULONG Base, + PULONG Value + ); + +NTSTATUS +RtlCheckRegistryKey ( + ULONG RelativeTo, + PWSTR Path + ); + +ULONG +RtlCompareMemory ( + PVOID Source1, + PVOID Source2, + ULONG Length + ); + +LONG +RtlCompareString ( + PSTRING String1, + PSTRING String2, + BOOLEAN CaseInsensitive + ); + +LONG +RtlCompareUnicodeString ( + PUNICODE_STRING String1, + PUNICODE_STRING String2, + BOOLEAN BaseInsensitive + ); + +LARGE_INTEGER +RtlConvertLongToLargeInteger ( + LONG SignedInteger + ); + +LARGE_INTEGER +RtlConvertUlongToLargeInteger ( + ULONG UnsignedInteger + ); + +VOID +RtlCopyBytes ( + PVOID Destination, + CONST VOID * Source, + ULONG Length + ); + +VOID +RtlCopyMemory ( + VOID * Destination, + CONST VOID * Source, + ULONG Length + ); + +VOID +RtlCopyString ( + PSTRING DestinationString, + PSTRING SourceString + ); + +VOID +RtlCopyUnicodeString ( + PUNICODE_STRING DestinationString, + PUNICODE_STRING SourceString + ); + +NTSTATUS +RtlCreateRegistryKey ( + ULONG RelativeTo, + PWSTR Path + ); + +NTSTATUS +RtlCreateSecurityDescriptor ( + PSECURITY_DESCRIPTOR SecurityDescriptor, + ULONG Revision + ); + +NTSTATUS +RtlDeleteRegistryValue ( + ULONG RelativeTo, + PWSTR Path, + PWSTR ValueName + ); + +LARGE_INTEGER +RtlEnlargedIntegerMultiply ( + LONG Multiplicand, + LONG Multiplier + ); + +ULONG +RtlEnlargedUnsignedDivide ( + ULARGE_INTEGER Dividend, + ULONG Divisor, + PULONG Remainder + ); + +LARGE_INTEGER +RtlEnlargedUnsignedMultiply ( + ULONG Multiplicand, + ULONG Multiplier + ); + +BOOLEAN +RtlEqualString ( + PSTRING String1, + PSTRING String2, + BOOLEAN CaseInSensitive + ); + +BOOLEAN +RtlEqualUnicodeString ( + PUNICODE_STRING String1, + PUNICODE_STRING String2, + BOOLEAN CaseInSensitive + ); + +LARGE_INTEGER +RtlExtendedIntegerMultiply ( + LARGE_INTEGER Multiplicand, + LONG Multiplier + ); + +LARGE_INTEGER +RtlExtendedLargeIntegerDivide ( + LARGE_INTEGER Dividend, + ULONG Divisor, + PULONG Remainder + ); + +LARGE_INTEGER +RtlExtendedMagicDivide ( + LARGE_INTEGER Dividend, + LARGE_INTEGER MagicDivisor, + CCHAR ShiftCount + ); + +VOID +RtlFillMemory ( + PVOID Destination, + ULONG Length, + UCHAR Fill + ); + +VOID +RtlFreeAnsiString ( + PANSI_STRING AnsiString + ); + +VOID +RtlFreeUnicodeString ( + PUNICODE_STRING UnicodeString + ); + +VOID +RtlInitAnsiString ( + PANSI_STRING DestinationString, + PCSZ SourceString + ); + +VOID +RtlInitString ( + PSTRING DestinationString, + PCSZ SourceString + ); + +VOID +RtlInitUnicodeString ( + PUNICODE_STRING DestinationString, + PCWSTR SourceString + ); + +NTSTATUS +RtlIntegerToUnicodeString ( + ULONG Value, + ULONG Base, + PUNICODE_STRING String + ); + +LARGE_INTEGER +RtlLargeIntegerAdd ( + LARGE_INTEGER Addend1, + LARGE_INTEGER Addend2 + ); + +VOID +RtlLargeIntegerAnd ( + PLARGE_INTEGER Result, + LARGE_INTEGER Source, + LARGE_INTEGER Mask + ); /* MISSING FUNCTIONS GO HERE */ -LARGE_INTEGER RtlConvertLongToLargeInteger(LONG SignedInteger); -LARGE_INTEGER RtlConvertUlongToLargeInteger(ULONG UnsignedInteger); -LARGE_INTEGER RtlEnlargedIntegerMultiply(LONG Multiplicand, - LONG Multiplier); -ULONG RtlEnlargedUnsignedDivide(ULARGE_INTEGER Dividend, - ULONG Divisor, - PULONG Remainder); -LARGE_INTEGER RtlEnlargedUnsignedMultiply(ULONG Multiplicand, - ULONG Multipler); -LARGE_INTEGER RtlExtendedIntegerMultiply(LARGE_INTEGER Multiplicand, - LONG Multiplier); -LARGE_INTEGER RtlExtendedLargeIntegerDivide(LARGE_INTEGER Dividend, - ULONG Divisor, - PULONG Remainder); -LARGE_INTEGER RtlExtendedMagicDivide(LARGE_INTEGER Dividend, - LARGE_INTEGER MagicDivisor, - CCHAR ShiftCount); -LARGE_INTEGER ExInterlockedAddLargeInteger(PLARGE_INTEGER Addend, - LARGE_INTEGER Increment, - PKSPIN_LOCK Lock); -LARGE_INTEGER RtlLargeIntegerAdd(LARGE_INTEGER Addend1, - LARGE_INTEGER Addend2); -VOID RtlLargeIntegerAnd(PLARGE_INTEGER Result, - LARGE_INTEGER Source, - LARGE_INTEGER Mask); -LARGE_INTEGER RtlLargeIntegerArithmeticShift(LARGE_INTEGER LargeInteger, - CCHAR ShiftCount); -LARGE_INTEGER RtlLargeIntegerDivide(LARGE_INTEGER Dividend, - LARGE_INTEGER Divisor, - PLARGE_INTEGER Remainder); -BOOLEAN RtlLargeIntegerEqualTo(LARGE_INTEGER Operand1, - LARGE_INTEGER Operand2); -BOOLEAN RtlLargeIntegerEqualToZero(LARGE_INTEGER Operand); -BOOLEAN RtlLargeIntegerGreaterThan(LARGE_INTEGER Operand1, - LARGE_INTEGER Operand2); -BOOLEAN RtlLargeIntegerGreaterThanOrEqualTo(LARGE_INTEGER Operand1, - LARGE_INTEGER Operand2); -BOOLEAN RtlLargeIntegerGreaterThanOrEqualToZero(LARGE_INTEGER Operand1); -BOOLEAN RtlLargeIntegerGreaterThanZero(LARGE_INTEGER Operand1); -BOOLEAN RtlLargeIntegerLessThan(LARGE_INTEGER Operand1, - LARGE_INTEGER Operand2); -BOOLEAN RtlLargeIntegerLessThanOrEqualTo(LARGE_INTEGER Operand1, - LARGE_INTEGER Operand2); -BOOLEAN RtlLargeIntegerLessThanOrEqualToZero(LARGE_INTEGER Operand); -BOOLEAN RtlLargeIntegerLessThanZero(LARGE_INTEGER Operand); -LARGE_INTEGER RtlLargeIntegerNegate(LARGE_INTEGER Subtrahend); -BOOLEAN RtlLargeIntegerNotEqualTo(LARGE_INTEGER Operand1, - LARGE_INTEGER Operand2); -BOOLEAN RtlLargeIntegerNotEqualToZero(LARGE_INTEGER Operand); -LARGE_INTEGER RtlLargeIntegerShiftLeft(LARGE_INTEGER LargeInteger, - CCHAR ShiftCount); -LARGE_INTEGER RtlLargeIntegerShiftRight(LARGE_INTEGER LargeInteger, - CCHAR ShiftCount); -LARGE_INTEGER RtlLargeIntegerSubtract(LARGE_INTEGER Minuend, - LARGE_INTEGER Subtrahend); -ULONG RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor); -VOID RtlMoveMemory(PVOID Destination, CONST VOID* Source, ULONG Length); -NTSTATUS RtlQueryRegistryValues(ULONG RelativeTo, - PWSTR Path, - PRTL_QUERY_REGISTRY_TABLE QueryTable, - PVOID Context, PVOID Environment); -VOID RtlRetrieveUlong(PULONG DestinationAddress, - PULONG SourceAddress); -VOID RtlRetrieveUshort(PUSHORT DestinationAddress, - PUSHORT SourceAddress); -NTSTATUS RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, - BOOLEAN DaclPresent, - PACL Dacl, - BOOLEAN DaclDefaulted); -VOID RtlStoreLong(PULONG Address, ULONG Value); -VOID RtlStoreUshort(PUSHORT Address, USHORT Value); -BOOLEAN RtlTimeFieldsToTime(PTIME_FIELDS TimeFields, PLARGE_INTEGER Time); -VOID RtlTimeToTimeFields(PLARGE_INTEGER Time, PTIME_FIELDS TimeFields); -PWSTR RtlStrtok(PUNICODE_STRING _string, PWSTR _sep, PWSTR* temp); -VOID RtlGetCallersAddress(PVOID* CallersAddress); -VOID RtlZeroMemory(PVOID Destination, ULONG Length); +LARGE_INTEGER +RtlConvertLongToLargeInteger ( + LONG SignedInteger + ); + +LARGE_INTEGER +RtlConvertUlongToLargeInteger ( + ULONG UnsignedInteger + ); + +LARGE_INTEGER +RtlEnlargedIntegerMultiply ( + LONG Multiplicand, + LONG Multiplier + ); + +ULONG +RtlEnlargedUnsignedDivide ( + ULARGE_INTEGER Dividend, + ULONG Divisor, + PULONG Remainder + ); + +LARGE_INTEGER +RtlEnlargedUnsignedMultiply ( + ULONG Multiplicand, + ULONG Multipler + ); + +LARGE_INTEGER +RtlExtendedIntegerMultiply ( + LARGE_INTEGER Multiplicand, + LONG Multiplier + ); + +LARGE_INTEGER +RtlExtendedLargeIntegerDivide ( + LARGE_INTEGER Dividend, + ULONG Divisor, + PULONG Remainder + ); + +LARGE_INTEGER +RtlExtendedMagicDivide ( + LARGE_INTEGER Dividend, + LARGE_INTEGER MagicDivisor, + CCHAR ShiftCount + ); + +LARGE_INTEGER +ExInterlockedAddLargeInteger ( + PLARGE_INTEGER Addend, + LARGE_INTEGER Increment, + PKSPIN_LOCK Lock + ); + +LARGE_INTEGER +RtlLargeIntegerAdd ( + LARGE_INTEGER Addend1, + LARGE_INTEGER Addend2 + ); + +VOID +RtlLargeIntegerAnd ( + PLARGE_INTEGER Result, + LARGE_INTEGER Source, + LARGE_INTEGER Mask + ); + +LARGE_INTEGER +RtlLargeIntegerArithmeticShift ( + LARGE_INTEGER LargeInteger, + CCHAR ShiftCount + ); + +LARGE_INTEGER +RtlLargeIntegerDivide ( + LARGE_INTEGER Dividend, + LARGE_INTEGER Divisor, + PLARGE_INTEGER Remainder + ); + +BOOLEAN +RtlLargeIntegerEqualTo ( + LARGE_INTEGER Operand1, + LARGE_INTEGER Operand2 + ); + +BOOLEAN +RtlLargeIntegerEqualToZero ( + LARGE_INTEGER Operand + ); + +BOOLEAN +RtlLargeIntegerGreaterThan ( + LARGE_INTEGER Operand1, + LARGE_INTEGER Operand2 + ); + +BOOLEAN +RtlLargeIntegerGreaterThanOrEqualTo ( + LARGE_INTEGER Operand1, + LARGE_INTEGER Operand2 + ); + +BOOLEAN +RtlLargeIntegerGreaterThanOrEqualToZero ( + LARGE_INTEGER Operand1 + ); + +BOOLEAN +RtlLargeIntegerGreaterThanZero ( + LARGE_INTEGER Operand1 + ); + +BOOLEAN +RtlLargeIntegerLessThan ( + LARGE_INTEGER Operand1, + LARGE_INTEGER Operand2 + ); + +BOOLEAN +RtlLargeIntegerLessThanOrEqualTo ( + LARGE_INTEGER Operand1, + LARGE_INTEGER Operand2 + ); + +BOOLEAN +RtlLargeIntegerLessThanOrEqualToZero ( + LARGE_INTEGER Operand + ); + +BOOLEAN +RtlLargeIntegerLessThanZero ( + LARGE_INTEGER Operand + ); + +LARGE_INTEGER +RtlLargeIntegerNegate ( + LARGE_INTEGER Subtrahend + ); + +BOOLEAN +RtlLargeIntegerNotEqualTo ( + LARGE_INTEGER Operand1, + LARGE_INTEGER Operand2 + ); + +BOOLEAN +RtlLargeIntegerNotEqualToZero ( + LARGE_INTEGER Operand + ); + +LARGE_INTEGER +RtlLargeIntegerShiftLeft ( + LARGE_INTEGER LargeInteger, + CCHAR ShiftCount + ); + +LARGE_INTEGER +RtlLargeIntegerShiftRight ( + LARGE_INTEGER LargeInteger, + CCHAR ShiftCount + ); + +LARGE_INTEGER +RtlLargeIntegerSubtract ( + LARGE_INTEGER Minuend, + LARGE_INTEGER Subtrahend + ); + +ULONG +RtlLengthSecurityDescriptor ( + PSECURITY_DESCRIPTOR SecurityDescriptor + ); + +VOID +RtlMoveMemory ( + PVOID Destination, + CONST VOID * Source, + ULONG Length + ); + +NTSTATUS +RtlQueryRegistryValues ( + ULONG RelativeTo, + PWSTR Path, + PRTL_QUERY_REGISTRY_TABLE QueryTable, + PVOID Context, + PVOID Environment + ); + +VOID +RtlRetrieveUlong ( + PULONG DestinationAddress, + PULONG SourceAddress + ); + +VOID +RtlRetrieveUshort ( + PUSHORT DestinationAddress, + PUSHORT SourceAddress + ); + +NTSTATUS +RtlSetDaclSecurityDescriptor ( + PSECURITY_DESCRIPTOR SecurityDescriptor, + BOOLEAN DaclPresent, + PACL Dacl, + BOOLEAN DaclDefaulted + ); + +VOID +RtlStoreLong ( + PULONG Address, + ULONG Value + ); + +VOID +RtlStoreUshort ( + PUSHORT Address, + USHORT Value + ); + +BOOLEAN +RtlTimeFieldsToTime ( + PTIME_FIELDS TimeFields, + PLARGE_INTEGER Time + ); + +VOID +RtlTimeToTimeFields ( + PLARGE_INTEGER Time, + PTIME_FIELDS TimeFields + ); + +PWSTR +RtlStrtok ( + PUNICODE_STRING _string, + PWSTR _sep, + PWSTR * temp + ); + +VOID +RtlGetCallersAddress ( + PVOID * CallersAddress + ); + +VOID +RtlZeroMemory ( + PVOID Destination, + ULONG Length + ); typedef struct { ULONG Length; @@ -280,60 +652,154 @@ typedef struct { // Heap creation routine -HANDLE STDCALL RtlCreateHeap(ULONG Flags, - PVOID BaseAddress, - ULONG SizeToReserve, - ULONG SizeToCommit, - PVOID Unknown, - PRTL_HEAP_DEFINITION Definition); +HANDLE +STDCALL +RtlCreateHeap ( + ULONG Flags, + PVOID BaseAddress, + ULONG SizeToReserve, + ULONG SizeToCommit, + PVOID Unknown, + PRTL_HEAP_DEFINITION Definition + ); -PVOID STDCALL RtlAllocateHeap(HANDLE Heap, - ULONG Flags, - ULONG Size); +PVOID +STDCALL +RtlAllocateHeap ( + HANDLE Heap, + ULONG Flags, + ULONG Size + ); -BOOLEAN STDCALL RtlFreeHeap(HANDLE Heap, - ULONG Flags, - PVOID Address); +BOOLEAN +STDCALL +RtlFreeHeap ( + HANDLE Heap, + ULONG Flags, + PVOID Address + ); -NTSTATUS RtlUnicodeStringToAnsiString(IN OUT PANSI_STRING DestinationString, - IN PUNICODE_STRING SourceString, - IN BOOLEAN AllocateDestinationString); -NTSTATUS RtlUnicodeStringToInteger(IN PUNICODE_STRING String, IN ULONG Base, - OUT PULONG Value); -NTSTATUS RtlUpcaseUnicodeString(IN OUT PUNICODE_STRING DestinationString, - IN PUNICODE_STRING SourceString, - IN BOOLEAN AllocateDestinationString); -VOID RtlUpperString(PSTRING DestinationString, PSTRING SourceString); -BOOLEAN RtlValidSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor); -NTSTATUS RtlWriteRegistryValue(ULONG RelativeTo, - PWSTR Path, - PWSTR ValueName, - ULONG ValueType, - PVOID ValueData, - ULONG ValueLength); +NTSTATUS +RtlUnicodeStringToAnsiString ( + IN OUT PANSI_STRING DestinationString, + IN PUNICODE_STRING SourceString, + IN BOOLEAN AllocateDestinationString + ); + +NTSTATUS +RtlUnicodeStringToInteger ( + IN PUNICODE_STRING String, + IN ULONG Base, + OUT PULONG Value + ); + +NTSTATUS +RtlUpcaseUnicodeString ( + IN OUT PUNICODE_STRING DestinationString, + IN PUNICODE_STRING SourceString, + IN BOOLEAN AllocateDestinationString + ); + +VOID +RtlUpperString ( + PSTRING DestinationString, + PSTRING SourceString + ); + +BOOLEAN +RtlValidSecurityDescriptor ( + PSECURITY_DESCRIPTOR SecurityDescriptor + ); + +NTSTATUS +RtlWriteRegistryValue ( + ULONG RelativeTo, + PWSTR Path, + PWSTR ValueName, + ULONG ValueType, + PVOID ValueData, + ULONG ValueLength + ); + +VOID +RtlStoreUlong ( + PULONG Address, + ULONG Value + ); + + +DWORD +RtlNtStatusToDosError ( + NTSTATUS StatusCode + ); +BOOL +WINAPI +RtlDestroyHeap ( + HANDLE hheap + ); +LPVOID +STDCALL +RtlReAllocHeap ( + HANDLE hheap, + DWORD flags, + LPVOID ptr, + DWORD size + ); -VOID RtlStoreUlong(PULONG Address, - ULONG Value); +HANDLE +WINAPI +RtlGetProcessHeap (VOID); +BOOL +WINAPI +RtlLockHeap ( + HANDLE hheap + ); -DWORD RtlNtStatusToDosError(NTSTATUS StatusCode); +BOOL +WINAPI +RtlUnlockHeap ( + HANDLE hheap + ); +UINT +RtlCompactHeap ( + HANDLE hheap, + DWORD flags + ); +DWORD +WINAPI +RtlSizeHeap ( + HANDLE hheap, + DWORD flags, + PVOID pmem + ); -BOOL WINAPI RtlDestroyHeap(HANDLE hheap); -LPVOID STDCALL RtlReAllocHeap(HANDLE hheap, DWORD flags, LPVOID ptr, - DWORD size); -HANDLE WINAPI RtlGetProcessHeap(VOID); -BOOL WINAPI RtlLockHeap(HANDLE hheap); -BOOL WINAPI RtlUnlockHeap(HANDLE hheap); -UINT RtlCompactHeap(HANDLE hheap, DWORD flags); -DWORD WINAPI RtlSizeHeap(HANDLE hheap, DWORD flags, PVOID pmem); -BOOL WINAPI RtlValidateHeap(HANDLE hheap, DWORD flags, PVOID pmem); +BOOL +WINAPI +RtlValidateHeap ( + HANDLE hheap, + DWORD flags, + PVOID pmem + ); +/* NtProcessStartup */ + +VOID +WINAPI +RtlDestroyProcessParameters( + IN OUT PSTARTUP_ARGUMENT pArgument + ); +VOID +WINAPI +RtlDenormalizeProcessParams ( + IN OUT PSTARTUP_ARGUMENT pArgument + ); #endif /* __DDK_RTL_H */ diff --git a/reactos/include/ddk/zw.h b/reactos/include/ddk/zw.h index 0e4a746813d..ab2a094fb52 100644 --- a/reactos/include/ddk/zw.h +++ b/reactos/include/ddk/zw.h @@ -1,4 +1,4 @@ -/* $Id: zw.h,v 1.15 1999/07/13 01:08:47 rex Exp $ +/* $Id: zw.h,v 1.16 1999/07/17 23:10:15 ea Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -1069,14 +1069,14 @@ ZwCreateSymbolicLinkObject( NTSTATUS STDCALL NtCreateThread( - OUT PHANDLE ThreadHandle, - IN ACCESS_MASK DesiredAccess, - IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, - IN HANDLE ProcessHandle, - OUT PCLIENT_ID ClientId, - IN PCONTEXT ThreadContext, - IN PINITIAL_TEB InitialTeb, - IN BOOLEAN CreateSuspended + OUT PHANDLE ThreadHandle, + IN ACCESS_MASK DesiredAccess, + IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, + IN HANDLE ProcessHandle, + OUT PCLIENT_ID ClientId, + IN PCONTEXT ThreadContext, + IN PINITIAL_TEB InitialTeb, + IN BOOLEAN CreateSuspended ); NTSTATUS @@ -4638,51 +4638,7 @@ ZwSetVolumeInformationFile( PVOID VolumeInformation, ULONG Length ); -/* - * FUNCTION: Shuts the system down - * ARGUMENTS: - * Action: Specifies the type of shutdown, it can be one of the following values: - ShutdownNoReboot, ShutdownReboot, ShutdownPowerOff - * RETURNS: Status - */ -NTSTATUS -STDCALL -NtShutdownSystem( - IN SHUTDOWN_ACTION Action - ); - -NTSTATUS -STDCALL -ZwShutdownSystem( - IN SHUTDOWN_ACTION Action - ); -/* - * FUNCTION: Signals an event and wait for it to be signaled again. - * ARGUMENTS: - * EventHandle = Handle to the event that should be signaled - * Alertable = True if the wait is alertable - * Time = The time to wait - * NumberOfWaitingThreads = Number of waiting threads - * RETURNS: Status - */ - -NTSTATUS -STDCALL -NtSignalAndWaitForSingleObject( - IN HANDLE EventHandle, - IN BOOLEAN Alertable, - IN PLARGE_INTEGER Time, - PULONG NumberOfWaitingThreads OPTIONAL - ); - -NTSTATUS -STDCALL -ZwSignalAndWaitForSingleObject( - IN HANDLE EventHandle, - IN BOOLEAN Alertable, - IN PLARGE_INTEGER Time, - PULONG NumberOfWaitingThreads OPTIONAL - ); +/* --- PROFILING --- */ /* * FUNCTION: Starts profiling @@ -4723,29 +4679,7 @@ ZwStopProfile( HANDLE ProfileHandle ); -/* - * FUNCTION: Increments a thread's resume count - * ARGUMENTS: - * ThreadHandle = Handle to the thread that should be resumed - * PreviousSuspendCount = The resulting/previous suspend count. - * REMARK: - * A thread will be suspended if its suspend count is greater than 0. This procedure maps to - * the win32 SuspendThread function. ( documentation about the the suspend count can be found here aswell ) - * The suspend count is not increased if it is greater than MAXIMUM_SUSPEND_COUNT. - * RETURNS: Status - */ -NTSTATUS -STDCALL -NtSuspendThread( - IN HANDLE ThreadHandle, - IN PULONG PreviousSuspendCount - ); -NTSTATUS -STDCALL -ZwSuspendThread( - IN HANDLE ThreadHandle, - IN PULONG PreviousSuspendCount - ); +/* --- PROCESS MANAGEMENT --- */ //--NtSystemDebugControl /* @@ -4769,39 +4703,9 @@ ZwTerminateProcess( IN HANDLE ProcessHandle , IN NTSTATUS ExitStatus ); -/* - * FUNCTION: Terminates the execution of a thread. - * ARGUMENTS: - * ThreadHandle = Handle to the thread - * ExitStatus = The exit status of the thread to terminate with. - * RETURNS: Status - */ -NTSTATUS -STDCALL -NtTerminateThread( - IN HANDLE ThreadHandle , - IN NTSTATUS ExitStatus - ); -NTSTATUS -STDCALL -ZwTerminateThread( - IN HANDLE ThreadHandle , - IN NTSTATUS ExitStatus - ); -/* - * FUNCTION: Tests to see if there are any pending alerts for the calling thread - * RETURNS: Status - */ -NTSTATUS -STDCALL -NtTestAlert( - VOID - ); -NTSTATUS -STDCALL -ZwTestAlert( - VOID - ); + +/* --- DEVICE DRIVER CONTROL --- */ + /* * FUNCTION: Unloads a driver. * ARGUMENTS: @@ -4819,63 +4723,40 @@ ZwUnloadDriver( IN PUNICODE_STRING DriverServiceName ); -//FIXME: NtUnloadKey needs more arguments -/* - * FUNCTION: Unloads a registry key. - * ARGUMENTS: - * KeyHandle = Handle to the registry key - * REMARK: - This procedure maps to the win32 procedure RegUnloadKey - * RETURNS: Status - */ -NTSTATUS -STDCALL -NtUnloadKey( - HANDLE KeyHandle - ); -NTSTATUS -STDCALL -ZwUnloadKey( - HANDLE KeyHandle - ); +/* --- VIRTUAL MEMORY MANAGEMENT --- */ /* - * FUNCTION: Unlocks a range of bytes in a file. + * FUNCTION: Writes a range of virtual memory * ARGUMENTS: - * FileHandle = Handle to the file - * IoStatusBlock = Caller should supply storage for a structure containing - * the completion status and information about the requested unlock operation. - The information field is set to the number of bytes unlocked. - * ByteOffset = Offset to start the range of bytes to unlock - * Length = Number of bytes to unlock. - * Key = Special value to enable other threads to unlock a file than the - thread that locked the file. The key supplied must match with the one obtained - in a previous call to NtLockFile. - * REMARK: - This procedure maps to the win32 procedure UnlockFileEx. STATUS_PENDING is returned if the lock could - not be obtained immediately, the device queue is busy and the IRP is queued. - * RETURNS: Status [ STATUS_SUCCESS | STATUS_PENDING | STATUS_ACCESS_DENIED | STATUS_INSUFFICIENT_RESOURCES | - STATUS_INVALID_PARAMETER | STATUS_INVALID_DEVICE_REQUEST | STATUS_RANGE_NOT_LOCKED ] - */ -NTSTATUS -STDCALL -NtUnlockFile( - IN HANDLE FileHandle, - OUT PIO_STATUS_BLOCK IoStatusBlock, - IN PLARGE_INTEGER ByteOffset, - IN PLARGE_INTEGER Lenght, - OUT PULONG Key OPTIONAL + * ProcessHandle = The handle to the process owning the address space. + * BaseAddress = The points to the address to write to + * Buffer = Pointer to the buffer to write + * NumberOfBytesToWrite = Offset to the upper boundary to write + * NumberOfBytesWritten = Total bytes written + * REMARKS: + * This function maps to the win32 WriteProcessMemory + * RETURNS: Status + */ +NTSTATUS +STDCALL +NtWriteVirtualMemory( + IN HANDLE ProcessHandle, + IN PVOID BaseAddress, + IN PVOID Buffer, + IN ULONG NumberOfBytesToWrite, + OUT PULONG NumberOfBytesWritten ); -NTSTATUS -STDCALL -ZwUnlockFile( - IN HANDLE FileHandle, - OUT PIO_STATUS_BLOCK IoStatusBlock, - IN PLARGE_INTEGER ByteOffset, - IN PLARGE_INTEGER Lenght, - OUT PULONG Key OPTIONAL + +NTSTATUS +STDCALL +ZwWriteVirtualMemory( + IN HANDLE ProcessHandle, + IN PVOID BaseAddress, + IN PVOID Buffer, + IN ULONG NumberOfBytesToWrite, + OUT PULONG NumberOfBytesWritten ); - + /* * FUNCTION: Unlocks a range of virtual memory. * ARGUMENTS: @@ -4925,6 +4806,37 @@ ZwUnmapViewOfSection( IN HANDLE ProcessHandle, IN PVOID BaseAddress ); + +/* --- OBJECT SYNCHRONIZATION --- */ + +/* + * FUNCTION: Signals an event and wait for it to be signaled again. + * ARGUMENTS: + * EventHandle = Handle to the event that should be signaled + * Alertable = True if the wait is alertable + * Time = The time to wait + * NumberOfWaitingThreads = Number of waiting threads + * RETURNS: Status + */ + +NTSTATUS +STDCALL +NtSignalAndWaitForSingleObject( + IN HANDLE EventHandle, + IN BOOLEAN Alertable, + IN PLARGE_INTEGER Time, + PULONG NumberOfWaitingThreads OPTIONAL + ); + +NTSTATUS +STDCALL +ZwSignalAndWaitForSingleObject( + IN HANDLE EventHandle, + IN BOOLEAN Alertable, + IN PLARGE_INTEGER Time, + PULONG NumberOfWaitingThreads OPTIONAL + ); + /* * FUNCTION: Waits for multiple objects to become signalled. * ARGUMENTS: @@ -4982,6 +4894,8 @@ ZwWaitForSingleObject ( IN PLARGE_INTEGER Time ); +/* --- EVENT PAIR OBJECT --- */ + /* * FUNCTION: Waits for the high part of an eventpair to become signalled * ARGUMENTS: @@ -5013,6 +4927,46 @@ STDCALL ZwWaitLowEventPair( IN HANDLE EventPairHandle ); + +/* --- FILE MANAGEMENT --- */ + +/* + * FUNCTION: Unlocks a range of bytes in a file. + * ARGUMENTS: + * FileHandle = Handle to the file + * IoStatusBlock = Caller should supply storage for a structure containing + * the completion status and information about the requested unlock operation. + The information field is set to the number of bytes unlocked. + * ByteOffset = Offset to start the range of bytes to unlock + * Length = Number of bytes to unlock. + * Key = Special value to enable other threads to unlock a file than the + thread that locked the file. The key supplied must match with the one obtained + in a previous call to NtLockFile. + * REMARK: + This procedure maps to the win32 procedure UnlockFileEx. STATUS_PENDING is returned if the lock could + not be obtained immediately, the device queue is busy and the IRP is queued. + * RETURNS: Status [ STATUS_SUCCESS | STATUS_PENDING | STATUS_ACCESS_DENIED | STATUS_INSUFFICIENT_RESOURCES | + STATUS_INVALID_PARAMETER | STATUS_INVALID_DEVICE_REQUEST | STATUS_RANGE_NOT_LOCKED ] + */ +NTSTATUS +STDCALL +NtUnlockFile( + IN HANDLE FileHandle, + OUT PIO_STATUS_BLOCK IoStatusBlock, + IN PLARGE_INTEGER ByteOffset, + IN PLARGE_INTEGER Lenght, + OUT PULONG Key OPTIONAL + ); +NTSTATUS +STDCALL +ZwUnlockFile( + IN HANDLE FileHandle, + OUT PIO_STATUS_BLOCK IoStatusBlock, + IN PLARGE_INTEGER ByteOffset, + IN PLARGE_INTEGER Lenght, + OUT PULONG Key OPTIONAL + ); + /* * FUNCTION: Writes data to a file * ARGUMENTS: @@ -5113,37 +5067,67 @@ ZwWriteFileGather( ); +/* --- THREAD MANAGEMENT --- */ + /* - * FUNCTION: Writes a range of virtual memory + * FUNCTION: Increments a thread's resume count * ARGUMENTS: - * ProcessHandle = The handle to the process owning the address space. - * BaseAddress = The points to the address to write to - * Buffer = Pointer to the buffer to write - * NumberOfBytesToWrite = Offset to the upper boundary to write - * NumberOfBytesWritten = Total bytes written - * REMARKS: - * This function maps to the win32 WriteProcessMemory + * ThreadHandle = Handle to the thread that should be resumed + * PreviousSuspendCount = The resulting/previous suspend count. + * REMARK: + * A thread will be suspended if its suspend count is greater than 0. This procedure maps to + * the win32 SuspendThread function. ( documentation about the the suspend count can be found here aswell ) + * The suspend count is not increased if it is greater than MAXIMUM_SUSPEND_COUNT. * RETURNS: Status - */ -NTSTATUS + */ +NTSTATUS STDCALL -NtWriteVirtualMemory( - IN HANDLE ProcessHandle, - IN PVOID BaseAddress, - IN PVOID Buffer, - IN ULONG NumberOfBytesToWrite, - OUT PULONG NumberOfBytesWritten +NtSuspendThread( + IN HANDLE ThreadHandle, + IN PULONG PreviousSuspendCount ); -NTSTATUS +NTSTATUS STDCALL -ZwWriteVirtualMemory( - IN HANDLE ProcessHandle, - IN PVOID BaseAddress, - IN PVOID Buffer, - IN ULONG NumberOfBytesToWrite, - OUT PULONG NumberOfBytesWritten +ZwSuspendThread( + IN HANDLE ThreadHandle, + IN PULONG PreviousSuspendCount ); + +/* + * FUNCTION: Terminates the execution of a thread. + * ARGUMENTS: + * ThreadHandle = Handle to the thread + * ExitStatus = The exit status of the thread to terminate with. + * RETURNS: Status + */ +NTSTATUS +STDCALL +NtTerminateThread( + IN HANDLE ThreadHandle , + IN NTSTATUS ExitStatus + ); +NTSTATUS +STDCALL +ZwTerminateThread( + IN HANDLE ThreadHandle , + IN NTSTATUS ExitStatus + ); +/* + * FUNCTION: Tests to see if there are any pending alerts for the calling thread + * RETURNS: Status + */ +NTSTATUS +STDCALL +NtTestAlert( + VOID + ); +NTSTATUS +STDCALL +ZwTestAlert( + VOID + ); + /* * FUNCTION: Yields the callers thread. * RETURNS: Status @@ -5200,15 +5184,15 @@ STDCALL NtAcceptConnectPort ( /* @24 */ IN HANDLE PortHandle, OUT PHANDLE ConnectedPort, - DWORD a2, - DWORD a3, - DWORD a4, - DWORD a5 + IN DWORD Unknown2, + IN DWORD Unknown3, + IN DWORD Unknown4, + IN DWORD Unknown5 ); NTSTATUS STDCALL NtCompleteConnectPort ( /* @4 */ - HANDLE PortHandle + IN HANDLE PortHandle ); NTSTATUS STDCALL @@ -5307,38 +5291,174 @@ NtWriteRequestData ( /* @24 */ ); #endif /* ndef PROTO_LPC */ -NTSTATUS STDCALL NtGetPlugPlayEvent(VOID); +/* --- REGISTRY --- */ -NTSTATUS STDCALL NtLoadKey2(VOID); +//FIXME: NtUnloadKey needs more arguments +/* + * FUNCTION: Unloads a registry key. + * ARGUMENTS: + * KeyHandle = Handle to the registry key + * REMARK: + This procedure maps to the win32 procedure RegUnloadKey + * RETURNS: Status + */ +NTSTATUS +STDCALL +NtUnloadKey( + HANDLE KeyHandle + ); +NTSTATUS +STDCALL +ZwUnloadKey( + HANDLE KeyHandle + ); + +NTSTATUS +STDCALL +NtLoadKey2 ( + VOID + ); + +/* --- PLUG AND PLAY --- */ + +NTSTATUS +STDCALL +NtPlugPlayControl ( + VOID + ); + +NTSTATUS +STDCALL +NtGetPlugPlayEvent ( + VOID + ); + +/* --- NATIONAL LANGUAGE SUPPORT (NLS) --- */ + +NTSTATUS +STDCALL +NtQueryDefaultLocale ( + VOID + ); + +NTSTATUS +STDCALL +NtSetDefaultLocale ( + VOID + ); + +/* --- POWER MANAGEMENT --- */ + +NTSTATUS +STDCALL +NtSetSystemPowerState ( + VOID + ); + +/* --- DEBUG SUBSYSTEM --- */ + +NTSTATUS +STDCALL +NtSystemDebugControl ( + VOID + ); -NTSTATUS STDCALL NtPlugPlayControl(VOID); +/* --- VIRTUAL DOS MACHINE (VDM) --- */ -NTSTATUS STDCALL NtQueryDefaultLocale(VOID); +NTSTATUS +STDCALL +NtVdmControl ( + VOID + ); +/* --- WIN32 --- */ -NTSTATUS STDCALL NtQueryOleDirectoryFile(VOID); +NTSTATUS +STDCALL +NtW32Call ( + VOID + ); -NTSTATUS STDCALL NtRaiseHardError(VOID); +/* --- CHANNELS --- */ -NTSTATUS STDCALL NtSetDefaultLocale(VOID); +NTSTATUS +STDCALL +NtCreateChannel ( + VOID + ); + +NTSTATUS +STDCALL +NtListenChannel ( + VOID + ); + +NTSTATUS +STDCALL +NtOpenChannel ( + VOID + ); + +NTSTATUS +STDCALL +NtReplyWaitSendChannel ( + VOID + ); + +NTSTATUS +STDCALL +NtSendWaitReplyChannel ( + VOID + ); + +NTSTATUS +STDCALL +NtSetContextChannel ( + VOID + ); + +/* --- MISCELLANEA --- */ //NTSTATUS STDCALL NtSetLdtEntries(VOID); -NTSTATUS STDCALL NtSetLdtEntries(PETHREAD Thread, - ULONG FirstEntry, - PULONG Entries); +NTSTATUS +STDCALL +NtSetLdtEntries ( + PETHREAD Thread, + ULONG FirstEntry, + PULONG Entries + ); -NTSTATUS STDCALL NtSetSystemPowerState(VOID); +/* + * FUNCTION: Shuts the system down + * ARGUMENTS: + * Action: Specifies the type of shutdown, it can be one of the following values: + ShutdownNoReboot, ShutdownReboot, ShutdownPowerOff + * RETURNS: Status + */ +NTSTATUS +STDCALL +NtShutdownSystem( + IN SHUTDOWN_ACTION Action + ); -NTSTATUS STDCALL NtSystemDebugControl(VOID); -NTSTATUS STDCALL NtVdmControl(VOID); +NTSTATUS +STDCALL +ZwShutdownSystem( + IN SHUTDOWN_ACTION Action + ); + +NTSTATUS +STDCALL +NtQueryOleDirectoryFile ( + VOID + ); + +NTSTATUS +STDCALL +NtRaiseHardError ( + VOID + ); -NTSTATUS STDCALL NtW32Call(VOID); -NTSTATUS STDCALL NtCreateChannel(VOID); -NTSTATUS STDCALL NtListenChannel(VOID); -NTSTATUS STDCALL NtOpenChannel(VOID); -NTSTATUS STDCALL NtReplyWaitSendChannel(VOID); -NTSTATUS STDCALL NtSendWaitReplyChannel(VOID); -NTSTATUS STDCALL NtSetContextChannel(VOID); #endif /* __DDK_ZW_H */ diff --git a/reactos/include/reactos/resource.h b/reactos/include/reactos/resource.h index 13143481036..31bfa32e009 100644 --- a/reactos/include/reactos/resource.h +++ b/reactos/include/reactos/resource.h @@ -7,7 +7,7 @@ #define RES_UINT_FV_MINOR 0 #define RES_UINT_FV_REVISION 14 /* Build number as YYYYMMDD */ -#define RES_UINT_FV_BUILD 19990618 +#define RES_UINT_FV_BUILD 19990717 /* ReactOS Product Version UINTs */ @@ -15,7 +15,7 @@ #define RES_UINT_PV_MINOR 0 #define RES_UINT_PV_REVISION 14 /* Build number as YYYYMMDD */ -#define RES_UINT_PV_BUILD 19990618 +#define RES_UINT_PV_BUILD 19990606 /* Common version strings for rc scripts */ diff --git a/reactos/lib/advapi32/advapi32.def b/reactos/lib/advapi32/advapi32.def index 340e38635b1..2bd8160c31a 100644 --- a/reactos/lib/advapi32/advapi32.def +++ b/reactos/lib/advapi32/advapi32.def @@ -1,4 +1,4 @@ -; $Id: advapi32.def,v 1.2 1999/05/19 16:43:30 ea Exp $ +; $Id: advapi32.def,v 1.3 1999/07/17 23:10:16 ea Exp $ ; ; advapi32.def ; @@ -8,404 +8,404 @@ ; LIBRARY advapi32 EXPORTS -AbortSystemShutdownA = AbortSystemShutdownA@4 -AbortSystemShutdownW = AbortSystemShutdownW@4 -AccessCheck = AccessCheck@32 -AccessCheckAndAuditAlarmA = AccessCheckAndAuditAlarmA@44 -AccessCheckAndAuditAlarmW = AccessCheckAndAuditAlarmW@44 -AddAccessAllowedAce = AddAccessAllowedAce@16 -AddAccessDeniedAce = AddAccessDeniedAce@16 -AddAce = AddAce@20 -AddAuditAccessAce = AddAuditAccessAce@24 -AdjustTokenGroups = AdjustTokenGroups@24 -AdjustTokenPrivileges = AdjustTokenPrivileges@24 -AllocateAndInitializeSid = AllocateAndInitializeSid@44 -AllocateLocallyUniqueId = AllocateLocallyUniqueId@4 -AreAllAccessesGranted = AreAllAccessesGranted@8 -AreAnyAccessesGranted = AreAnyAccessesGranted@8 -BackupEventLogA = BackupEventLogA@8 -BackupEventLogW = BackupEventLogW@8 -BuildAccessRequestA = -BuildAccessRequestW = -BuildExplicitAccessWithNameA = BuildExplicitAccessWithNameA@20 -BuildExplicitAccessWithNameW = BuildExplicitAccessWithNameW@20 -BuildImpersonateExplicitAccessWithNameA = -BuildImpersonateExplicitAccessWithNameW = -BuildImpersonateTrusteeA = -BuildImpersonateTrusteeW = -BuildSecurityDescriptorA = BuildSecurityDescriptorA@36 -BuildSecurityDescriptorW = BuildSecurityDescriptorW@36 -BuildTrusteeWithNameA = BuildTrusteeWithNameA@8 -BuildTrusteeWithNameW = BuildTrusteeWithNameW@8 -BuildTrusteeWithSidA = BuildTrusteeWithSidA@8 -BuildTrusteeWithSidW = BuildTrusteeWithSidW@8 -ChangeServiceConfigA = ChangeServiceConfigA@44 -ChangeServiceConfigW = ChangeServiceConfigW@44 -ClearEventLogA = ClearEventLogA@8 -ClearEventLogW = ClearEventLogW@8 -CloseEventLog = ClearEventLogA@8 -CloseServiceHandle = CloseServiceHandle@4 -ControlService = ControlService@12 -CopySid = CopySid@12 -CreatePrivateObjectSecurity = CreatePrivateObjectSecurity@24 -CreateProcessAsUserA = CreateProcessAsUserA@44 -CreateProcessAsUserW = CreateProcessAsUserW@44 -CreateServiceA = CreateServiceA@52 -CreateServiceW = CreateServiceW@52 -CryptAcquireContextA = CryptAcquireContextA@20 -CryptAcquireContextW = CryptAcquireContextW@20 -CryptCreateHash = CryptCreateHash@20 -CryptDecrypt = CryptDecrypt@24 -CryptDeriveKey = CryptDeriveKey@20 -CryptDestroyHash = CryptDestroyHash@4 -CryptDestroyKey = CryptDestroyKey@4 -CryptEncrypt = CryptEncrypt@28 -CryptExportKey = CryptExportKey@24 -CryptGenKey = CryptGenKey@16 -CryptGenRandom = CryptGenRandom@12 -CryptGetHashParam = CryptGetHashParam@20 -CryptGetKeyParam = CryptGetKeyParam@20 -CryptGetProvParam = CryptGetProvParam@20 -CryptGetUserKey = CryptGetUserKey@12 -CryptHashData = CryptHashData@16 -CryptHashSessionKey = CryptHashSessionKey@12 -CryptImportKey = CryptImportKey@24 -CryptReleaseContext = CryptReleaseContext@8 -CryptSetHashParam = CryptSetHashParam@16 -CryptSetKeyParam = CryptSetKeyParam@16 -CryptSetProvParam = CryptSetProvParam@16 -CryptSetProviderA = CryptSetProviderA@8 -CryptSetProviderW = CryptSetProviderW@8 -CryptSignHashA = CryptSignHashA@24 -CryptSignHashW = CryptSignHashW@24 -CryptVerifySignatureA = CryptVerifySignatureA@24 -CryptVerifySignatureW = CryptVerifySignatureW@24 -DeleteAce = DeleteAce@8 -DeleteService = DeleteService@4 -DenyAccessRightsA = -DenyAccessRightsW = -DeregisterEventSource = DeregisterEventSource@4 -DestroyPrivateObjectSecurity = DestroyPrivateObjectSecurity@4 -DuplicateToken = DuplicateToken@12 -DuplicateTokenEx = DuplicateTokenEx@24 -ElfBackupEventLogFileA = ElfBackupEventLogFileA@8 -ElfBackupEventLogFileW = ElfBackupEventLogFileW@8 -ElfChangeNotify = ElfChangeNotify@8 -ElfClearEventLogFileA = ElfClearEventLogFileA@8 -ElfClearEventLogFileW = ElfClearEventLogFileW@8 -ElfCloseEventLog = ElfCloseEventLog@4 -ElfDeregisterEventSource = ElfDeregisterEventSource@4 -ElfNumberOfRecords = ElfNumberOfRecords@8 -ElfOldestRecord = ElfOldestRecord@8 -ElfOpenBackupEventLogA = ElfOpenBackupEventLogA@12 -ElfOpenBackupEventLogW = ElfOpenBackupEventLogW@12 -ElfOpenEventLogA = ElfOpenEventLogA@12 -ElfOpenEventLogW = ElfOpenEventLogW@12 -ElfReadEventLogA = ElfReadEventLogA@28 -ElfReadEventLogW = ElfReadEventLogW@28 -ElfRegisterEventSourceA = ElfRegisterEventSourceA@12 -ElfRegisterEventSourceW = ElfRegisterEventSourceW@12 -ElfReportEventA = ElfReportEventA@48 -ElfReportEventW = ElfReportEventW@48 -EnumDependentServicesA = EnumDependentServicesA@24 -EnumDependentServicesW = EnumDependentServicesW@24 -EnumServiceGroupW = -EnumServicesStatusA = EnumServicesStatusA@32 -EnumServicesStatusW = EnumServicesStatusW@32 -EqualPrefixSid = EqualPrefixSid@8 -EqualSid = EqualSid@8 -FindFirstFreeAce = FindFirstFreeAce@8 -FreeSid = FreeSid@4 -GetAce = GetAce@12 -GetAclInformation = GetAclInformation@16 -GetAuditedPermissionsFromAclA = -GetAuditedPermissionsFromAclW = -GetAuditedPermissionsFromSDA = -GetAuditedPermissionsFromSDW = -GetCurrentHwProfileA = -GetCurrentHwProfileW = -GetEffectiveAccessRightsA = -GetEffectiveAccessRightsW = -GetEffectiveRightsFromAclA = -GetEffectiveRightsFromAclW = -GetEffectiveRightsFromSDA = -GetEffectiveRightsFromSDW = -GetExplicitAccessRightsA = -GetExplicitAccessRightsW = -GetExplicitEntriesFromAclA = -GetExplicitEntriesFromAclW = -GetFileSecurityA = GetFileSecurityA@20 -GetFileSecurityW = GetFileSecurityW@20 -GetKernelObjectSecurity = GetKernelObjectSecurity@20 -GetLengthSid = GetLengthSid@4 -GetMultipleTrusteeA = -GetMultipleTrusteeOperationA = -GetMultipleTrusteeOperationW = -GetMultipleTrusteeW = -GetNamedSecurityInfoA = GetNamedSecurityInfoA@32 -GetNamedSecurityInfoW = GetNamedSecurityInfoW@32 -GetNumberOfEventLogRecords = GetNumberOfEventLogRecords@8 -GetOldestEventLogRecord = GetOldestEventLogRecord@8 -GetPrivateObjectSecurity = GetPrivateObjectSecurity@20 -GetSecurityDescriptorControl = GetSecurityDescriptorControl@12 -GetSecurityDescriptorDacl = GetSecurityDescriptorDacl@16 -GetSecurityDescriptorGroup = GetSecurityDescriptorGroup@12 -GetSecurityDescriptorLength = GetSecurityDescriptorLength@4 -GetSecurityDescriptorOwner = GetSecurityDescriptorOwner@12 -GetSecurityDescriptorSacl = GetSecurityDescriptorSacl@16 -GetSecurityInfo = GetSecurityInfo@32 -GetServiceDisplayNameA = GetServiceDisplayNameA@16 -GetServiceDisplayNameW = GetServiceDisplayNameW@16 -GetServiceKeyNameA = GetServiceKeyNameA@16 -GetServiceKeyNameW = GetServiceKeyNameW@16 -GetSidIdentifierAuthority = GetSidIdentifierAuthority@4 -GetSidLengthRequired = GetSidLengthRequired@4 -GetSidSubAuthority = GetSidSubAuthority@8 -GetSidSubAuthorityCount = GetSidSubAuthorityCount@4 -GetTokenInformation = GetTokenInformation@20 -GetTrusteeForm = GetTrusteeForm@4 -GetTrusteeNameA = GetTrusteeNameA@4 -GetTrusteeNameW = GetTrusteeNameW@4 -GetTrusteeTypeA = GetTrusteeTypeA@4 -GetTrusteeTypeW = GetTrusteeTypeW@4 -GetUserNameA = GetUserNameA@8 -GetUserNameW = GetUserNameW@8 -GrantAccessRightsA = -GrantAccessRightsW = -I_ScGetCurrentGroupStateW = -I_ScSetServiceBitsA = I_ScSetServiceBitsA@20 -I_ScSetServiceBitsW = I_ScSetServiceBitsW@20 -ImpersonateLoggedOnUser = ImpersonateLoggedOnUser@4 -ImpersonateNamedPipeClient = ImpersonateNamedPipeClient@4 -ImpersonateSelf = ImpersonateSelf@4 -InitializeAcl = InitializeAcl@12 -InitializeSecurityDescriptor = InitializeSecurityDescriptor@8 -InitializeSid = InitializeSid@12 -InitiateSystemShutdownA = InitiateSystemShutdownA@20 -InitiateSystemShutdownW = InitiateSystemShutdownW@20 -IsAccessPermittedA = -IsAccessPermittedW = -IsTextUnicode = IsTextUnicode@12 -IsValidAcl = IsValidAcl@4 -IsValidSecurityDescriptor = IsValidSecurityDescriptor@4 -IsValidSid = IsValidSid@4 -LockServiceDatabase = LockServiceDatabase@4 -LogonUserA = LogonUserA@24 -LogonUserW = LogonUserW@24 -LookupAccountNameA = LookupAccountNameA@28 -LookupAccountNameW = LookupAccountNameW@28 -LookupAccountSidA = LookupAccountSidA@28 -LookupAccountSidW = LookupAccountSidW@28 -LookupPrivilegeDisplayNameA = LookupPrivilegeDisplayNameA@20 -LookupPrivilegeDisplayNameW = LookupPrivilegeDisplayNameW@20 -LookupPrivilegeNameA = LookupPrivilegeNameA@16 -LookupPrivilegeNameW = LookupPrivilegeNameW@16 -LookupPrivilegeValueA = LookupPrivilegeValueA@12 -LookupPrivilegeValueW = LookupPrivilegeValueW@12 -LookupSecurityDescriptorPartsA = LookupSecurityDescriptorPartsA@28 -LookupSecurityDescriptorPartsW = LookupSecurityDescriptorPartsW@28 -LsaAddAccountRights = LsaAddAccountRights@16 -LsaAddPrivilegesToAccount = LsaAddPrivilegesToAccount@8 -LsaClearAuditLog = LsaClearAuditLog@4 -LsaClose = LsaClose@4 -LsaCreateAccount = LsaCreateAccount@16 -LsaCreateSecret = LsaCreateSecret@16 -LsaCreateTrustedDomain = LsaCreateTrustedDomain@16 -LsaDelete = LsaDelete@4 -LsaDeleteTrustedDomain = LsaDeleteTrustedDomain@8 -LsaEnumerateAccountRights = LsaEnumerateAccountRights@16 -LsaEnumerateAccounts = LsaEnumerateAccounts@20 -LsaEnumerateAccountsWithUserRight = LsaEnumerateAccountsWithUserRight@16 -LsaEnumeratePrivileges = LsaEnumeratePrivileges@20 -LsaEnumeratePrivilegesOfAccount = LsaEnumeratePrivilegesOfAccount@8 -LsaEnumerateTrustedDomains = LsaEnumerateTrustedDomains@20 -LsaFreeMemory = LsaFreeMemory@4 -LsaGetQuotasForAccount = LsaGetQuotasForAccount@8 -LsaGetSystemAccessAccount = LsaGetSystemAccessAccount@8 -LsaGetUserName = -LsaICLookupNames = LsaICLookupNames@28 -LsaICLookupSids = LsaICLookupSids@28 -LsaLookupNames = LsaLookupNames@20 -LsaLookupPrivilegeDisplayName = LsaLookupPrivilegeDisplayName@16 -LsaLookupPrivilegeName = LsaLookupPrivilegeName@12 -LsaLookupPrivilegeValue = LsaLookupPrivilegeValue@12 -LsaLookupSids = LsaLookupSids@20 -LsaNtStatusToWinError = LsaNtStatusToWinError@4 -LsaOpenAccount = LsaOpenAccount@16 -LsaOpenPolicy = LsaOpenPolicy@16 -LsaOpenSecret = LsaOpenSecret@16 -LsaOpenTrustedDomain = LsaOpenTrustedDomain@16 -LsaQueryInfoTrustedDomain = LsaQueryInfoTrustedDomain@12 -LsaQueryInformationPolicy = LsaQueryInformationPolicy@12 -LsaQuerySecret = LsaQuerySecret@20 -LsaQuerySecurityObject = LsaQuerySecurityObject@12 -LsaQueryTrustedDomainInfo = LsaQueryTrustedDomainInfo@16 -LsaRemoveAccountRights = LsaRemoveAccountRights@20 -LsaRemovePrivilegesFromAccount = LsaRemovePrivilegesFromAccount@12 -LsaRetrievePrivateData = LsaRetrievePrivateData@12 -LsaSetInformationPolicy = LsaSetInformationPolicy@12 -LsaSetInformationTrustedDomain = LsaSetInformationTrustedDomain@12 -LsaSetQuotasForAccount = LsaSetQuotasForAccount@8 -LsaSetSecret = LsaSetSecret@12 -LsaSetSecurityObject = LsaSetSecurityObject@12 -LsaSetSystemAccessAccount = LsaSetSystemAccessAccount@8 -LsaSetTrustedDomainInformation = LsaSetTrustedDomainInformation@16 -LsaStorePrivateData = LsaStorePrivateData@12 -MakeAbsoluteSD = MakeAbsoluteSD@44 -MakeSelfRelativeSD = MakeSelfRelativeSD@12 -MapGenericMask = MapGenericMask@8 -NTAccessMaskToProvAccessRights = -NotifyBootConfigStatus = NotifyBootConfigStatus@4 -NotifyChangeEventLog = NotifyChangeEventLog@8 -ObjectCloseAuditAlarmA = ObjectCloseAuditAlarmA@12 -ObjectCloseAuditAlarmW = ObjectCloseAuditAlarmW@12 -ObjectDeleteAuditAlarmA = ObjectDeleteAuditAlarmA@12 -ObjectDeleteAuditAlarmW = ObjectDeleteAuditAlarmW@12 -ObjectOpenAuditAlarmA = ObjectOpenAuditAlarmA@48 -ObjectOpenAuditAlarmW = ObjectOpenAuditAlarmW@48 -ObjectPrivilegeAuditAlarmA = ObjectPrivilegeAuditAlarmA@24 -ObjectPrivilegeAuditAlarmW = ObjectPrivilegeAuditAlarmW@24 -OpenBackupEventLogA = OpenBackupEventLogA@8 -OpenBackupEventLogW = OpenBackupEventLogW@8 -OpenEventLogA = OpenEventLogA@8 -OpenEventLogW = OpenEventLogW@8 -OpenProcessToken = OpenProcessToken@12 -OpenSCManagerA = OpenSCManagerA@12 -OpenSCManagerW = OpenSCManagerW@12 -OpenServiceA = OpenServiceA@12 -OpenServiceW = OpenServiceW@12 -OpenThreadToken = OpenThreadToken@16 -PrivilegeCheck = PrivilegeCheck@12 -PrivilegedServiceAuditAlarmA = PrivilegedServiceAuditAlarmA@20 -PrivilegedServiceAuditAlarmW = PrivilegedServiceAuditAlarmW@20 -ProvAccessRightsToNTAccessMask = -QueryServiceConfigA = QueryServiceConfigA@16 -QueryServiceConfigW = QueryServiceConfigW@16 -QueryServiceLockStatusA = QueryServiceLockStatusA@16 -QueryServiceLockStatusW = QueryServiceLockStatusW@16 -QueryServiceObjectSecurity = QueryServiceObjectSecurity@20 -QueryServiceStatus = QueryServiceStatus@8 -QueryWindows31FilesMigration = QueryWindows31FilesMigration@4 -ReadEventLogA = ReadEventLogA@28 -ReadEventLogW = ReadEventLogW@28 -RegCloseKey = RegCloseKey@4 -RegConnectRegistryA = RegConnectRegistryA@12 -RegConnectRegistryW = RegConnectRegistryW@12 -RegCreateKeyA = RegCreateKeyA@12 -RegCreateKeyExA = RegCreateKeyExA@36 -RegCreateKeyExW = RegCreateKeyExW@36 -RegCreateKeyW = RegCreateKeyW@12 -RegDeleteKeyA = RegDeleteKeyA@8 -RegDeleteKeyW = RegDeleteKeyW@8 -RegDeleteValueA = RegDeleteValueA@8 -RegDeleteValueW = RegDeleteValueW@8 -RegEnumKeyA = RegEnumKeyA@16 -RegEnumKeyExA = RegEnumKeyExA@32 -RegEnumKeyExW = RegEnumKeyExW@32 -RegEnumKeyW = RegEnumKeyW@16 -RegEnumValueA = RegEnumValueA@32 -RegEnumValueW = RegEnumValueW@32 -RegFlushKey = RegFlushKey@4 -RegGetKeySecurity = RegGetKeySecurity@16 -RegLoadKeyA = RegLoadKeyA@12 -RegLoadKeyW = RegLoadKeyW@12 -RegNotifyChangeKeyValue = RegNotifyChangeKeyValue@20 -RegOpenKeyA = RegOpenKeyA@12 -RegOpenKeyExA = RegOpenKeyExA@20 -RegOpenKeyExW = RegOpenKeyExW@20 -RegOpenKeyW = RegOpenKeyW@12 -RegQueryInfoKeyA = RegQueryInfoKeyA@48 -RegQueryInfoKeyW = RegQueryInfoKeyW@48 -RegQueryMultipleValuesA = RegQueryMultipleValuesA@20 -RegQueryMultipleValuesW = RegQueryMultipleValuesW@20 -RegQueryValueA = RegQueryValueA@16 -RegQueryValueExA = RegQueryValueExA@24 -RegQueryValueExW = RegQueryValueExW@24 -RegQueryValueW = RegQueryValueW@16 -RegReplaceKeyA = RegReplaceKeyA@16 -RegReplaceKeyW = RegReplaceKeyW@16 -RegRestoreKeyA = RegRestoreKeyA@12 -RegRestoreKeyW = RegRestoreKeyW@12 -RegSaveKeyA = RegSaveKeyA@12 -RegSaveKeyW = RegSaveKeyW@12 -RegSetKeySecurity = RegSetKeySecurity@12 -RegSetValueA = RegSetValueA@20 -RegSetValueExA = RegSetValueExA@24 -RegSetValueExW = RegSetValueExW@24 -RegSetValueW = RegSetValueW@20 -RegUnLoadKeyA = RegUnLoadKeyA@8 -RegUnLoadKeyW = RegUnLoadKeyW@8 -RegisterEventSourceA = RegisterEventSourceA@8 -RegisterEventSourceW = RegisterEventSourceW@8 -RegisterServiceCtrlHandlerA = RegisterServiceCtrlHandlerA@8 -RegisterServiceCtrlHandlerW = RegisterServiceCtrlHandlerW@8 -ReplaceAllAccessRightsA = -ReplaceAllAccessRightsW = -ReportEventA = ReportEventA@36 -ReportEventW = ReportEventW@36 -RevertToSelf = RevertToSelf@0 -RevokeExplicitAccessRightsA = -RevokeExplicitAccessRightsW = -SetAccessRightsA = -SetAccessRightsW = -SetAclInformation = SetAclInformation@16 -SetEntriesInAclA = SetEntriesInAclA@16 -SetEntriesInAclW = SetEntriesInAclA@16 -SetFileSecurityA = SetFileSecurityA@12 -SetFileSecurityW = SetFileSecurityW@12 -SetKernelObjectSecurity = SetKernelObjectSecurity@12 -SetNamedSecurityInfoA = SetNamedSecurityInfoA@28 -SetNamedSecurityInfoW = SetNamedSecurityInfoW@28 -SetPrivateObjectSecurity = SetPrivateObjectSecurity@20 -SetSecurityDescriptorDacl = SetSecurityDescriptorDacl@16 -SetSecurityDescriptorGroup = SetSecurityDescriptorGroup@12 -SetSecurityDescriptorOwner = SetSecurityDescriptorOwner@12 -SetSecurityDescriptorSacl = SetSecurityDescriptorSacl@16 -SetSecurityInfo = SetSecurityInfo@28 -SetServiceBits = SetServiceBits@16 -SetServiceObjectSecurity = SetServiceObjectSecurity@12 -SetServiceStatus = SetServiceStatus@8 -SetThreadToken = SetThreadToken@8 -SetTokenInformation = SetTokenInformation@16 -StartServiceA = StartServiceA@12 -StartServiceCtrlDispatcherA = StartServiceCtrlDispatcherA@4 -StartServiceCtrlDispatcherW = StartServiceCtrlDispatcherW@4 -StartServiceW = StartServiceW@12 -SynchronizeWindows31FilesAndWindowsNTRegistry = SynchronizeWindows31FilesAndWindowsNTRegistry@16 -SystemFunction001 = SystemFunction001@12 -SystemFunction002 = SystemFunction002@12 -SystemFunction003 = SystemFunction003@8 -SystemFunction004 = SystemFunction004@12 -SystemFunction005 = SystemFunction005@12 -SystemFunction006 = SystemFunction006@8 -SystemFunction007 = SystemFunction007@8 -SystemFunction008 = SystemFunction008@12 -SystemFunction009 = SystemFunction009@12 -SystemFunction010 = SystemFunction010@12 -SystemFunction011 = SystemFunction011@12 -SystemFunction012 = SystemFunction012@12 -SystemFunction013 = SystemFunction013@12 -SystemFunction014 = SystemFunction014@12 -SystemFunction015 = SystemFunction015@12 -SystemFunction016 = SystemFunction016@12 -SystemFunction017 = SystemFunction017@12 -SystemFunction018 = SystemFunction018@12 -SystemFunction019 = SystemFunction019@12 -SystemFunction020 = SystemFunction020@12 -SystemFunction021 = SystemFunction021@12 -SystemFunction022 = SystemFunction022@12 -SystemFunction023 = SystemFunction023@12 -SystemFunction024 = SystemFunction024@12 -SystemFunction025 = SystemFunction025@12 -SystemFunction026 = SystemFunction026@12 -SystemFunction027 = SystemFunction027@12 -SystemFunction028 = SystemFunction028@8 -SystemFunction029 = SystemFunction029@8 -SystemFunction030 = SystemFunction030@8 -SystemFunction031 = SystemFunction031@8 -SystemFunction032 = SystemFunction032@8 -SystemFunction033 = SystemFunction033@8 -UnlockServiceDatabase = UnlockServiceDatabase@4 -WinLoadTrustProvider = WinLoadTrustProvider@4 -WinSubmitCertificate = WinSubmitCertificate@4 -WinVerifyTrust = WinVerifyTrust@12 +AbortSystemShutdownA@4 +AbortSystemShutdownW@4 +AccessCheck@32 +AccessCheckAndAuditAlarmA@44 +AccessCheckAndAuditAlarmW@44 +AddAccessAllowedAce@16 +AddAccessDeniedAce@16 +AddAce@20 +AddAuditAccessAce@24 +AdjustTokenGroups@24 +AdjustTokenPrivileges@24 +AllocateAndInitializeSid@44 +AllocateLocallyUniqueId@4 +AreAllAccessesGranted@8 +AreAnyAccessesGranted@8 +BackupEventLogA@8 +BackupEventLogW@8 +BuildAccessRequestA +BuildAccessRequestW +BuildExplicitAccessWithNameA@20 +BuildExplicitAccessWithNameW@20 +BuildImpersonateExplicitAccessWithNameA +BuildImpersonateExplicitAccessWithNameW +BuildImpersonateTrusteeA +BuildImpersonateTrusteeW +BuildSecurityDescriptorA@36 +BuildSecurityDescriptorW@36 +BuildTrusteeWithNameA@8 +BuildTrusteeWithNameW@8 +BuildTrusteeWithSidA@8 +BuildTrusteeWithSidW@8 +ChangeServiceConfigA@44 +ChangeServiceConfigW@44 +ClearEventLogA@8 +ClearEventLogW@8 +ClearEventLogA@8 +CloseServiceHandle@4 +ControlService@12 +CopySid@12 +CreatePrivateObjectSecurity@24 +CreateProcessAsUserA@44 +CreateProcessAsUserW@44 +CreateServiceA@52 +CreateServiceW@52 +CryptAcquireContextA@20 +CryptAcquireContextW@20 +CryptCreateHash@20 +CryptDecrypt@24 +CryptDeriveKey@20 +CryptDestroyHash@4 +CryptDestroyKey@4 +CryptEncrypt@28 +CryptExportKey@24 +CryptGenKey@16 +CryptGenRandom@12 +CryptGetHashParam@20 +CryptGetKeyParam@20 +CryptGetProvParam@20 +CryptGetUserKey@12 +CryptHashData@16 +CryptHashSessionKey@12 +CryptImportKey@24 +CryptReleaseContext@8 +CryptSetHashParam@16 +CryptSetKeyParam@16 +CryptSetProvParam@16 +CryptSetProviderA@8 +CryptSetProviderW@8 +CryptSignHashA@24 +CryptSignHashW@24 +CryptVerifySignatureA@24 +CryptVerifySignatureW@24 +DeleteAce@8 +DeleteService@4 +DenyAccessRightsA +DenyAccessRightsW +DeregisterEventSource@4 +DestroyPrivateObjectSecurity@4 +DuplicateToken@12 +DuplicateTokenEx@24 +ElfBackupEventLogFileA@8 +ElfBackupEventLogFileW@8 +ElfChangeNotify@8 +ElfClearEventLogFileA@8 +ElfClearEventLogFileW@8 +ElfCloseEventLog@4 +ElfDeregisterEventSource@4 +ElfNumberOfRecords@8 +ElfOldestRecord@8 +ElfOpenBackupEventLogA@12 +ElfOpenBackupEventLogW@12 +ElfOpenEventLogA@12 +ElfOpenEventLogW@12 +ElfReadEventLogA@28 +ElfReadEventLogW@28 +ElfRegisterEventSourceA@12 +ElfRegisterEventSourceW@12 +ElfReportEventA@48 +ElfReportEventW@48 +EnumDependentServicesA@24 +EnumDependentServicesW@24 +EnumServiceGroupW +EnumServicesStatusA@32 +EnumServicesStatusW@32 +EqualPrefixSid@8 +EqualSid@8 +FindFirstFreeAce@8 +FreeSid@4 +GetAce@12 +GetAclInformation@16 +GetAuditedPermissionsFromAclA +GetAuditedPermissionsFromAclW +GetAuditedPermissionsFromSDA +GetAuditedPermissionsFromSDW +GetCurrentHwProfileA +GetCurrentHwProfileW +GetEffectiveAccessRightsA +GetEffectiveAccessRightsW +GetEffectiveRightsFromAclA +GetEffectiveRightsFromAclW +GetEffectiveRightsFromSDA +GetEffectiveRightsFromSDW +GetExplicitAccessRightsA +GetExplicitAccessRightsW +GetExplicitEntriesFromAclA +GetExplicitEntriesFromAclW +GetFileSecurityA@20 +GetFileSecurityW@20 +GetKernelObjectSecurity@20 +GetLengthSid@4 +GetMultipleTrusteeA +GetMultipleTrusteeOperationA +GetMultipleTrusteeOperationW +GetMultipleTrusteeW +GetNamedSecurityInfoA@32 +GetNamedSecurityInfoW@32 +GetNumberOfEventLogRecords@8 +GetOldestEventLogRecord@8 +GetPrivateObjectSecurity@20 +GetSecurityDescriptorControl@12 +GetSecurityDescriptorDacl@16 +GetSecurityDescriptorGroup@12 +GetSecurityDescriptorLength@4 +GetSecurityDescriptorOwner@12 +GetSecurityDescriptorSacl@16 +GetSecurityInfo@32 +GetServiceDisplayNameA@16 +GetServiceDisplayNameW@16 +GetServiceKeyNameA@16 +GetServiceKeyNameW@16 +GetSidIdentifierAuthority@4 +GetSidLengthRequired@4 +GetSidSubAuthority@8 +GetSidSubAuthorityCount@4 +GetTokenInformation@20 +GetTrusteeForm@4 +GetTrusteeNameA@4 +GetTrusteeNameW@4 +GetTrusteeTypeA@4 +GetTrusteeTypeW@4 +GetUserNameA@8 +GetUserNameW@8 +GrantAccessRightsA +GrantAccessRightsW +I_ScGetCurrentGroupStateW +I_ScSetServiceBitsA@20 +I_ScSetServiceBitsW@20 +ImpersonateLoggedOnUser@4 +ImpersonateNamedPipeClient@4 +ImpersonateSelf@4 +InitializeAcl@12 +InitializeSecurityDescriptor@8 +InitializeSid@12 +InitiateSystemShutdownA@20 +InitiateSystemShutdownW@20 +IsAccessPermittedA +IsAccessPermittedW +IsTextUnicode@12 +IsValidAcl@4 +IsValidSecurityDescriptor@4 +IsValidSid@4 +LockServiceDatabase@4 +LogonUserA@24 +LogonUserW@24 +LookupAccountNameA@28 +LookupAccountNameW@28 +LookupAccountSidA@28 +LookupAccountSidW@28 +LookupPrivilegeDisplayNameA@20 +LookupPrivilegeDisplayNameW@20 +LookupPrivilegeNameA@16 +LookupPrivilegeNameW@16 +LookupPrivilegeValueA@12 +LookupPrivilegeValueW@12 +LookupSecurityDescriptorPartsA@28 +LookupSecurityDescriptorPartsW@28 +LsaAddAccountRights@16 +LsaAddPrivilegesToAccount@8 +LsaClearAuditLog@4 +LsaClose@4 +LsaCreateAccount@16 +LsaCreateSecret@16 +LsaCreateTrustedDomain@16 +LsaDelete@4 +LsaDeleteTrustedDomain@8 +LsaEnumerateAccountRights@16 +LsaEnumerateAccounts@20 +LsaEnumerateAccountsWithUserRight@16 +LsaEnumeratePrivileges@20 +LsaEnumeratePrivilegesOfAccount@8 +LsaEnumerateTrustedDomains@20 +LsaFreeMemory@4 +LsaGetQuotasForAccount@8 +LsaGetSystemAccessAccount@8 +LsaGetUserName +LsaICLookupNames@28 +LsaICLookupSids@28 +LsaLookupNames@20 +LsaLookupPrivilegeDisplayName@16 +LsaLookupPrivilegeName@12 +LsaLookupPrivilegeValue@12 +LsaLookupSids@20 +LsaNtStatusToWinError@4 +LsaOpenAccount@16 +LsaOpenPolicy@16 +LsaOpenSecret@16 +LsaOpenTrustedDomain@16 +LsaQueryInfoTrustedDomain@12 +LsaQueryInformationPolicy@12 +LsaQuerySecret@20 +LsaQuerySecurityObject@12 +LsaQueryTrustedDomainInfo@16 +LsaRemoveAccountRights@20 +LsaRemovePrivilegesFromAccount@12 +LsaRetrievePrivateData@12 +LsaSetInformationPolicy@12 +LsaSetInformationTrustedDomain@12 +LsaSetQuotasForAccount@8 +LsaSetSecret@12 +LsaSetSecurityObject@12 +LsaSetSystemAccessAccount@8 +LsaSetTrustedDomainInformation@16 +LsaStorePrivateData@12 +MakeAbsoluteSD@44 +MakeSelfRelativeSD@12 +MapGenericMask@8 +NTAccessMaskToProvAccessRights +NotifyBootConfigStatus@4 +NotifyChangeEventLog@8 +ObjectCloseAuditAlarmA@12 +ObjectCloseAuditAlarmW@12 +ObjectDeleteAuditAlarmA@12 +ObjectDeleteAuditAlarmW@12 +ObjectOpenAuditAlarmA@48 +ObjectOpenAuditAlarmW@48 +ObjectPrivilegeAuditAlarmA@24 +ObjectPrivilegeAuditAlarmW@24 +OpenBackupEventLogA@8 +OpenBackupEventLogW@8 +OpenEventLogA@8 +OpenEventLogW@8 +OpenProcessToken@12 +OpenSCManagerA@12 +OpenSCManagerW@12 +OpenServiceA@12 +OpenServiceW@12 +OpenThreadToken@16 +PrivilegeCheck@12 +PrivilegedServiceAuditAlarmA@20 +PrivilegedServiceAuditAlarmW@20 +ProvAccessRightsToNTAccessMask +QueryServiceConfigA@16 +QueryServiceConfigW@16 +QueryServiceLockStatusA@16 +QueryServiceLockStatusW@16 +QueryServiceObjectSecurity@20 +QueryServiceStatus@8 +QueryWindows31FilesMigration@4 +ReadEventLogA@28 +ReadEventLogW@28 +RegCloseKey@4 +RegConnectRegistryA@12 +RegConnectRegistryW@12 +RegCreateKeyA@12 +RegCreateKeyExA@36 +RegCreateKeyExW@36 +RegCreateKeyW@12 +RegDeleteKeyA@8 +RegDeleteKeyW@8 +RegDeleteValueA@8 +RegDeleteValueW@8 +RegEnumKeyA@16 +RegEnumKeyExA@32 +RegEnumKeyExW@32 +RegEnumKeyW@16 +RegEnumValueA@32 +RegEnumValueW@32 +RegFlushKey@4 +RegGetKeySecurity@16 +RegLoadKeyA@12 +RegLoadKeyW@12 +RegNotifyChangeKeyValue@20 +RegOpenKeyA@12 +RegOpenKeyExA@20 +RegOpenKeyExW@20 +RegOpenKeyW@12 +RegQueryInfoKeyA@48 +RegQueryInfoKeyW@48 +RegQueryMultipleValuesA@20 +RegQueryMultipleValuesW@20 +RegQueryValueA@16 +RegQueryValueExA@24 +RegQueryValueExW@24 +RegQueryValueW@16 +RegReplaceKeyA@16 +RegReplaceKeyW@16 +RegRestoreKeyA@12 +RegRestoreKeyW@12 +RegSaveKeyA@12 +RegSaveKeyW@12 +RegSetKeySecurity@12 +RegSetValueA@20 +RegSetValueExA@24 +RegSetValueExW@24 +RegSetValueW@20 +RegUnLoadKeyA@8 +RegUnLoadKeyW@8 +RegisterEventSourceA@8 +RegisterEventSourceW@8 +RegisterServiceCtrlHandlerA@8 +RegisterServiceCtrlHandlerW@8 +ReplaceAllAccessRightsA +ReplaceAllAccessRightsW +ReportEventA@36 +ReportEventW@36 +RevertToSelf@0 +RevokeExplicitAccessRightsA +RevokeExplicitAccessRightsW +SetAccessRightsA +SetAccessRightsW +SetAclInformation@16 +SetEntriesInAclA@16 +SetEntriesInAclA@16 +SetFileSecurityA@12 +SetFileSecurityW@12 +SetKernelObjectSecurity@12 +SetNamedSecurityInfoA@28 +SetNamedSecurityInfoW@28 +SetPrivateObjectSecurity@20 +SetSecurityDescriptorDacl@16 +SetSecurityDescriptorGroup@12 +SetSecurityDescriptorOwner@12 +SetSecurityDescriptorSacl@16 +SetSecurityInfo@28 +SetServiceBits@16 +SetServiceObjectSecurity@12 +SetServiceStatus@8 +SetThreadToken@8 +SetTokenInformation@16 +StartServiceA@12 +StartServiceCtrlDispatcherA@4 +StartServiceCtrlDispatcherW@4 +StartServiceW@12 +SynchronizeWindows31FilesAndWindowsNTRegistry@16 +SystemFunction001@12 +SystemFunction002@12 +SystemFunction003@8 +SystemFunction004@12 +SystemFunction005@12 +SystemFunction006@8 +SystemFunction007@8 +SystemFunction008@12 +SystemFunction009@12 +SystemFunction010@12 +SystemFunction011@12 +SystemFunction012@12 +SystemFunction013@12 +SystemFunction014@12 +SystemFunction015@12 +SystemFunction016@12 +SystemFunction017@12 +SystemFunction018@12 +SystemFunction019@12 +SystemFunction020@12 +SystemFunction021@12 +SystemFunction022@12 +SystemFunction023@12 +SystemFunction024@12 +SystemFunction025@12 +SystemFunction026@12 +SystemFunction027@12 +SystemFunction028@8 +SystemFunction029@8 +SystemFunction030@8 +SystemFunction031@8 +SystemFunction032@8 +SystemFunction033@8 +UnlockServiceDatabase@4 +WinLoadTrustProvider@4 +WinSubmitCertificate@4 +WinVerifyTrust@12 diff --git a/reactos/lib/advapi32/advapi32.edf b/reactos/lib/advapi32/advapi32.edf new file mode 100644 index 00000000000..c3163fac031 --- /dev/null +++ b/reactos/lib/advapi32/advapi32.edf @@ -0,0 +1,411 @@ +; $Id: advapi32.edf,v 1.1 1999/07/17 23:10:17 ea Exp $ +; +; advapi32.def +; +; ReactOS Operating System +; +; Some stack sizes are taken from Ander Norlander's .DEFs. +; +LIBRARY advapi32 +EXPORTS +AbortSystemShutdownA=AbortSystemShutdownA@4 +AbortSystemShutdownW=AbortSystemShutdownW@4 +AccessCheck=AccessCheck@32 +AccessCheckAndAuditAlarmA=AccessCheckAndAuditAlarmA@44 +AccessCheckAndAuditAlarmW=AccessCheckAndAuditAlarmW@44 +AddAccessAllowedAce=AddAccessAllowedAce@16 +AddAccessDeniedAce=AddAccessDeniedAce@16 +AddAce=AddAce@20 +AddAuditAccessAce=AddAuditAccessAce@24 +AdjustTokenGroups=AdjustTokenGroups@24 +AdjustTokenPrivileges=AdjustTokenPrivileges@24 +AllocateAndInitializeSid=AllocateAndInitializeSid@44 +AllocateLocallyUniqueId=AllocateLocallyUniqueId@4 +AreAllAccessesGranted=AreAllAccessesGranted@8 +AreAnyAccessesGranted=AreAnyAccessesGranted@8 +BackupEventLogA=BackupEventLogA@8 +BackupEventLogW=BackupEventLogW@8 +BuildAccessRequestA +BuildAccessRequestW +BuildExplicitAccessWithNameA=BuildExplicitAccessWithNameA@20 +BuildExplicitAccessWithNameW=BuildExplicitAccessWithNameW@20 +BuildImpersonateExplicitAccessWithNameA +BuildImpersonateExplicitAccessWithNameW +BuildImpersonateTrusteeA +BuildImpersonateTrusteeW +BuildSecurityDescriptorA=BuildSecurityDescriptorA@36 +BuildSecurityDescriptorW=BuildSecurityDescriptorW@36 +BuildTrusteeWithNameA=BuildTrusteeWithNameA@8 +BuildTrusteeWithNameW=BuildTrusteeWithNameW@8 +BuildTrusteeWithSidA=BuildTrusteeWithSidA@8 +BuildTrusteeWithSidW=BuildTrusteeWithSidW@8 +ChangeServiceConfigA=ChangeServiceConfigA@44 +ChangeServiceConfigW=ChangeServiceConfigW@44 +ClearEventLogA=ClearEventLogA@8 +ClearEventLogW=ClearEventLogW@8 +ClearEventLogA=ClearEventLogA@8 +CloseServiceHandle=CloseServiceHandle@4 +ControlService=ControlService@12 +CopySid=CopySid@12 +CreatePrivateObjectSecurity=CreatePrivateObjectSecurity@24 +CreateProcessAsUserA=CreateProcessAsUserA@44 +CreateProcessAsUserW=CreateProcessAsUserW@44 +CreateServiceA=CreateServiceA@52 +CreateServiceW=CreateServiceW@52 +CryptAcquireContextA=CryptAcquireContextA@20 +CryptAcquireContextW=CryptAcquireContextW@20 +CryptCreateHash=CryptCreateHash@20 +CryptDecrypt=CryptDecrypt@24 +CryptDeriveKey=CryptDeriveKey@20 +CryptDestroyHash=CryptDestroyHash@4 +CryptDestroyKey=CryptDestroyKey@4 +CryptEncrypt=CryptEncrypt@28 +CryptExportKey=CryptExportKey@24 +CryptGenKey=CryptGenKey@16 +CryptGenRandom=CryptGenRandom@12 +CryptGetHashParam=CryptGetHashParam@20 +CryptGetKeyParam=CryptGetKeyParam@20 +CryptGetProvParam=CryptGetProvParam@20 +CryptGetUserKey=CryptGetUserKey@12 +CryptHashData=CryptHashData@16 +CryptHashSessionKey=CryptHashSessionKey@12 +CryptImportKey=CryptImportKey@24 +CryptReleaseContext=CryptReleaseContext@8 +CryptSetHashParam=CryptSetHashParam@16 +CryptSetKeyParam=CryptSetKeyParam@16 +CryptSetProvParam=CryptSetProvParam@16 +CryptSetProviderA=CryptSetProviderA@8 +CryptSetProviderW=CryptSetProviderW@8 +CryptSignHashA=CryptSignHashA@24 +CryptSignHashW=CryptSignHashW@24 +CryptVerifySignatureA=CryptVerifySignatureA@24 +CryptVerifySignatureW=CryptVerifySignatureW@24 +DeleteAce=DeleteAce@8 +DeleteService=DeleteService@4 +DenyAccessRightsA +DenyAccessRightsW +DeregisterEventSource=DeregisterEventSource@4 +DestroyPrivateObjectSecurity=DestroyPrivateObjectSecurity@4 +DuplicateToken=DuplicateToken@12 +DuplicateTokenEx=DuplicateTokenEx@24 +ElfBackupEventLogFileA=ElfBackupEventLogFileA@8 +ElfBackupEventLogFileW=ElfBackupEventLogFileW@8 +ElfChangeNotify=ElfChangeNotify@8 +ElfClearEventLogFileA=ElfClearEventLogFileA@8 +ElfClearEventLogFileW=ElfClearEventLogFileW@8 +ElfCloseEventLog=ElfCloseEventLog@4 +ElfDeregisterEventSource=ElfDeregisterEventSource@4 +ElfNumberOfRecords=ElfNumberOfRecords@8 +ElfOldestRecord=ElfOldestRecord@8 +ElfOpenBackupEventLogA=ElfOpenBackupEventLogA@12 +ElfOpenBackupEventLogW=ElfOpenBackupEventLogW@12 +ElfOpenEventLogA=ElfOpenEventLogA@12 +ElfOpenEventLogW=ElfOpenEventLogW@12 +ElfReadEventLogA=ElfReadEventLogA@28 +ElfReadEventLogW=ElfReadEventLogW@28 +ElfRegisterEventSourceA=ElfRegisterEventSourceA@12 +ElfRegisterEventSourceW=ElfRegisterEventSourceW@12 +ElfReportEventA=ElfReportEventA@48 +ElfReportEventW=ElfReportEventW@48 +EnumDependentServicesA=EnumDependentServicesA@24 +EnumDependentServicesW=EnumDependentServicesW@24 +EnumServiceGroupW +EnumServicesStatusA=EnumServicesStatusA@32 +EnumServicesStatusW=EnumServicesStatusW@32 +EqualPrefixSid=EqualPrefixSid@8 +EqualSid=EqualSid@8 +FindFirstFreeAce=FindFirstFreeAce@8 +FreeSid=FreeSid@4 +GetAce=GetAce@12 +GetAclInformation=GetAclInformation@16 +GetAuditedPermissionsFromAclA +GetAuditedPermissionsFromAclW +GetAuditedPermissionsFromSDA +GetAuditedPermissionsFromSDW +GetCurrentHwProfileA +GetCurrentHwProfileW +GetEffectiveAccessRightsA +GetEffectiveAccessRightsW +GetEffectiveRightsFromAclA +GetEffectiveRightsFromAclW +GetEffectiveRightsFromSDA +GetEffectiveRightsFromSDW +GetExplicitAccessRightsA +GetExplicitAccessRightsW +GetExplicitEntriesFromAclA +GetExplicitEntriesFromAclW +GetFileSecurityA=GetFileSecurityA@20 +GetFileSecurityW=GetFileSecurityW@20 +GetKernelObjectSecurity=GetKernelObjectSecurity@20 +GetLengthSid=GetLengthSid@4 +GetMultipleTrusteeA +GetMultipleTrusteeOperationA +GetMultipleTrusteeOperationW +GetMultipleTrusteeW +GetNamedSecurityInfoA=GetNamedSecurityInfoA@32 +GetNamedSecurityInfoW=GetNamedSecurityInfoW@32 +GetNumberOfEventLogRecords=GetNumberOfEventLogRecords@8 +GetOldestEventLogRecord=GetOldestEventLogRecord@8 +GetPrivateObjectSecurity=GetPrivateObjectSecurity@20 +GetSecurityDescriptorControl=GetSecurityDescriptorControl@12 +GetSecurityDescriptorDacl=GetSecurityDescriptorDacl@16 +GetSecurityDescriptorGroup=GetSecurityDescriptorGroup@12 +GetSecurityDescriptorLength=GetSecurityDescriptorLength@4 +GetSecurityDescriptorOwner=GetSecurityDescriptorOwner@12 +GetSecurityDescriptorSacl=GetSecurityDescriptorSacl@16 +GetSecurityInfo=GetSecurityInfo@32 +GetServiceDisplayNameA=GetServiceDisplayNameA@16 +GetServiceDisplayNameW=GetServiceDisplayNameW@16 +GetServiceKeyNameA=GetServiceKeyNameA@16 +GetServiceKeyNameW=GetServiceKeyNameW@16 +GetSidIdentifierAuthority=GetSidIdentifierAuthority@4 +GetSidLengthRequired=GetSidLengthRequired@4 +GetSidSubAuthority=GetSidSubAuthority@8 +GetSidSubAuthorityCount=GetSidSubAuthorityCount@4 +GetTokenInformation=GetTokenInformation@20 +GetTrusteeForm=GetTrusteeForm@4 +GetTrusteeNameA=GetTrusteeNameA@4 +GetTrusteeNameW=GetTrusteeNameW@4 +GetTrusteeTypeA=GetTrusteeTypeA@4 +GetTrusteeTypeW=GetTrusteeTypeW@4 +GetUserNameA=GetUserNameA@8 +GetUserNameW=GetUserNameW@8 +GrantAccessRightsA +GrantAccessRightsW +I_ScGetCurrentGroupStateW +I_ScSetServiceBitsA=I_ScSetServiceBitsA@20 +I_ScSetServiceBitsW=I_ScSetServiceBitsW@20 +ImpersonateLoggedOnUser=ImpersonateLoggedOnUser@4 +ImpersonateNamedPipeClient=ImpersonateNamedPipeClient@4 +ImpersonateSelf=ImpersonateSelf@4 +InitializeAcl=InitializeAcl@12 +InitializeSecurityDescriptor=InitializeSecurityDescriptor@8 +InitializeSid=InitializeSid@12 +InitiateSystemShutdownA=InitiateSystemShutdownA@20 +InitiateSystemShutdownW=InitiateSystemShutdownW@20 +IsAccessPermittedA +IsAccessPermittedW +IsTextUnicode=IsTextUnicode@12 +IsValidAcl=IsValidAcl@4 +IsValidSecurityDescriptor=IsValidSecurityDescriptor@4 +IsValidSid=IsValidSid@4 +LockServiceDatabase=LockServiceDatabase@4 +LogonUserA=LogonUserA@24 +LogonUserW=LogonUserW@24 +LookupAccountNameA=LookupAccountNameA@28 +LookupAccountNameW=LookupAccountNameW@28 +LookupAccountSidA=LookupAccountSidA@28 +LookupAccountSidW=LookupAccountSidW@28 +LookupPrivilegeDisplayNameA=LookupPrivilegeDisplayNameA@20 +LookupPrivilegeDisplayNameW=LookupPrivilegeDisplayNameW@20 +LookupPrivilegeNameA=LookupPrivilegeNameA@16 +LookupPrivilegeNameW=LookupPrivilegeNameW@16 +LookupPrivilegeValueA=LookupPrivilegeValueA@12 +LookupPrivilegeValueW=LookupPrivilegeValueW@12 +LookupSecurityDescriptorPartsA=LookupSecurityDescriptorPartsA@28 +LookupSecurityDescriptorPartsW=LookupSecurityDescriptorPartsW@28 +LsaAddAccountRights=LsaAddAccountRights@16 +LsaAddPrivilegesToAccount=LsaAddPrivilegesToAccount@8 +LsaClearAuditLog=LsaClearAuditLog@4 +LsaClose=LsaClose@4 +LsaCreateAccount=LsaCreateAccount@16 +LsaCreateSecret=LsaCreateSecret@16 +LsaCreateTrustedDomain=LsaCreateTrustedDomain@16 +LsaDelete=LsaDelete@4 +LsaDeleteTrustedDomain=LsaDeleteTrustedDomain@8 +LsaEnumerateAccountRights=LsaEnumerateAccountRights@16 +LsaEnumerateAccounts=LsaEnumerateAccounts@20 +LsaEnumerateAccountsWithUserRight=LsaEnumerateAccountsWithUserRight@16 +LsaEnumeratePrivileges=LsaEnumeratePrivileges@20 +LsaEnumeratePrivilegesOfAccount=LsaEnumeratePrivilegesOfAccount@8 +LsaEnumerateTrustedDomains=LsaEnumerateTrustedDomains@20 +LsaFreeMemory=LsaFreeMemory@4 +LsaGetQuotasForAccount=LsaGetQuotasForAccount@8 +LsaGetSystemAccessAccount=LsaGetSystemAccessAccount@8 +LsaGetUserName +LsaICLookupNames=LsaICLookupNames@28 +LsaICLookupSids=LsaICLookupSids@28 +LsaLookupNames=LsaLookupNames@20 +LsaLookupPrivilegeDisplayName=LsaLookupPrivilegeDisplayName@16 +LsaLookupPrivilegeName=LsaLookupPrivilegeName@12 +LsaLookupPrivilegeValue=LsaLookupPrivilegeValue@12 +LsaLookupSids=LsaLookupSids@20 +LsaNtStatusToWinError=LsaNtStatusToWinError@4 +LsaOpenAccount=LsaOpenAccount@16 +LsaOpenPolicy=LsaOpenPolicy@16 +LsaOpenSecret=LsaOpenSecret@16 +LsaOpenTrustedDomain=LsaOpenTrustedDomain@16 +LsaQueryInfoTrustedDomain=LsaQueryInfoTrustedDomain@12 +LsaQueryInformationPolicy=LsaQueryInformationPolicy@12 +LsaQuerySecret=LsaQuerySecret@20 +LsaQuerySecurityObject=LsaQuerySecurityObject@12 +LsaQueryTrustedDomainInfo=LsaQueryTrustedDomainInfo@16 +LsaRemoveAccountRights=LsaRemoveAccountRights@20 +LsaRemovePrivilegesFromAccount=LsaRemovePrivilegesFromAccount@12 +LsaRetrievePrivateData=LsaRetrievePrivateData@12 +LsaSetInformationPolicy=LsaSetInformationPolicy@12 +LsaSetInformationTrustedDomain=LsaSetInformationTrustedDomain@12 +LsaSetQuotasForAccount=LsaSetQuotasForAccount@8 +LsaSetSecret=LsaSetSecret@12 +LsaSetSecurityObject=LsaSetSecurityObject@12 +LsaSetSystemAccessAccount=LsaSetSystemAccessAccount@8 +LsaSetTrustedDomainInformation=LsaSetTrustedDomainInformation@16 +LsaStorePrivateData=LsaStorePrivateData@12 +MakeAbsoluteSD=MakeAbsoluteSD@44 +MakeSelfRelativeSD=MakeSelfRelativeSD@12 +MapGenericMask=MapGenericMask@8 +NTAccessMaskToProvAccessRights +NotifyBootConfigStatus=NotifyBootConfigStatus@4 +NotifyChangeEventLog=NotifyChangeEventLog@8 +ObjectCloseAuditAlarmA=ObjectCloseAuditAlarmA@12 +ObjectCloseAuditAlarmW=ObjectCloseAuditAlarmW@12 +ObjectDeleteAuditAlarmA=ObjectDeleteAuditAlarmA@12 +ObjectDeleteAuditAlarmW=ObjectDeleteAuditAlarmW@12 +ObjectOpenAuditAlarmA=ObjectOpenAuditAlarmA@48 +ObjectOpenAuditAlarmW=ObjectOpenAuditAlarmW@48 +ObjectPrivilegeAuditAlarmA=ObjectPrivilegeAuditAlarmA@24 +ObjectPrivilegeAuditAlarmW=ObjectPrivilegeAuditAlarmW@24 +OpenBackupEventLogA=OpenBackupEventLogA@8 +OpenBackupEventLogW=OpenBackupEventLogW@8 +OpenEventLogA=OpenEventLogA@8 +OpenEventLogW=OpenEventLogW@8 +OpenProcessToken=OpenProcessToken@12 +OpenSCManagerA=OpenSCManagerA@12 +OpenSCManagerW=OpenSCManagerW@12 +OpenServiceA=OpenServiceA@12 +OpenServiceW=OpenServiceW@12 +OpenThreadToken=OpenThreadToken@16 +PrivilegeCheck=PrivilegeCheck@12 +PrivilegedServiceAuditAlarmA=PrivilegedServiceAuditAlarmA@20 +PrivilegedServiceAuditAlarmW=PrivilegedServiceAuditAlarmW@20 +ProvAccessRightsToNTAccessMask +QueryServiceConfigA=QueryServiceConfigA@16 +QueryServiceConfigW=QueryServiceConfigW@16 +QueryServiceLockStatusA=QueryServiceLockStatusA@16 +QueryServiceLockStatusW=QueryServiceLockStatusW@16 +QueryServiceObjectSecurity=QueryServiceObjectSecurity@20 +QueryServiceStatus=QueryServiceStatus@8 +QueryWindows31FilesMigration=QueryWindows31FilesMigration@4 +ReadEventLogA=ReadEventLogA@28 +ReadEventLogW=ReadEventLogW@28 +RegCloseKey=RegCloseKey@4 +RegConnectRegistryA=RegConnectRegistryA@12 +RegConnectRegistryW=RegConnectRegistryW@12 +RegCreateKeyA=RegCreateKeyA@12 +RegCreateKeyExA=RegCreateKeyExA@36 +RegCreateKeyExW=RegCreateKeyExW@36 +RegCreateKeyW=RegCreateKeyW@12 +RegDeleteKeyA=RegDeleteKeyA@8 +RegDeleteKeyW=RegDeleteKeyW@8 +RegDeleteValueA=RegDeleteValueA@8 +RegDeleteValueW=RegDeleteValueW@8 +RegEnumKeyA=RegEnumKeyA@16 +RegEnumKeyExA=RegEnumKeyExA@32 +RegEnumKeyExW=RegEnumKeyExW@32 +RegEnumKeyW=RegEnumKeyW@16 +RegEnumValueA=RegEnumValueA@32 +RegEnumValueW=RegEnumValueW@32 +RegFlushKey=RegFlushKey@4 +RegGetKeySecurity=RegGetKeySecurity@16 +RegLoadKeyA=RegLoadKeyA@12 +RegLoadKeyW=RegLoadKeyW@12 +RegNotifyChangeKeyValue=RegNotifyChangeKeyValue@20 +RegOpenKeyA=RegOpenKeyA@12 +RegOpenKeyExA=RegOpenKeyExA@20 +RegOpenKeyExW=RegOpenKeyExW@20 +RegOpenKeyW=RegOpenKeyW@12 +RegQueryInfoKeyA=RegQueryInfoKeyA@48 +RegQueryInfoKeyW=RegQueryInfoKeyW@48 +RegQueryMultipleValuesA=RegQueryMultipleValuesA@20 +RegQueryMultipleValuesW=RegQueryMultipleValuesW@20 +RegQueryValueA=RegQueryValueA@16 +RegQueryValueExA=RegQueryValueExA@24 +RegQueryValueExW=RegQueryValueExW@24 +RegQueryValueW=RegQueryValueW@16 +RegReplaceKeyA=RegReplaceKeyA@16 +RegReplaceKeyW=RegReplaceKeyW@16 +RegRestoreKeyA=RegRestoreKeyA@12 +RegRestoreKeyW=RegRestoreKeyW@12 +RegSaveKeyA=RegSaveKeyA@12 +RegSaveKeyW=RegSaveKeyW@12 +RegSetKeySecurity=RegSetKeySecurity@12 +RegSetValueA=RegSetValueA@20 +RegSetValueExA=RegSetValueExA@24 +RegSetValueExW=RegSetValueExW@24 +RegSetValueW=RegSetValueW@20 +RegUnLoadKeyA=RegUnLoadKeyA@8 +RegUnLoadKeyW=RegUnLoadKeyW@8 +RegisterEventSourceA=RegisterEventSourceA@8 +RegisterEventSourceW=RegisterEventSourceW@8 +RegisterServiceCtrlHandlerA=RegisterServiceCtrlHandlerA@8 +RegisterServiceCtrlHandlerW=RegisterServiceCtrlHandlerW@8 +ReplaceAllAccessRightsA +ReplaceAllAccessRightsW +ReportEventA=ReportEventA@36 +ReportEventW=ReportEventW@36 +RevertToSelf=RevertToSelf@0 +RevokeExplicitAccessRightsA +RevokeExplicitAccessRightsW +SetAccessRightsA +SetAccessRightsW +SetAclInformation=SetAclInformation@16 +SetEntriesInAclA=SetEntriesInAclA@16 +SetEntriesInAclA=SetEntriesInAclA@16 +SetFileSecurityA=SetFileSecurityA@12 +SetFileSecurityW=SetFileSecurityW@12 +SetKernelObjectSecurity=SetKernelObjectSecurity@12 +SetNamedSecurityInfoA=SetNamedSecurityInfoA@28 +SetNamedSecurityInfoW=SetNamedSecurityInfoW@28 +SetPrivateObjectSecurity=SetPrivateObjectSecurity@20 +SetSecurityDescriptorDacl=SetSecurityDescriptorDacl@16 +SetSecurityDescriptorGroup=SetSecurityDescriptorGroup@12 +SetSecurityDescriptorOwner=SetSecurityDescriptorOwner@12 +SetSecurityDescriptorSacl=SetSecurityDescriptorSacl@16 +SetSecurityInfo=SetSecurityInfo@28 +SetServiceBits=SetServiceBits@16 +SetServiceObjectSecurity=SetServiceObjectSecurity@12 +SetServiceStatus=SetServiceStatus@8 +SetThreadToken=SetThreadToken@8 +SetTokenInformation=SetTokenInformation@16 +StartServiceA=StartServiceA@12 +StartServiceCtrlDispatcherA=StartServiceCtrlDispatcherA@4 +StartServiceCtrlDispatcherW=StartServiceCtrlDispatcherW@4 +StartServiceW=StartServiceW@12 +SynchronizeWindows31FilesAndWindowsNTRegistry=SynchronizeWindows31FilesAndWindowsNTRegistry@16 +SystemFunction001=SystemFunction001@12 +SystemFunction002=SystemFunction002@12 +SystemFunction003=SystemFunction003@8 +SystemFunction004=SystemFunction004@12 +SystemFunction005=SystemFunction005@12 +SystemFunction006=SystemFunction006@8 +SystemFunction007=SystemFunction007@8 +SystemFunction008=SystemFunction008@12 +SystemFunction009=SystemFunction009@12 +SystemFunction010=SystemFunction010@12 +SystemFunction011=SystemFunction011@12 +SystemFunction012=SystemFunction012@12 +SystemFunction013=SystemFunction013@12 +SystemFunction014=SystemFunction014@12 +SystemFunction015=SystemFunction015@12 +SystemFunction016=SystemFunction016@12 +SystemFunction017=SystemFunction017@12 +SystemFunction018=SystemFunction018@12 +SystemFunction019=SystemFunction019@12 +SystemFunction020=SystemFunction020@12 +SystemFunction021=SystemFunction021@12 +SystemFunction022=SystemFunction022@12 +SystemFunction023=SystemFunction023@12 +SystemFunction024=SystemFunction024@12 +SystemFunction025=SystemFunction025@12 +SystemFunction026=SystemFunction026@12 +SystemFunction027=SystemFunction027@12 +SystemFunction028=SystemFunction028@8 +SystemFunction029=SystemFunction029@8 +SystemFunction030=SystemFunction030@8 +SystemFunction031=SystemFunction031@8 +SystemFunction032=SystemFunction032@8 +SystemFunction033=SystemFunction033@8 +UnlockServiceDatabase=UnlockServiceDatabase@4 +WinLoadTrustProvider=WinLoadTrustProvider@4 +WinSubmitCertificate=WinSubmitCertificate@4 +WinVerifyTrust=WinVerifyTrust@12 diff --git a/reactos/lib/advapi32/makefile b/reactos/lib/advapi32/makefile index 45450635e8f..19d6df9682b 100644 --- a/reactos/lib/advapi32/makefile +++ b/reactos/lib/advapi32/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.3 1999/06/18 22:10:58 ea Exp $ +# $Id: makefile,v 1.4 1999/07/17 23:10:18 ea Exp $ # # Makefile for ReactOS advapi32.dll # @@ -17,7 +17,7 @@ endif MISC_OBJECTS = misc/dllmain.o misc/shutdown.o \ misc/sysfunc.o -REGISTRY_OBJECTS = reg/reg.o +REGISTRY_OBJECTS = reg/reg.o reg/regw.o SECURITY_OBJECTS = sec/lsa.o sec/sec.o #SECURITY_OBJECTS = sec/lsa.o sec/rtlsec.o sec/sec.o @@ -42,6 +42,7 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def $(DLLTOOL) \ --dllname $(TARGET).dll \ --def $(TARGET).def \ + --kill-at \ --output-lib $(TARGET).a $(CC) \ $(TARGET).o \ @@ -56,7 +57,7 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def --dllname $(TARGET).dll \ --base-file base.tmp \ --output-exp temp.exp \ - --def $(TARGET).def + --def $(TARGET).edf - $(RM) base.tmp $(CC) \ $(TARGET).o diff --git a/reactos/lib/advapi32/misc/shutdown.c b/reactos/lib/advapi32/misc/shutdown.c index f6423b908c8..54cb35592f3 100644 --- a/reactos/lib/advapi32/misc/shutdown.c +++ b/reactos/lib/advapi32/misc/shutdown.c @@ -1,4 +1,4 @@ -/* $Id: shutdown.c,v 1.1 1999/05/19 16:43:30 ea Exp $ +/* $Id: shutdown.c,v 1.2 1999/07/17 23:10:18 ea Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -83,7 +83,7 @@ InitiateSystemShutdownW( if (lpMachineName) { - /* remote machine shutdown not supported yet */ + /* FIXME: remote machine shutdown not supported yet */ SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; } diff --git a/reactos/lib/advapi32/reg/reg.c b/reactos/lib/advapi32/reg/reg.c index bda37816eb8..265f264c686 100644 --- a/reactos/lib/advapi32/reg/reg.c +++ b/reactos/lib/advapi32/reg/reg.c @@ -8,12 +8,9 @@ * Created 01/11/98 * 19990309 EA Stubs */ -//#define WIN32_LEAN_AND_MEAN #include -#include #include - /************************************************************************ * RegCloseKey */ @@ -44,22 +41,6 @@ RegConnectRegistryA( } -/************************************************************************ - * RegConnectRegistryW - */ -LONG -STDCALL -RegConnectRegistryW( - LPWSTR lpMachineName, - HKEY hKey, - PHKEY phkResult - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegCreateKeyA */ @@ -76,22 +57,6 @@ RegCreateKeyA( } -/************************************************************************ - * RegCreateKeyW - */ -LONG -STDCALL -RegCreateKeyW( - HKEY hKey, - LPCWSTR lpSubKey, - PHKEY phkResult - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegCreateKeyExA */ @@ -114,28 +79,6 @@ RegCreateKeyExA( } -/************************************************************************ - * RegCreateKeyExW - */ -LONG -STDCALL -RegCreateKeyExW( - HKEY hKey, - LPCWSTR lpSubKey, - DWORD Reserved, - LPWSTR lpClass, - DWORD dwOptions, - REGSAM samDesired, - LPSECURITY_ATTRIBUTES lpSecurityAttributes, - PHKEY phkResult, - LPDWORD lpdwDisposition - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegDeleteKeyA */ @@ -151,21 +94,6 @@ RegDeleteKeyA( } -/************************************************************************ - * RegDeleteKeyW - */ -LONG -STDCALL -RegDeleteKeyW( - HKEY hKey, - LPCWSTR lpSubKey - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegDeleteValueA */ @@ -181,21 +109,6 @@ RegDeleteValueA( } -/************************************************************************ - * RegDeleteValueW - */ -LONG -STDCALL -RegDeleteValueW( - HKEY hKey, - LPCWSTR lpValueName - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegEnumKeyA */ @@ -213,23 +126,6 @@ RegEnumKeyA( } -/************************************************************************ - * RegEnumKeyW - */ -LONG -STDCALL -RegEnumKeyW( - HKEY hKey, - DWORD dwIndex, - LPWSTR lpName, - DWORD cbName - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegEnumKeyExA */ @@ -251,27 +147,6 @@ RegEnumKeyExA( } -/************************************************************************ - * RegEnumKeyExW - */ -LONG -STDCALL -RegEnumKeyExW( - HKEY hKey, - DWORD dwIndex, - LPWSTR lpName, - LPDWORD lpcbName, - LPDWORD lpReserved, - LPWSTR lpClass, - LPDWORD lpcbClass, - PFILETIME lpftLastWriteTime - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegEnumValueA */ @@ -293,27 +168,6 @@ RegEnumValueA( } -/************************************************************************ - * RegEnumValueW - */ -LONG -STDCALL -RegEnumValueW( - HKEY hKey, - DWORD dwIndex, - LPWSTR lpValueName, - LPDWORD lpcbValueName, - LPDWORD lpReserved, - LPDWORD lpType, - LPBYTE lpData, - LPDWORD lpcbData - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegFlushKey */ @@ -335,7 +189,7 @@ LONG STDCALL RegGetKeySecurity ( HKEY hKey, - SECURITY_INFORMATION SecurityInformation, + SECURITY_INFORMATION SecurityInformation, /* FIXME: ULONG ? */ PSECURITY_DESCRIPTOR pSecurityDescriptor, LPDWORD lpcbSecurityDescriptor ) @@ -352,6 +206,7 @@ LONG STDCALL RegLoadKey( HKEY hKey, + LPCSTR lpSubKey, LPCSTR lpFile ) { @@ -360,21 +215,6 @@ RegLoadKey( } -/************************************************************************ - * RegLoadKeyW - */ -LONG -STDCALL -RegLoadKeyW( - HKEY hKey, - LPCWSTR lpFile - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegNotifyChangeKeyValue */ @@ -410,48 +250,6 @@ RegOpenKeyA( } -/************************************************************************ - * RegOpenKeyW - * - * 19981101 Ariadne - * 19990525 EA - */ -LONG -STDCALL -RegOpenKeyW ( - HKEY hKey, - LPCWSTR lpSubKey, - PHKEY phkResult - ) -{ - NTSTATUS errCode; - UNICODE_STRING SubKeyString; - OBJECT_ATTRIBUTES ObjectAttributes; - - - SubKeyString.Buffer = (LPWSTR) lpSubKey; - SubKeyString.Length = wcslen(lpSubKey); - SubKeyString.MaximumLength = SubKeyString.Length; - - ObjectAttributes.RootDirectory = hKey; - ObjectAttributes.ObjectName = & SubKeyString; - ObjectAttributes.Attributes = OBJ_CASE_INSENSITIVE; - errCode = NtOpenKey( - phkResult, - GENERIC_ALL, - & ObjectAttributes - ); - if ( !NT_SUCCESS(errCode) ) - { - LONG LastError = RtlNtStatusToDosError(errCode); - - SetLastError(LastError); - return LastError; - } - return ERROR_SUCCESS; -} - - /************************************************************************ * RegOpenKeyExA */ @@ -461,23 +259,7 @@ RegOpenKeyExA( HKEY hKey, LPCSTR lpSubKey, DWORD ulOptions, - PHKEY phkResult - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - -/************************************************************************ - * RegOpenKeyExW - */ -LONG -STDCALL -RegOpenKeyExW( - HKEY hKey, - LPCWSTR lpSubKey, - DWORD ulOptions, + REGSAM samDesired, PHKEY phkResult ) { @@ -502,30 +284,7 @@ RegQueryInfoKeyA( LPDWORD lpcValues, LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen, - PFILETIME lpftLastWriteTime - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - -/************************************************************************ - * RegQueryInfoKeyW - */ -LONG -STDCALL -RegQueryInfoKeyW( - HKEY hKey, - LPWSTR lpClass, - LPDWORD lpcbClass, - LPDWORD lpReserved, - LPDWORD lpcSubKeys, - LPDWORD lpcbMaxSubKeyLen, - LPDWORD lpcbMaxClassLen, - LPDWORD lpcValues, - LPDWORD lpcbMaxValueNameLen, - LPDWORD lpcbMaxValueLen, + LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime ) { @@ -552,24 +311,6 @@ RegQueryMultipleValuesA( } -/************************************************************************ - * RegQueryMultipleValuesW - */ -LONG -STDCALL -RegQueryMultipleValuesW( - HKEY hKey, - PVALENT val_list, - DWORD num_vals, - LPWSTR lpValueBuf, - LPDWORD ldwTotsize - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegQueryValueA */ @@ -587,23 +328,6 @@ RegQueryValueA( } -/************************************************************************ - * RegQueryValueW - */ -LONG -STDCALL -RegQueryValueW( - HKEY hKey, - LPCWSTR lpSubKey, - LPWSTR lpValue, - PLONG lpcbValue - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegQueryValueExA */ @@ -611,26 +335,7 @@ LONG STDCALL RegQueryValueExA( HKEY hKey, - LPSTR lpValueName, - LPDWORD lpReserved, - LPDWORD lpType, - LPBYTE lpData, - LPDWORD lpcbData - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - -/************************************************************************ - * RegQueryValueExW - */ -LONG -STDCALL -RegQueryValueExW( - HKEY hKey, - LPWSTR lpValueName, + LPCSTR lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, @@ -659,23 +364,6 @@ RegReplaceKeyA( } -/************************************************************************ - * RegReplaceKeyW - */ -LONG -STDCALL -RegReplaceKeyW( - HKEY hKey, - LPCWSTR lpSubKey, - LPCWSTR lpNewFile, - LPCWSTR lpOldFile - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegRestoreKeyA */ @@ -692,22 +380,6 @@ RegRestoreKeyA( } -/************************************************************************ - * RegRestoreKeyW - */ -LONG -STDCALL -RegRestoreKeyW( - HKEY hKey, - LPCWSTR lpFile, - DWORD dwFlags - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegSaveKeyA */ @@ -724,22 +396,6 @@ RegSaveKeyA( } -/************************************************************************ - * RegSaveKeyW - */ -LONG -STDCALL -RegSaveKeyW( - HKEY hKey, - LPCWSTR lpFile, - LPSECURITY_ATTRIBUTES lpSecurityAttributes - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegSetKeySecurity */ @@ -747,7 +403,7 @@ LONG STDCALL RegSetKeySecurity( HKEY hKey, - SECURITY_INFORMATION SecurityInformation, + SECURITY_INFORMATION SecurityInformation, /* FIXME: ULONG? */ PSECURITY_DESCRIPTOR pSecurityDescriptor ) { @@ -774,24 +430,6 @@ RegSetValueA( } -/************************************************************************ - * RegSetValueW - */ -LONG -STDCALL -RegSetValueW( - HKEY hKey, - LPCWSTR lpSubKey, - DWORD dwType, - LPCWSTR lpData, - DWORD cbData - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegSetValueExA */ @@ -811,25 +449,6 @@ RegSetValueExA( } -/************************************************************************ - * RegSetValueExW - */ -LONG -STDCALL -RegSetValueExW( - HKEY hKey, - LPCWSTR lpValueName, - DWORD Reserved, - DWORD dwType, - CONST BYTE *lpData, - DWORD cbData - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /************************************************************************ * RegUnLoadKeyA */ @@ -845,20 +464,5 @@ RegUnLoadKeyA( } -/************************************************************************ - * RegUnLoadKeyW - */ -LONG -STDCALL -RegUnLoadKeyW( - HKEY hKey, - LPCWSTR lpSubKey - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return ERROR_CALL_NOT_IMPLEMENTED; -} - - /* EOF */ diff --git a/reactos/lib/fmifs/fmifs.def b/reactos/lib/fmifs/fmifs.def index f63c68bb24a..6f6a26965e1 100644 --- a/reactos/lib/fmifs/fmifs.def +++ b/reactos/lib/fmifs/fmifs.def @@ -1,4 +1,4 @@ -; $Id: fmifs.def,v 1.2 1999/05/21 05:25:12 ea Exp $ +; $Id: fmifs.def,v 1.3 1999/07/17 23:10:18 ea Exp $ ; ; fmifs.def ; @@ -12,15 +12,12 @@ ; LIBRARY fmifs EXPORTS - Chkdsk@36 - Chkdsk = Chkdsk@36 - DiskCopy = DiskCopy@0 - EnableVolumeCompression@8 - EnableVolumeCompression = EnableVolumeCompression@8 - Extend = Extend@0 - Format = Format@0 - FormatEx@28 - FormatEx = FormatEx@28 - InitializeFmIfs = InitializeFmIfs@0 - QuerySupportedMedia = QuerySupportedMedia@0 - SetLabel = SetLabel@0 +Chkdsk@36 +DiskCopy@0 +EnableVolumeCompression@8 +Extend@0 +Format@0 +FormatEx@28 +InitializeFmIfs@0 +QuerySupportedMedia@0 +SetLabel@0 diff --git a/reactos/lib/fmifs/fmifs.edf b/reactos/lib/fmifs/fmifs.edf new file mode 100644 index 00000000000..4a5a4fa177f --- /dev/null +++ b/reactos/lib/fmifs/fmifs.edf @@ -0,0 +1,23 @@ +; $Id: fmifs.edf,v 1.1 1999/07/17 23:10:19 ea Exp $ +; +; fmifs.def +; +; Project : ReactOS +; Description : fmifs.dll exported symbols +; Contributors: +; Created by Emanuele Aliberti +; +; +; NOTE: NOTE: Functions with trailing @0 are unknown. +; +LIBRARY fmifs +EXPORTS +Chkdsk=Chkdsk@36 +DiskCopy=DiskCopy@0 +EnableVolumeCompression=EnableVolumeCompression@8 +Extend=Extend@0 +Format=Format@0 +FormatEx=FormatEx@28 +InitializeFmIfs=InitializeFmIfs@0 +QuerySupportedMedia=QuerySupportedMedia@0 +SetLabel=SetLabel@0 diff --git a/reactos/lib/fmifs/makefile b/reactos/lib/fmifs/makefile index 16171b41c9b..f5ca25f866d 100644 --- a/reactos/lib/fmifs/makefile +++ b/reactos/lib/fmifs/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.5 1999/07/16 23:37:04 rex Exp $ +# $Id: makefile,v 1.6 1999/07/17 23:10:19 ea Exp $ # # Makefile for fmifs.dll # @@ -34,9 +34,8 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def $(DLLTOOL) \ --dllname $(TARGET).dll \ --def $(TARGET).def \ - --output-lib $(TARGET).a \ - --add-stdcall-alias \ - --kill-at + --kill-at \ + --output-lib $(TARGET).a $(CC) \ -specs=$(TARGET)_specs \ -mdll \ @@ -48,9 +47,7 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def --dllname $(TARGET).dll \ --base-file base.tmp \ --output-exp temp.exp \ - --def $(TARGET).def \ - --add-stdcall-alias \ - --kill-at + --def $(TARGET).edf - $(RM) base.tmp $(CC) \ -specs=$(TARGET)_specs \ diff --git a/reactos/lib/gdi32/gdi32.def b/reactos/lib/gdi32/gdi32.def index 5e47975857a..f91be4181df 100644 --- a/reactos/lib/gdi32/gdi32.def +++ b/reactos/lib/gdi32/gdi32.def @@ -1,342 +1,342 @@ -; $Id: gdi32.def,v 1.2 1999/05/24 20:04:44 ea Exp $ +; $Id: gdi32.def,v 1.3 1999/07/17 23:10:19 ea Exp $ ; ; gdi32.def ; ; ReactOS Operating System ; -; Aliased symbols from Anders Norlander's w32api-0.1.5 gdi32.def. +; From Anders Norlander's w32api-0.1.5 gdi32.def. ; LIBRARY gdi32 EXPORTS - AbortDoc = AbortDoc@4 - AbortPath = AbortPath@4 - AddFontResourceA = AddFontResourceA@4 - AddFontResourceW = AddFontResourceW@4 - AngleArc = AngleArc@24 - AnimatePalette = AnimatePalette@16 - Arc = Arc@36 - ArcTo = ArcTo@36 - BeginPath = BeginPath@4 - BitBlt = BitBlt@36 - CancelDC = CancelDC@4 - CheckColorsInGamut = CheckColorsInGamut@16 - ChoosePixelFormat = ChoosePixelFormat@8 - Chord = Chord@36 - CloseEnhMetaFile = CloseEnhMetaFile@4 - CloseFigure = CloseFigure@4 - CloseMetaFile = CloseMetaFile@4 - ColorMatchToTarget = ColorMatchToTarget@12 - CombineRgn = CombineRgn@16 - CombineTransform = CombineTransform@12 - CopyEnhMetaFileA = CopyEnhMetaFileA@8 - CopyEnhMetaFileW = CopyEnhMetaFileW@8 - CopyMetaFileA = CopyMetaFileA@8 - CopyMetaFileW = CopyMetaFileW@8 - CreateBitmap = CreateBitmap@20 - CreateBitmapIndirect = CreateBitmapIndirect@4 - CreateBrushIndirect = CreateBrushIndirect@4 - CreateColorSpaceA = CreateColorSpaceA@4 - CreateColorSpaceW = CreateColorSpaceW@4 - CreateCompatibleBitmap = CreateCompatibleBitmap@12 - CreateCompatibleDC = CreateCompatibleDC@4 - CreateDCA = CreateDCA@16 - CreateDCW = CreateDCW@16 - CreateDIBPatternBrush = CreateDIBPatternBrush@8 - CreateDIBPatternBrushPt = CreateDIBPatternBrushPt@8 - CreateDIBSection = CreateDIBSection@24 - CreateDIBitmap = CreateDIBitmap@24 - CreateDiscardableBitmap = CreateDiscardableBitmap@12 - CreateEllipticRgn = CreateEllipticRgn@16 - CreateEllipticRgnIndirect = CreateEllipticRgnIndirect@4 - CreateEnhMetaFileA = CreateEnhMetaFileA@16 - CreateEnhMetaFileW = CreateEnhMetaFileW@16 - CreateFontA = CreateFontA@56 - CreateFontIndirectA = CreateFontIndirectA@4 - CreateFontIndirectW = CreateFontIndirectW@4 - CreateFontW = CreateFontW@56 - CreateHalftonePalette = CreateHalftonePalette@4 - CreateHatchBrush = CreateHatchBrush@8 - CreateICA = CreateICA@16 - CreateICW = CreateICW@16 - CreateMetaFileA = CreateMetaFileA@4 - CreateMetaFileW = CreateMetaFileW@4 - CreatePalette = CreatePalette@4 - CreatePatternBrush = CreatePatternBrush@4 - CreatePen = CreatePen@12 - CreatePenIndirect = CreatePenIndirect@4 - CreatePolyPolygonRgn = CreatePolyPolygonRgn@16 - CreatePolygonRgn = CreatePolygonRgn@12 - CreateRectRgn = CreateRectRgn@16 - CreateRectRgnIndirect = CreateRectRgnIndirect@4 - CreateRoundRectRgn = CreateRoundRectRgn@24 - CreateScalableFontResourceA = CreateScalableFontResourceA@16 - CreateScalableFontResourceW = CreateScalableFontResourceW@16 - CreateSolidBrush = CreateSolidBrush@4 - DPtoLP = DPtoLP@12 - DeleteColorSpace = DeleteColorSpace@4 - DeleteDC = DeleteDC@4 - DeleteEnhMetaFile = DeleteEnhMetaFile@4 - DeleteMetaFile = DeleteMetaFile@4 - DeleteObject = DeleteObject@4 - DescribePixelFormat = DescribePixelFormat@16 - DeviceCapabilitiesExA = DeviceCapabilitiesExA@20 - DeviceCapabilitiesExW = DeviceCapabilitiesExW@20 - DrawEscape = DrawEscape@16 - Ellipse = Ellipse@20 - EndDoc = EndDoc@4 - EndPage = EndPage@4 - EndPath = EndPath@4 - EnumEnhMetaFile = EnumEnhMetaFile@20 - EnumFontFamiliesA = EnumFontFamiliesA@16 - EnumFontFamiliesExA = EnumFontFamiliesExA@20 - EnumFontFamiliesExW = EnumFontFamiliesExW@20 - EnumFontFamiliesW = EnumFontFamiliesW@16 - EnumFontsA = EnumFontsA@16 - EnumFontsW = EnumFontsW@16 - EnumICMProfilesA = EnumICMProfilesA@12 - EnumICMProfilesW = EnumICMProfilesW@12 - EnumMetaFile = EnumMetaFile@16 - EnumObjects = EnumObjects@16 - EqualRgn = EqualRgn@8 - Escape = Escape@20 - ExcludeClipRect = ExcludeClipRect@20 - ExtCreatePen = ExtCreatePen@20 - ExtCreateRegion = ExtCreateRegion@12 - ExtEscape = ExtEscape@24 - ExtFloodFill = ExtFloodFill@20 - ExtSelectClipRgn = ExtSelectClipRgn@12 - ExtTextOutA = ExtTextOutA@32 - ExtTextOutW = ExtTextOutW@32 - FillPath = FillPath@4 - FillRgn = FillRgn@12 - FixBrushOrgEx = FixBrushOrgEx@16 - FlattenPath = FlattenPath@4 - FloodFill = FloodFill@16 - FrameRgn = FrameRgn@20 - GdiComment = GdiComment@12 - GdiFlush = GdiFlush@0 - GdiGetBatchLimit = GdiGetBatchLimit@0 - GdiPlayDCScript = GdiPlayDCScript@24 - GdiPlayJournal = GdiPlayJournal@20 - GdiPlayScript = GdiPlayScript@28 - GdiSetBatchLimit = GdiSetBatchLimit@4 - GetArcDirection = GetArcDirection@4 - GetAspectRatioFilterEx = GetAspectRatioFilterEx@8 - GetBitmapBits = GetBitmapBits@12 - GetBitmapDimensionEx = GetBitmapDimensionEx@8 - GetBkColor = GetBkColor@4 - GetBkMode = GetBkMode@4 - GetBoundsRect = GetBoundsRect@12 - GetBrushOrgEx = GetBrushOrgEx@8 - GetCharABCWidthsA = GetCharABCWidthsA@16 - GetCharABCWidthsFloatA = GetCharABCWidthsFloatA@16 - GetCharABCWidthsFloatW = GetCharABCWidthsFloatW@16 - GetCharABCWidthsW = GetCharABCWidthsW@16 - GetCharWidth32A = GetCharWidth32A@16 - GetCharWidth32W = GetCharWidth32W@16 - GetCharWidthA = GetCharWidthA@16 - GetCharWidthFloatA = GetCharWidthFloatA@16 - GetCharWidthFloatW = GetCharWidthFloatW@16 - GetCharWidthW = GetCharWidthW@16 - GetCharacterPlacementA = GetCharacterPlacementA@24 - GetCharacterPlacementW = GetCharacterPlacementW@24 - GetClipBox = GetClipBox@8 - GetClipRgn = GetClipRgn@8 - GetColorAdjustment = GetColorAdjustment@8 - GetColorSpace = GetColorSpace@4 - GetCurrentObject = GetCurrentObject@8 - GetCurrentPositionEx = GetCurrentPositionEx@8 - GetDCOrgEx = GetDCOrgEx@8 - GetDIBColorTable = GetDIBColorTable@16 - GetDIBits = GetDIBits@28 - GetDeviceCaps = GetDeviceCaps@8 - GetDeviceGammaRamp = GetDeviceGammaRamp@8 - GetEnhMetaFileA = GetEnhMetaFileA@4 - GetEnhMetaFileBits = GetEnhMetaFileBits@12 - GetEnhMetaFileDescriptionA = GetEnhMetaFileDescriptionA@12 - GetEnhMetaFileDescriptionW = GetEnhMetaFileDescriptionW@12 - GetEnhMetaFileHeader = GetEnhMetaFileHeader@12 - GetEnhMetaFilePaletteEntries = GetEnhMetaFilePaletteEntries@12 - GetEnhMetaFilePixelFormat = GetEnhMetaFilePixelFormat@12 - GetEnhMetaFileW = GetEnhMetaFileW@4 - GetFontData = GetFontData@20 - GetFontLanguageInfo = GetFontLanguageInfo@4 - GetFontResourceInfo = GetFontResourceInfo@16 - GetFontResourceInfoW = GetFontResourceInfoW@16 - GetGlyphOutline = GetGlyphOutlineA@28 - GetGlyphOutlineA = GetGlyphOutlineA@28 - GetGlyphOutlineW = GetGlyphOutlineW@28 - GetGlyphOutlineWow = GetGlyphOutlineWow@28 - GetGraphicsMode = GetGraphicsMode@4 - GetICMProfileA = GetICMProfileA@12 - GetICMProfileW = GetICMProfileW@12 - GetKerningPairs = GetKerningPairsA@12 - GetKerningPairsA = GetKerningPairsA@12 - GetKerningPairsW = GetKerningPairsW@12 - GetLogColorSpaceA = GetLogColorSpaceA@12 - GetLogColorSpaceW = GetLogColorSpaceW@12 - GetMapMode = GetMapMode@4 - GetMetaFileA = GetMetaFileA@4 - GetMetaFileBitsEx = GetMetaFileBitsEx@12 - GetMetaFileW = GetMetaFileW@4 - GetMetaRgn = GetMetaRgn@8 - GetMiterLimit = GetMiterLimit@8 - GetNearestColor = GetNearestColor@8 - GetNearestPaletteIndex = GetNearestPaletteIndex@8 - GetObjectA = GetObjectA@12 - GetObjectType = GetObjectType@4 - GetObjectW = GetObjectW@12 - GetOutlineTextMetricsA = GetOutlineTextMetricsA@12 - GetOutlineTextMetricsW = GetOutlineTextMetricsW@12 - GetPaletteEntries = GetPaletteEntries@16 - GetPath = GetPath@16 - GetPixel = GetPixel@12 - GetPixelFormat = GetPixelFormat@4 - GetPolyFillMode = GetPolyFillMode@4 - GetROP2 = GetROP2@4 - GetRandomRgn = GetRandomRgn@12 - GetRasterizerCaps = GetRasterizerCaps@8 - GetRegionData = GetRegionData@12 - GetRelAbs = GetRelAbs@8 - GetRgnBox = GetRgnBox@8 - GetStockObject = GetStockObject@4 - GetStretchBltMode = GetStretchBltMode@4 - GetSystemPaletteEntries = GetSystemPaletteEntries@16 - GetSystemPaletteUse = GetSystemPaletteUse@4 - GetTextAlign = GetTextAlign@4 - GetTextCharacterExtra = GetTextCharacterExtra@4 - GetTextCharset = GetTextCharset@4 - GetTextCharsetInfo = GetTextCharsetInfo@12 - GetTextColor = GetTextColor@4 - GetTextExtentExPointA = GetTextExtentExPointA@28 - GetTextExtentExPointW = GetTextExtentExPointW@28 - GetTextExtentPoint32A = GetTextExtentPoint32A@16 - GetTextExtentPoint32W = GetTextExtentPoint32W@16 - GetTextExtentPointA = GetTextExtentPointA@16 - GetTextExtentPointW = GetTextExtentPointW@16 - GetTextFaceA = GetTextFaceA@12 - GetTextFaceW = GetTextFaceW@12 - GetTextMetricsA = GetTextMetricsA@8 - GetTextMetricsW = GetTextMetricsW@8 - GetViewportExtEx = GetViewportExtEx@8 - GetViewportOrgEx = GetViewportOrgEx@8 - GetWinMetaFileBits = GetWinMetaFileBits@20 - GetWindowExtEx = GetWindowExtEx@8 - GetWindowOrgEx = GetWindowOrgEx@8 - GetWorldTransform = GetWorldTransform@8 - IntersectClipRect = IntersectClipRect@20 - InvertRgn = InvertRgn@8 - LPtoDP = LPtoDP@12 - LineDDA = LineDDA@24 - LineTo = LineTo@12 - MaskBlt = MaskBlt@48 - ModifyWorldTransform = ModifyWorldTransform@12 - MoveToEx = MoveToEx@16 - OffsetClipRgn = OffsetClipRgn@12 - OffsetRgn = OffsetRgn@12 - OffsetViewportOrgEx = OffsetViewportOrgEx@16 - OffsetWindowOrgEx = OffsetWindowOrgEx@16 - PaintRgn = PaintRgn@8 - PatBlt = PatBlt@24 - PathToRegion = PathToRegion@4 - Pie = Pie@36 - PlayEnhMetaFile = PlayEnhMetaFile@12 - PlayEnhMetaFileRecord = PlayEnhMetaFileRecord@16 - PlayMetaFile = PlayMetaFile@8 - PlayMetaFileRecord = PlayMetaFileRecord@16 - PlgBlt = PlgBlt@40 - PolyBezier = PolyBezier@12 - PolyBezierTo = PolyBezierTo@12 - PolyDraw = PolyDraw@16 - PolyPolygon = PolyPolygon@16 - PolyPolyline = PolyPolyline@16 - PolyTextOutA = PolyTextOutA@12 - PolyTextOutW = PolyTextOutW@12 - Polygon = Polygon@12 - Polyline = Polyline@12 - PolylineTo = PolylineTo@12 - PtInRegion = PtInRegion@12 - PtVisible = PtVisible@12 - RealizePalette = RealizePalette@4 - RectInRegion = RectInRegion@8 - RectVisible = RectVisible@8 - Rectangle = Rectangle@20 - RemoveFontResourceA = RemoveFontResourceA@4 - RemoveFontResourceW = RemoveFontResourceW@4 - ResetDCA = ResetDCA@8 - ResetDCW = ResetDCW@8 - ResizePalette = ResizePalette@8 - RestoreDC = RestoreDC@8 - RoundRect = RoundRect@28 - SaveDC = SaveDC@4 - ScaleViewportExtEx = ScaleViewportExtEx@24 - ScaleWindowExtEx = ScaleWindowExtEx@24 - SelectBrushLocal = SelectBrushLocal@8 - SelectClipPath = SelectClipPath@8 - SelectClipRgn = SelectClipRgn@8 - SelectFontLocal = SelectFontLocal@8 - SelectObject = SelectObject@8 - SelectPalette = SelectPalette@12 - SetAbortProc = SetAbortProc@8 - SetArcDirection = SetArcDirection@8 - SetBitmapBits = SetBitmapBits@12 - SetBitmapDimensionEx = SetBitmapDimensionEx@16 - SetBkColor = SetBkColor@8 - SetBkMode = SetBkMode@8 - SetBoundsRect = SetBoundsRect@12 - SetBrushOrgEx = SetBrushOrgEx@16 - SetColorAdjustment = SetColorAdjustment@8 - SetColorSpace = SetColorSpace@8 - SetDIBColorTable = SetDIBColorTable@16 - SetDIBits = SetDIBits@28 - SetDIBitsToDevice = SetDIBitsToDevice@48 - SetDeviceGammaRamp = SetDeviceGammaRamp@8 - SetEnhMetaFileBits = SetEnhMetaFileBits@8 - SetFontEnumeration = SetFontEnumeration@4 - SetGraphicsMode = SetGraphicsMode@8 - SetICMMode = SetICMMode@8 - SetICMProfileA = SetICMProfileA@8 - SetICMProfileW = SetICMProfileW@8 - SetMapMode = SetMapMode@8 - SetMapperFlags = SetMapperFlags@8 - SetMetaFileBitsEx = SetMetaFileBitsEx@8 - SetMetaRgn = SetMetaRgn@4 - SetMiterLimit = SetMiterLimit@12 - SetPaletteEntries = SetPaletteEntries@16 - SetPixel = SetPixel@16 - SetPixelFormat = SetPixelFormat@12 - SetPixelV = SetPixelV@16 - SetPolyFillMode = SetPolyFillMode@8 - SetROP2 = SetROP2@8 - SetRectRgn = SetRectRgn@20 - SetRelAbs = SetRelAbs@8 - SetStretchBltMode = SetStretchBltMode@8 - SetSystemPaletteUse = SetSystemPaletteUse@8 - SetTextAlign = SetTextAlign@8 - SetTextCharacterExtra = SetTextCharacterExtra@8 - SetTextColor = SetTextColor@8 - SetTextJustification = SetTextJustification@12 - SetViewportExtEx = SetViewportExtEx@16 - SetViewportOrgEx = SetViewportOrgEx@16 - SetWinMetaFileBits = SetWinMetaFileBits@16 - SetWindowExtEx = SetWindowExtEx@16 - SetWindowOrgEx = SetWindowOrgEx@16 - SetWorldTransform = SetWorldTransform@8 - StartDocA = StartDocA@8 - StartDocW = StartDocW@8 - StartPage = StartPage@4 - StretchBlt = StretchBlt@44 - StretchDIBits = StretchDIBits@52 - StrokeAndFillPath = StrokeAndFillPath@4 - StrokePath = StrokePath@4 - SwapBuffers = SwapBuffers@4 - TextOutA = TextOutA@20 - TextOutW = TextOutW@20 - TranslateCharsetInfo = TranslateCharsetInfo@12 - UnrealizeObject = UnrealizeObject@4 - UpdateColors = UpdateColors@4 - UpdateICMRegKey = UpdateICMRegKeyA@16 - UpdateICMRegKeyA = UpdateICMRegKeyA@16 - UpdateICMRegKeyW = UpdateICMRegKeyW@16 - WidenPath = WidenPath@4 - gdiPlaySpoolStream = gdiPlaySpoolStream@24 +AbortDoc@4 +AbortPath@4 +AddFontResourceA@4 +AddFontResourceW@4 +AngleArc@24 +AnimatePalette@16 +Arc@36 +ArcTo@36 +BeginPath@4 +BitBlt@36 +CancelDC@4 +CheckColorsInGamut@16 +ChoosePixelFormat@8 +Chord@36 +CloseEnhMetaFile@4 +CloseFigure@4 +CloseMetaFile@4 +ColorMatchToTarget@12 +CombineRgn@16 +CombineTransform@12 +CopyEnhMetaFileA@8 +CopyEnhMetaFileW@8 +CopyMetaFileA@8 +CopyMetaFileW@8 +CreateBitmap@20 +CreateBitmapIndirect@4 +CreateBrushIndirect@4 +CreateColorSpaceA@4 +CreateColorSpaceW@4 +CreateCompatibleBitmap@12 +CreateCompatibleDC@4 +CreateDCA@16 +CreateDCW@16 +CreateDIBPatternBrush@8 +CreateDIBPatternBrushPt@8 +CreateDIBSection@24 +CreateDIBitmap@24 +CreateDiscardableBitmap@12 +CreateEllipticRgn@16 +CreateEllipticRgnIndirect@4 +CreateEnhMetaFileA@16 +CreateEnhMetaFileW@16 +CreateFontA@56 +CreateFontIndirectA@4 +CreateFontIndirectW@4 +CreateFontW@56 +CreateHalftonePalette@4 +CreateHatchBrush@8 +CreateICA@16 +CreateICW@16 +CreateMetaFileA@4 +CreateMetaFileW@4 +CreatePalette@4 +CreatePatternBrush@4 +CreatePen@12 +CreatePenIndirect@4 +CreatePolyPolygonRgn@16 +CreatePolygonRgn@12 +CreateRectRgn@16 +CreateRectRgnIndirect@4 +CreateRoundRectRgn@24 +CreateScalableFontResourceA@16 +CreateScalableFontResourceW@16 +CreateSolidBrush@4 +DPtoLP@12 +DeleteColorSpace@4 +DeleteDC@4 +DeleteEnhMetaFile@4 +DeleteMetaFile@4 +DeleteObject@4 +DescribePixelFormat@16 +DeviceCapabilitiesExA@20 +DeviceCapabilitiesExW@20 +DrawEscape@16 +Ellipse@20 +EndDoc@4 +EndPage@4 +EndPath@4 +EnumEnhMetaFile@20 +EnumFontFamiliesA@16 +EnumFontFamiliesExA@20 +EnumFontFamiliesExW@20 +EnumFontFamiliesW@16 +EnumFontsA@16 +EnumFontsW@16 +EnumICMProfilesA@12 +EnumICMProfilesW@12 +EnumMetaFile@16 +EnumObjects@16 +EqualRgn@8 +Escape@20 +ExcludeClipRect@20 +ExtCreatePen@20 +ExtCreateRegion@12 +ExtEscape@24 +ExtFloodFill@20 +ExtSelectClipRgn@12 +ExtTextOutA@32 +ExtTextOutW@32 +FillPath@4 +FillRgn@12 +FixBrushOrgEx@16 +FlattenPath@4 +FloodFill@16 +FrameRgn@20 +GdiComment@12 +GdiFlush@0 +GdiGetBatchLimit@0 +GdiPlayDCScript@24 +GdiPlayJournal@20 +GdiPlayScript@28 +GdiSetBatchLimit@4 +GetArcDirection@4 +GetAspectRatioFilterEx@8 +GetBitmapBits@12 +GetBitmapDimensionEx@8 +GetBkColor@4 +GetBkMode@4 +GetBoundsRect@12 +GetBrushOrgEx@8 +GetCharABCWidthsA@16 +GetCharABCWidthsFloatA@16 +GetCharABCWidthsFloatW@16 +GetCharABCWidthsW@16 +GetCharWidth32A@16 +GetCharWidth32W@16 +GetCharWidthA@16 +GetCharWidthFloatA@16 +GetCharWidthFloatW@16 +GetCharWidthW@16 +GetCharacterPlacementA@24 +GetCharacterPlacementW@24 +GetClipBox@8 +GetClipRgn@8 +GetColorAdjustment@8 +GetColorSpace@4 +GetCurrentObject@8 +GetCurrentPositionEx@8 +GetDCOrgEx@8 +GetDIBColorTable@16 +GetDIBits@28 +GetDeviceCaps@8 +GetDeviceGammaRamp@8 +GetEnhMetaFileA@4 +GetEnhMetaFileBits@12 +GetEnhMetaFileDescriptionA@12 +GetEnhMetaFileDescriptionW@12 +GetEnhMetaFileHeader@12 +GetEnhMetaFilePaletteEntries@12 +GetEnhMetaFilePixelFormat@12 +GetEnhMetaFileW@4 +GetFontData@20 +GetFontLanguageInfo@4 +GetFontResourceInfo@16 +GetFontResourceInfoW@16 +GetGlyphOutlineA@28 +GetGlyphOutlineA@28 +GetGlyphOutlineW@28 +GetGlyphOutlineWow@28 +GetGraphicsMode@4 +GetICMProfileA@12 +GetICMProfileW@12 +GetKerningPairsA@12 +GetKerningPairsA@12 +GetKerningPairsW@12 +GetLogColorSpaceA@12 +GetLogColorSpaceW@12 +GetMapMode@4 +GetMetaFileA@4 +GetMetaFileBitsEx@12 +GetMetaFileW@4 +GetMetaRgn@8 +GetMiterLimit@8 +GetNearestColor@8 +GetNearestPaletteIndex@8 +GetObjectA@12 +GetObjectType@4 +GetObjectW@12 +GetOutlineTextMetricsA@12 +GetOutlineTextMetricsW@12 +GetPaletteEntries@16 +GetPath@16 +GetPixel@12 +GetPixelFormat@4 +GetPolyFillMode@4 +GetROP2@4 +GetRandomRgn@12 +GetRasterizerCaps@8 +GetRegionData@12 +GetRelAbs@8 +GetRgnBox@8 +GetStockObject@4 +GetStretchBltMode@4 +GetSystemPaletteEntries@16 +GetSystemPaletteUse@4 +GetTextAlign@4 +GetTextCharacterExtra@4 +GetTextCharset@4 +GetTextCharsetInfo@12 +GetTextColor@4 +GetTextExtentExPointA@28 +GetTextExtentExPointW@28 +GetTextExtentPoint32A@16 +GetTextExtentPoint32W@16 +GetTextExtentPointA@16 +GetTextExtentPointW@16 +GetTextFaceA@12 +GetTextFaceW@12 +GetTextMetricsA@8 +GetTextMetricsW@8 +GetViewportExtEx@8 +GetViewportOrgEx@8 +GetWinMetaFileBits@20 +GetWindowExtEx@8 +GetWindowOrgEx@8 +GetWorldTransform@8 +IntersectClipRect@20 +InvertRgn@8 +LPtoDP@12 +LineDDA@24 +LineTo@12 +MaskBlt@48 +ModifyWorldTransform@12 +MoveToEx@16 +OffsetClipRgn@12 +OffsetRgn@12 +OffsetViewportOrgEx@16 +OffsetWindowOrgEx@16 +PaintRgn@8 +PatBlt@24 +PathToRegion@4 +Pie@36 +PlayEnhMetaFile@12 +PlayEnhMetaFileRecord@16 +PlayMetaFile@8 +PlayMetaFileRecord@16 +PlgBlt@40 +PolyBezier@12 +PolyBezierTo@12 +PolyDraw@16 +PolyPolygon@16 +PolyPolyline@16 +PolyTextOutA@12 +PolyTextOutW@12 +Polygon@12 +Polyline@12 +PolylineTo@12 +PtInRegion@12 +PtVisible@12 +RealizePalette@4 +RectInRegion@8 +RectVisible@8 +Rectangle@20 +RemoveFontResourceA@4 +RemoveFontResourceW@4 +ResetDCA@8 +ResetDCW@8 +ResizePalette@8 +RestoreDC@8 +RoundRect@28 +SaveDC@4 +ScaleViewportExtEx@24 +ScaleWindowExtEx@24 +SelectBrushLocal@8 +SelectClipPath@8 +SelectClipRgn@8 +SelectFontLocal@8 +SelectObject@8 +SelectPalette@12 +SetAbortProc@8 +SetArcDirection@8 +SetBitmapBits@12 +SetBitmapDimensionEx@16 +SetBkColor@8 +SetBkMode@8 +SetBoundsRect@12 +SetBrushOrgEx@16 +SetColorAdjustment@8 +SetColorSpace@8 +SetDIBColorTable@16 +SetDIBits@28 +SetDIBitsToDevice@48 +SetDeviceGammaRamp@8 +SetEnhMetaFileBits@8 +SetFontEnumeration@4 +SetGraphicsMode@8 +SetICMMode@8 +SetICMProfileA@8 +SetICMProfileW@8 +SetMapMode@8 +SetMapperFlags@8 +SetMetaFileBitsEx@8 +SetMetaRgn@4 +SetMiterLimit@12 +SetPaletteEntries@16 +SetPixel@16 +SetPixelFormat@12 +SetPixelV@16 +SetPolyFillMode@8 +SetROP2@8 +SetRectRgn@20 +SetRelAbs@8 +SetStretchBltMode@8 +SetSystemPaletteUse@8 +SetTextAlign@8 +SetTextCharacterExtra@8 +SetTextColor@8 +SetTextJustification@12 +SetViewportExtEx@16 +SetViewportOrgEx@16 +SetWinMetaFileBits@16 +SetWindowExtEx@16 +SetWindowOrgEx@16 +SetWorldTransform@8 +StartDocA@8 +StartDocW@8 +StartPage@4 +StretchBlt@44 +StretchDIBits@52 +StrokeAndFillPath@4 +StrokePath@4 +SwapBuffers@4 +TextOutA@20 +TextOutW@20 +TranslateCharsetInfo@12 +UnrealizeObject@4 +UpdateColors@4 +UpdateICMRegKeyA@16 +UpdateICMRegKeyA@16 +UpdateICMRegKeyW@16 +WidenPath@4 +gdiPlaySpoolStream@24 diff --git a/reactos/lib/gdi32/gdi32.edf b/reactos/lib/gdi32/gdi32.edf new file mode 100644 index 00000000000..b283224c834 --- /dev/null +++ b/reactos/lib/gdi32/gdi32.edf @@ -0,0 +1,342 @@ +; $Id: gdi32.edf,v 1.1 1999/07/17 23:10:19 ea Exp $ +; +; gdi32.def +; +; ReactOS Operating System +; +; From Anders Norlander's w32api-0.1.5 gdi32.def. +; +LIBRARY gdi32 +EXPORTS +AbortDoc=AbortDoc@4 +AbortPath=AbortPath@4 +AddFontResourceA=AddFontResourceA@4 +AddFontResourceW=AddFontResourceW@4 +AngleArc=AngleArc@24 +AnimatePalette=AnimatePalette@16 +Arc=Arc@36 +ArcTo=ArcTo@36 +BeginPath=BeginPath@4 +BitBlt=BitBlt@36 +CancelDC=CancelDC@4 +CheckColorsInGamut=CheckColorsInGamut@16 +ChoosePixelFormat=ChoosePixelFormat@8 +Chord=Chord@36 +CloseEnhMetaFile=CloseEnhMetaFile@4 +CloseFigure=CloseFigure@4 +CloseMetaFile=CloseMetaFile@4 +ColorMatchToTarget=ColorMatchToTarget@12 +CombineRgn=CombineRgn@16 +CombineTransform=CombineTransform@12 +CopyEnhMetaFileA=CopyEnhMetaFileA@8 +CopyEnhMetaFileW=CopyEnhMetaFileW@8 +CopyMetaFileA=CopyMetaFileA@8 +CopyMetaFileW=CopyMetaFileW@8 +CreateBitmap=CreateBitmap@20 +CreateBitmapIndirect=CreateBitmapIndirect@4 +CreateBrushIndirect=CreateBrushIndirect@4 +CreateColorSpaceA=CreateColorSpaceA@4 +CreateColorSpaceW=CreateColorSpaceW@4 +CreateCompatibleBitmap=CreateCompatibleBitmap@12 +CreateCompatibleDC=CreateCompatibleDC@4 +CreateDCA=CreateDCA@16 +CreateDCW=CreateDCW@16 +CreateDIBPatternBrush=CreateDIBPatternBrush@8 +CreateDIBPatternBrushPt=CreateDIBPatternBrushPt@8 +CreateDIBSection=CreateDIBSection@24 +CreateDIBitmap=CreateDIBitmap@24 +CreateDiscardableBitmap=CreateDiscardableBitmap@12 +CreateEllipticRgn=CreateEllipticRgn@16 +CreateEllipticRgnIndirect=CreateEllipticRgnIndirect@4 +CreateEnhMetaFileA=CreateEnhMetaFileA@16 +CreateEnhMetaFileW=CreateEnhMetaFileW@16 +CreateFontA=CreateFontA@56 +CreateFontIndirectA=CreateFontIndirectA@4 +CreateFontIndirectW=CreateFontIndirectW@4 +CreateFontW=CreateFontW@56 +CreateHalftonePalette=CreateHalftonePalette@4 +CreateHatchBrush=CreateHatchBrush@8 +CreateICA=CreateICA@16 +CreateICW=CreateICW@16 +CreateMetaFileA=CreateMetaFileA@4 +CreateMetaFileW=CreateMetaFileW@4 +CreatePalette=CreatePalette@4 +CreatePatternBrush=CreatePatternBrush@4 +CreatePen=CreatePen@12 +CreatePenIndirect=CreatePenIndirect@4 +CreatePolyPolygonRgn=CreatePolyPolygonRgn@16 +CreatePolygonRgn=CreatePolygonRgn@12 +CreateRectRgn=CreateRectRgn@16 +CreateRectRgnIndirect=CreateRectRgnIndirect@4 +CreateRoundRectRgn=CreateRoundRectRgn@24 +CreateScalableFontResourceA=CreateScalableFontResourceA@16 +CreateScalableFontResourceW=CreateScalableFontResourceW@16 +CreateSolidBrush=CreateSolidBrush@4 +DPtoLP=DPtoLP@12 +DeleteColorSpace=DeleteColorSpace@4 +DeleteDC=DeleteDC@4 +DeleteEnhMetaFile=DeleteEnhMetaFile@4 +DeleteMetaFile=DeleteMetaFile@4 +DeleteObject=DeleteObject@4 +DescribePixelFormat=DescribePixelFormat@16 +DeviceCapabilitiesExA=DeviceCapabilitiesExA@20 +DeviceCapabilitiesExW=DeviceCapabilitiesExW@20 +DrawEscape=DrawEscape@16 +Ellipse=Ellipse@20 +EndDoc=EndDoc@4 +EndPage=EndPage@4 +EndPath=EndPath@4 +EnumEnhMetaFile=EnumEnhMetaFile@20 +EnumFontFamiliesA=EnumFontFamiliesA@16 +EnumFontFamiliesExA=EnumFontFamiliesExA@20 +EnumFontFamiliesExW=EnumFontFamiliesExW@20 +EnumFontFamiliesW=EnumFontFamiliesW@16 +EnumFontsA=EnumFontsA@16 +EnumFontsW=EnumFontsW@16 +EnumICMProfilesA=EnumICMProfilesA@12 +EnumICMProfilesW=EnumICMProfilesW@12 +EnumMetaFile=EnumMetaFile@16 +EnumObjects=EnumObjects@16 +EqualRgn=EqualRgn@8 +Escape=Escape@20 +ExcludeClipRect=ExcludeClipRect@20 +ExtCreatePen=ExtCreatePen@20 +ExtCreateRegion=ExtCreateRegion@12 +ExtEscape=ExtEscape@24 +ExtFloodFill=ExtFloodFill@20 +ExtSelectClipRgn=ExtSelectClipRgn@12 +ExtTextOutA=ExtTextOutA@32 +ExtTextOutW=ExtTextOutW@32 +FillPath=FillPath@4 +FillRgn=FillRgn@12 +FixBrushOrgEx=FixBrushOrgEx@16 +FlattenPath=FlattenPath@4 +FloodFill=FloodFill@16 +FrameRgn=FrameRgn@20 +GdiComment=GdiComment@12 +GdiFlush=GdiFlush@0 +GdiGetBatchLimit=GdiGetBatchLimit@0 +GdiPlayDCScript=GdiPlayDCScript@24 +GdiPlayJournal=GdiPlayJournal@20 +GdiPlayScript=GdiPlayScript@28 +GdiSetBatchLimit=GdiSetBatchLimit@4 +GetArcDirection=GetArcDirection@4 +GetAspectRatioFilterEx=GetAspectRatioFilterEx@8 +GetBitmapBits=GetBitmapBits@12 +GetBitmapDimensionEx=GetBitmapDimensionEx@8 +GetBkColor=GetBkColor@4 +GetBkMode=GetBkMode@4 +GetBoundsRect=GetBoundsRect@12 +GetBrushOrgEx=GetBrushOrgEx@8 +GetCharABCWidthsA=GetCharABCWidthsA@16 +GetCharABCWidthsFloatA=GetCharABCWidthsFloatA@16 +GetCharABCWidthsFloatW=GetCharABCWidthsFloatW@16 +GetCharABCWidthsW=GetCharABCWidthsW@16 +GetCharWidth32A=GetCharWidth32A@16 +GetCharWidth32W=GetCharWidth32W@16 +GetCharWidthA=GetCharWidthA@16 +GetCharWidthFloatA=GetCharWidthFloatA@16 +GetCharWidthFloatW=GetCharWidthFloatW@16 +GetCharWidthW=GetCharWidthW@16 +GetCharacterPlacementA=GetCharacterPlacementA@24 +GetCharacterPlacementW=GetCharacterPlacementW@24 +GetClipBox=GetClipBox@8 +GetClipRgn=GetClipRgn@8 +GetColorAdjustment=GetColorAdjustment@8 +GetColorSpace=GetColorSpace@4 +GetCurrentObject=GetCurrentObject@8 +GetCurrentPositionEx=GetCurrentPositionEx@8 +GetDCOrgEx=GetDCOrgEx@8 +GetDIBColorTable=GetDIBColorTable@16 +GetDIBits=GetDIBits@28 +GetDeviceCaps=GetDeviceCaps@8 +GetDeviceGammaRamp=GetDeviceGammaRamp@8 +GetEnhMetaFileA=GetEnhMetaFileA@4 +GetEnhMetaFileBits=GetEnhMetaFileBits@12 +GetEnhMetaFileDescriptionA=GetEnhMetaFileDescriptionA@12 +GetEnhMetaFileDescriptionW=GetEnhMetaFileDescriptionW@12 +GetEnhMetaFileHeader=GetEnhMetaFileHeader@12 +GetEnhMetaFilePaletteEntries=GetEnhMetaFilePaletteEntries@12 +GetEnhMetaFilePixelFormat=GetEnhMetaFilePixelFormat@12 +GetEnhMetaFileW=GetEnhMetaFileW@4 +GetFontData=GetFontData@20 +GetFontLanguageInfo=GetFontLanguageInfo@4 +GetFontResourceInfo=GetFontResourceInfo@16 +GetFontResourceInfoW=GetFontResourceInfoW@16 +GetGlyphOutlineA=GetGlyphOutlineA@28 +GetGlyphOutlineA=GetGlyphOutlineA@28 +GetGlyphOutlineW=GetGlyphOutlineW@28 +GetGlyphOutlineWow=GetGlyphOutlineWow@28 +GetGraphicsMode=GetGraphicsMode@4 +GetICMProfileA=GetICMProfileA@12 +GetICMProfileW=GetICMProfileW@12 +GetKerningPairsA=GetKerningPairsA@12 +GetKerningPairsA=GetKerningPairsA@12 +GetKerningPairsW=GetKerningPairsW@12 +GetLogColorSpaceA=GetLogColorSpaceA@12 +GetLogColorSpaceW=GetLogColorSpaceW@12 +GetMapMode=GetMapMode@4 +GetMetaFileA=GetMetaFileA@4 +GetMetaFileBitsEx=GetMetaFileBitsEx@12 +GetMetaFileW=GetMetaFileW@4 +GetMetaRgn=GetMetaRgn@8 +GetMiterLimit=GetMiterLimit@8 +GetNearestColor=GetNearestColor@8 +GetNearestPaletteIndex=GetNearestPaletteIndex@8 +GetObjectA=GetObjectA@12 +GetObjectType=GetObjectType@4 +GetObjectW=GetObjectW@12 +GetOutlineTextMetricsA=GetOutlineTextMetricsA@12 +GetOutlineTextMetricsW=GetOutlineTextMetricsW@12 +GetPaletteEntries=GetPaletteEntries@16 +GetPath=GetPath@16 +GetPixel=GetPixel@12 +GetPixelFormat=GetPixelFormat@4 +GetPolyFillMode=GetPolyFillMode@4 +GetROP2=GetROP2@4 +GetRandomRgn=GetRandomRgn@12 +GetRasterizerCaps=GetRasterizerCaps@8 +GetRegionData=GetRegionData@12 +GetRelAbs=GetRelAbs@8 +GetRgnBox=GetRgnBox@8 +GetStockObject=GetStockObject@4 +GetStretchBltMode=GetStretchBltMode@4 +GetSystemPaletteEntries=GetSystemPaletteEntries@16 +GetSystemPaletteUse=GetSystemPaletteUse@4 +GetTextAlign=GetTextAlign@4 +GetTextCharacterExtra=GetTextCharacterExtra@4 +GetTextCharset=GetTextCharset@4 +GetTextCharsetInfo=GetTextCharsetInfo@12 +GetTextColor=GetTextColor@4 +GetTextExtentExPointA=GetTextExtentExPointA@28 +GetTextExtentExPointW=GetTextExtentExPointW@28 +GetTextExtentPoint32A=GetTextExtentPoint32A@16 +GetTextExtentPoint32W=GetTextExtentPoint32W@16 +GetTextExtentPointA=GetTextExtentPointA@16 +GetTextExtentPointW=GetTextExtentPointW@16 +GetTextFaceA=GetTextFaceA@12 +GetTextFaceW=GetTextFaceW@12 +GetTextMetricsA=GetTextMetricsA@8 +GetTextMetricsW=GetTextMetricsW@8 +GetViewportExtEx=GetViewportExtEx@8 +GetViewportOrgEx=GetViewportOrgEx@8 +GetWinMetaFileBits=GetWinMetaFileBits@20 +GetWindowExtEx=GetWindowExtEx@8 +GetWindowOrgEx=GetWindowOrgEx@8 +GetWorldTransform=GetWorldTransform@8 +IntersectClipRect=IntersectClipRect@20 +InvertRgn=InvertRgn@8 +LPtoDP=LPtoDP@12 +LineDDA=LineDDA@24 +LineTo=LineTo@12 +MaskBlt=MaskBlt@48 +ModifyWorldTransform=ModifyWorldTransform@12 +MoveToEx=MoveToEx@16 +OffsetClipRgn=OffsetClipRgn@12 +OffsetRgn=OffsetRgn@12 +OffsetViewportOrgEx=OffsetViewportOrgEx@16 +OffsetWindowOrgEx=OffsetWindowOrgEx@16 +PaintRgn=PaintRgn@8 +PatBlt=PatBlt@24 +PathToRegion=PathToRegion@4 +Pie=Pie@36 +PlayEnhMetaFile=PlayEnhMetaFile@12 +PlayEnhMetaFileRecord=PlayEnhMetaFileRecord@16 +PlayMetaFile=PlayMetaFile@8 +PlayMetaFileRecord=PlayMetaFileRecord@16 +PlgBlt=PlgBlt@40 +PolyBezier=PolyBezier@12 +PolyBezierTo=PolyBezierTo@12 +PolyDraw=PolyDraw@16 +PolyPolygon=PolyPolygon@16 +PolyPolyline=PolyPolyline@16 +PolyTextOutA=PolyTextOutA@12 +PolyTextOutW=PolyTextOutW@12 +Polygon=Polygon@12 +Polyline=Polyline@12 +PolylineTo=PolylineTo@12 +PtInRegion=PtInRegion@12 +PtVisible=PtVisible@12 +RealizePalette=RealizePalette@4 +RectInRegion=RectInRegion@8 +RectVisible=RectVisible@8 +Rectangle=Rectangle@20 +RemoveFontResourceA=RemoveFontResourceA@4 +RemoveFontResourceW=RemoveFontResourceW@4 +ResetDCA=ResetDCA@8 +ResetDCW=ResetDCW@8 +ResizePalette=ResizePalette@8 +RestoreDC=RestoreDC@8 +RoundRect=RoundRect@28 +SaveDC=SaveDC@4 +ScaleViewportExtEx=ScaleViewportExtEx@24 +ScaleWindowExtEx=ScaleWindowExtEx@24 +SelectBrushLocal=SelectBrushLocal@8 +SelectClipPath=SelectClipPath@8 +SelectClipRgn=SelectClipRgn@8 +SelectFontLocal=SelectFontLocal@8 +SelectObject=SelectObject@8 +SelectPalette=SelectPalette@12 +SetAbortProc=SetAbortProc@8 +SetArcDirection=SetArcDirection@8 +SetBitmapBits=SetBitmapBits@12 +SetBitmapDimensionEx=SetBitmapDimensionEx@16 +SetBkColor=SetBkColor@8 +SetBkMode=SetBkMode@8 +SetBoundsRect=SetBoundsRect@12 +SetBrushOrgEx=SetBrushOrgEx@16 +SetColorAdjustment=SetColorAdjustment@8 +SetColorSpace=SetColorSpace@8 +SetDIBColorTable=SetDIBColorTable@16 +SetDIBits=SetDIBits@28 +SetDIBitsToDevice=SetDIBitsToDevice@48 +SetDeviceGammaRamp=SetDeviceGammaRamp@8 +SetEnhMetaFileBits=SetEnhMetaFileBits@8 +SetFontEnumeration=SetFontEnumeration@4 +SetGraphicsMode=SetGraphicsMode@8 +SetICMMode=SetICMMode@8 +SetICMProfileA=SetICMProfileA@8 +SetICMProfileW=SetICMProfileW@8 +SetMapMode=SetMapMode@8 +SetMapperFlags=SetMapperFlags@8 +SetMetaFileBitsEx=SetMetaFileBitsEx@8 +SetMetaRgn=SetMetaRgn@4 +SetMiterLimit=SetMiterLimit@12 +SetPaletteEntries=SetPaletteEntries@16 +SetPixel=SetPixel@16 +SetPixelFormat=SetPixelFormat@12 +SetPixelV=SetPixelV@16 +SetPolyFillMode=SetPolyFillMode@8 +SetROP2=SetROP2@8 +SetRectRgn=SetRectRgn@20 +SetRelAbs=SetRelAbs@8 +SetStretchBltMode=SetStretchBltMode@8 +SetSystemPaletteUse=SetSystemPaletteUse@8 +SetTextAlign=SetTextAlign@8 +SetTextCharacterExtra=SetTextCharacterExtra@8 +SetTextColor=SetTextColor@8 +SetTextJustification=SetTextJustification@12 +SetViewportExtEx=SetViewportExtEx@16 +SetViewportOrgEx=SetViewportOrgEx@16 +SetWinMetaFileBits=SetWinMetaFileBits@16 +SetWindowExtEx=SetWindowExtEx@16 +SetWindowOrgEx=SetWindowOrgEx@16 +SetWorldTransform=SetWorldTransform@8 +StartDocA=StartDocA@8 +StartDocW=StartDocW@8 +StartPage=StartPage@4 +StretchBlt=StretchBlt@44 +StretchDIBits=StretchDIBits@52 +StrokeAndFillPath=StrokeAndFillPath@4 +StrokePath=StrokePath@4 +SwapBuffers=SwapBuffers@4 +TextOutA=TextOutA@20 +TextOutW=TextOutW@20 +TranslateCharsetInfo=TranslateCharsetInfo@12 +UnrealizeObject=UnrealizeObject@4 +UpdateColors=UpdateColors@4 +UpdateICMRegKeyA=UpdateICMRegKeyA@16 +UpdateICMRegKeyA=UpdateICMRegKeyA@16 +UpdateICMRegKeyW=UpdateICMRegKeyW@16 +WidenPath=WidenPath@4 +gdiPlaySpoolStream=gdiPlaySpoolStream@24 diff --git a/reactos/lib/gdi32/makefile b/reactos/lib/gdi32/makefile index 632eebf8fe4..adc97e5d832 100644 --- a/reactos/lib/gdi32/makefile +++ b/reactos/lib/gdi32/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.6 1999/07/16 23:37:04 rex Exp $ +# $Id: makefile,v 1.7 1999/07/17 23:10:19 ea Exp $ # # Makefile for ReactOS gdi32.dll # @@ -34,6 +34,7 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def $(DLLTOOL) \ --dllname $(TARGET).dll \ --def $(TARGET).def \ + --kill-at \ --output-lib $(TARGET).a $(CC) $(TARGET).o \ ../kernel32/kernel32.a \ @@ -46,7 +47,7 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def --dllname $(TARGET).dll \ --base-file base.tmp \ --output-exp temp.exp \ - --def $(TARGET).def + --def $(TARGET).edf - $(RM) base.tmp $(CC) $(TARGET).o \ ../kernel32/kernel32.a \ diff --git a/reactos/lib/kernel32/kernel32.def b/reactos/lib/kernel32/kernel32.def index 01aff51be77..1fd78bb8b92 100644 --- a/reactos/lib/kernel32/kernel32.def +++ b/reactos/lib/kernel32/kernel32.def @@ -30,800 +30,638 @@ ; LIBRARY KERNEL32 EXPORTS -;AddAtomA@4 -;AddAtomW@4 -;AddConsoleAliasA@12 -;AddConsoleAliasW@12 +AddAtomA@4 +AddAtomW@4 +AddConsoleAliasA@12 +AddConsoleAliasW@12 AllocConsole@0 -AllocConsole = AllocConsole@0 -;AreFileApisANSI@0 -;BackupRead@28 -;BackupSeek@24 -;BackupWrite@28 -;BaseAttachCompleteThunk@0 +AreFileApisANSI@0 +BackupRead@28 +BackupSeek@24 +BackupWrite@28 +BaseAttachCompleteThunk@0 Beep@8 -Beep = Beep@8 -;BeginUpdateResourceA@8 -;BeginUpdateResourceW@8 -;BuildCommDCBA@8 -;BuildCommDCBAndTimeoutsA@12 -;BuildCommDCBAndTimeoutsW@12 -;BuildCommDCBW@8 -;CallNamedPipeA@28 -;CallNamedPipeW@28 -;ClearCommBreak@4 -;ClearCommError@12 -;CloseConsoleHandle@4 +BeginUpdateResourceA@8 +BeginUpdateResourceW@8 +BuildCommDCBA@8 +BuildCommDCBAndTimeoutsA@12 +BuildCommDCBAndTimeoutsW@12 +BuildCommDCBW@8 +CallNamedPipeA@28 +CallNamedPipeW@28 +ClearCommBreak@4 +ClearCommError@12 +CloseConsoleHandle@4 CloseHandle@4 -CloseHandle = CloseHandle@4 -;CloseProfileUserMapping@0 -;CmdBatNotification@4 -;CommConfigDialogA@12 -;CommConfigDialogW@12 +CloseProfileUserMapping@0 +CmdBatNotification@4 +CommConfigDialogA@12 +CommConfigDialogW@12 CompareFileTime@8 -CompareFileTime = CompareFileTime@8 -;CompareStringA@24 -;CompareStringA = CompareStringA@24 -;CompareStringW@24 -;CompareStringW = CompareStringW@24 -;ConnectNamedPipe@8 -;ConsoleMenuControl@12 -;ContinueDebugEvent@12 -;ConvertDefaultLocale@4 +CompareStringA@24 +CompareStringW@24 +ConnectNamedPipe@8 +ConsoleMenuControl@12 +ContinueDebugEvent@12 +ConvertDefaultLocale@4 CopyFileA@12 -CopyFileA = CopyFileA@12 CopyFileExA@24 -CopyFileExA = CopyFileExA@24 CopyFileExW@24 -CopyFileExW = CopyFileExW@24 CopyFileW@12 -CopyFileW = CopyFileW@12 -;CreateConsoleScreenBuffer@20 +CreateConsoleScreenBuffer@20 CreateDirectoryA@8 -CreateDirectoryA = CreateDirectoryA@8 CreateDirectoryExA@12 -CreateDirectoryExA = CreateDirectoryExA@12 CreateDirectoryExW@12 -CreateDirectoryExW = CreateDirectoryExW@12 CreateDirectoryW@8 -CreateDirectoryW = CreateDirectoryW@8 CreateEventA@16 -CreateEventA = CreateEventA@16 CreateEventW@16 -CreateEventW = CreateEventW@16 CreateFileA@28 -CreateFileA = CreateFileA@28 -;CreateFileMappingA@24 -;CreateFileMappingW@24 +CreateFileMappingA@24 +CreateFileMappingW@24 CreateFileW@28 -CreateFileW = CreateFileW@28 -;CreateIoCompletionPort@16 -;CreateMailslotA@16 -;CreateMailslotW@16 -;CreateMutexA@12 -;CreateMutexW@12 -;CreateNamedPipeA@32 -;CreateNamedPipeW@32 +CreateIoCompletionPort@16 +CreateMailslotA@16 +CreateMailslotW@16 +CreateMutexA@12 +CreateMutexW@12 +CreateNamedPipeA@32 +CreateNamedPipeW@32 CreatePipe@16 -CreatePipe = CreatePipe@16 CreateProcessA@40 -CreateProcessA = CreateProcessA@40 CreateProcessW@40 -CreateProcessW = CreateProcessW@40 CreateRemoteThread@28 -CreateRemoteThread = CreateRemoteThread@28 -;CreateSemaphoreA@16 -;CreateSemaphoreW@16 -;CreateTapePartition@16 +CreateSemaphoreA@16 +CreateSemaphoreW@16 +CreateTapePartition@16 CreateThread@24 -CreateThread = CreateThread@24 -;CreateVirtualBuffer@12 -;DebugActiveProcess@4 -;DebugBreak@0 -;DefineDosDeviceA@12 -;DefineDosDeviceW@12 -;DeleteAtom@4 +CreateVirtualBuffer@12 +DebugActiveProcess@4 +DebugBreak@0 +DefineDosDeviceA@12 +DefineDosDeviceW@12 +DeleteAtom@4 DeleteCriticalSection@4 -DeleteCriticalSection = DeleteCriticalSection@4 DeleteFileA@4 -DeleteFileA = DeleteFileA@4 DeleteFileW@4 -DeleteFileW = DeleteFileW@4 -;DeviceIoControl@32 -;DisableThreadLibraryCalls@4 -;DisconnectNamedPipe@4 +DeviceIoControl@32 +DisableThreadLibraryCalls@4 +DisconnectNamedPipe@4 DosDateTimeToFileTime@12 -DosDateTimeToFileTime = DosDateTimeToFileTime@12 -;DuplicateConsoleHandle@16 +DuplicateConsoleHandle@16 DuplicateHandle@28 -DuplicateHandle = DuplicateHandle@28 -;EndUpdateResourceA@8 -;EndUpdateResourceW@8 -;EnterCriticalSection@4 -;EnumCalendarInfoA@16 -;EnumCalendarInfoW@16 -;EnumDateFormatsA@12 -;EnumDateFormatsW@12 -;EnumResourceLanguagesA@20 -;EnumResourceLanguagesW@20 -;EnumResourceNamesA@16 -;EnumResourceNamesW@16 -;EnumResourceTypesA@12 -;EnumResourceTypesW@12 -;EnumSystemCodePagesA@8 -;EnumSystemCodePagesW@8 -;EnumSystemLocalesA@8 -;EnumSystemLocalesW@8 -;EnumTimeFormatsA@12 -;EnumTimeFormatsW@12 -;EraseTape@12 -;EscapeCommFunction@8 +EndUpdateResourceA@8 +EndUpdateResourceW@8 +EnterCriticalSection@4 +EnumCalendarInfoA@16 +EnumCalendarInfoW@16 +EnumDateFormatsA@12 +EnumDateFormatsW@12 +EnumResourceLanguagesA@20 +EnumResourceLanguagesW@20 +EnumResourceNamesA@16 +EnumResourceNamesW@16 +EnumResourceTypesA@12 +EnumResourceTypesW@12 +EnumSystemCodePagesA@8 +EnumSystemCodePagesW@8 +EnumSystemLocalesA@8 +EnumSystemLocalesW@8 +EnumTimeFormatsA@12 +EnumTimeFormatsW@12 +EraseTape@12 +EscapeCommFunction@8 ExitProcess@4 -ExitProcess = ExitProcess@4 -;ExitThread@4 -;ExitVDM@8 -;ExpandEnvironmentStringsA@12 -;ExpandEnvironmentStringsW@12 -;ExpungeConsoleCommandHistoryA@4 -;ExpungeConsoleCommandHistoryW@4 -;ExtendVirtualBuffer@8 -;FatalAppExitA@8 -;FatalAppExitW@8 -;FatalExit@4 +ExitThread@4 +ExitVDM@8 +ExpandEnvironmentStringsA@12 +ExpandEnvironmentStringsW@12 +ExpungeConsoleCommandHistoryA@4 +ExpungeConsoleCommandHistoryW@4 +ExtendVirtualBuffer@8 +FatalAppExitA@8 +FatalAppExitW@8 +FatalExit@4 FileTimeToDosDateTime@12 -FileTimeToDosDateTime = FileTimeToDosDateTime@12 FileTimeToLocalFileTime@8 -FileTimeToLocalFileTime = FileTimeToLocalFileTime@8 FileTimeToSystemTime@8 -FileTimeToSystemTime = FileTimeToSystemTime@8 FillConsoleOutputAttribute@20 -FillConsoleOutputAttribute = FillConsoleOutputAttribute@20 FillConsoleOutputCharacterA@20 -FillConsoleOutputCharacterA = FillConsoleOutputCharacterA@20 -;FillConsoleOutputCharacterW@20 -;FindAtomA@4 -;FindAtomW@4 +FillConsoleOutputCharacterW@20 +FindAtomA@4 +FindAtomW@4 FindClose@4 -FindClose = FindClose@4 -;FindCloseChangeNotification@4 -;FindFirstChangeNotificationA@12 -;FindFirstChangeNotificationW@12 +FindCloseChangeNotification@4 +FindFirstChangeNotificationA@12 +FindFirstChangeNotificationW@12 FindFirstFileA@8 -FindFirstFileA = FindFirstFileA@8 FindFirstFileW@8 -FindFirstFileW = FindFirstFileW@8 -;FindNextChangeNotification@4 +FindNextChangeNotification@4 FindNextFileA@8 -FindNextFileA = FindNextFileA@8 FindNextFileW@8 -FindNextFileW = FindNextFileW@8 -;FindResourceA@12 -;FindResourceExA@16 -;FindResourceExW@16 -;FindResourceW@12 +FindResourceA@12 +FindResourceExA@16 +FindResourceExW@16 +FindResourceW@12 FlushConsoleInputBuffer@4 -FlushConsoleInputBuffer = FlushConsoleInputBuffer@4 FlushFileBuffers@4 -FlushFileBuffers = FlushFileBuffers@4 -;FlushInstructionCache@12 -;FlushViewOfFile@8 -;FoldStringA@20 -;FoldStringW@20 -;FormatMessageA@28 -;FormatMessageW@28 +FlushInstructionCache@12 +FlushViewOfFile@8 +FoldStringA@20 +FoldStringW@20 +FormatMessageA@28 +FormatMessageW@28 FreeConsole@0 -FreeConsole = FreeConsole@0 FreeEnvironmentStringsA@4 -FreeEnvironmentStringsA = FreeEnvironmentStringsA@4 -;FreeEnvironmentStringsW@4 +FreeEnvironmentStringsW@4 FreeLibrary@4 -FreeLibrary = FreeLibrary@4 -;FreeLibraryAndExitThread@8 -;FreeResource@4 -;FreeVirtualBuffer@4 -;GenerateConsoleCtrlEvent@8 -;GetACP@0 -;GetAtomNameA@12 -;GetAtomNameW@12 -;GetBinaryType@8 -;GetBinaryTypeA@8 -;GetBinaryTypeW@8 -;GetCPInfo@8 -;GetCommConfig@12 -;GetCommMask@8 -;GetCommModemStatus@8 -;GetCommProperties@8 -;GetCommState@8 -;GetCommTimeouts@8 +FreeLibraryAndExitThread@8 +FreeResource@4 +FreeVirtualBuffer@4 +GenerateConsoleCtrlEvent@8 +GetACP@0 +GetAtomNameA@12 +GetAtomNameW@12 +GetBinaryType@8 +GetBinaryTypeA@8 +GetBinaryTypeW@8 +GetCPInfo@8 +GetCommConfig@12 +GetCommMask@8 +GetCommModemStatus@8 +GetCommProperties@8 +GetCommState@8 +GetCommTimeouts@8 GetCommandLineA@0 -GetCommandLineA = GetCommandLineA@0 GetCommandLineW@0 -GetCommandLineW = GetCommandLineW@0 GetCompressedFileSizeA@8 -GetCompressedFileSizeA = GetCompressedFileSizeA@8 GetCompressedFileSizeW@8 -GetCompressedFileSizeW = GetCompressedFileSizeW@8 -;GetComputerNameA@8 -;GetComputerNameW@8 -;GetConsoleAliasA@16 -;GetConsoleAliasExesA@8 -;GetConsoleAliasExesLengthA@0 -;GetConsoleAliasExesLengthW@0 -;GetConsoleAliasExesW@8 -;GetConsoleAliasW@16 -;GetConsoleAliasesA@12 -;GetConsoleAliasesLengthA@4 -;GetConsoleAliasesLengthW@4 -;GetConsoleAliasesW@12 +GetComputerNameA@8 +GetComputerNameW@8 +GetConsoleAliasA@16 +GetConsoleAliasExesA@8 +GetConsoleAliasExesLengthA@0 +GetConsoleAliasExesLengthW@0 +GetConsoleAliasExesW@8 +GetConsoleAliasW@16 +GetConsoleAliasesA@12 +GetConsoleAliasesLengthA@4 +GetConsoleAliasesLengthW@4 +GetConsoleAliasesW@12 GetConsoleCP@0 -GetConsoleCP = GetConsoleCP@0 -;GetConsoleCommandHistoryA@12 -;GetConsoleCommandHistoryLengthA@4 -;GetConsoleCommandHistoryLengthW@4 -;GetConsoleCommandHistoryW@12 +GetConsoleCommandHistoryA@12 +GetConsoleCommandHistoryLengthA@4 +GetConsoleCommandHistoryLengthW@4 +GetConsoleCommandHistoryW@12 GetConsoleCursorInfo@8 -GetConsoleCursorInfo = GetConsoleCursorInfo@8 -;GetConsoleDisplayMode@4 -;GetConsoleFontInfo@16 -;GetConsoleFontSize@8 -;GetConsoleHardwareState@12 -;GetConsoleInputWaitHandle@0 +GetConsoleDisplayMode@4 +GetConsoleFontInfo@16 +GetConsoleFontSize@8 +GetConsoleHardwareState@12 +GetConsoleInputWaitHandle@0 GetConsoleMode@8 -GetConsoleMode = GetConsoleMode@8 GetConsoleOutputCP@0 -GetConsoleOutputCP = GetConsoleOutputCP@0 GetConsoleScreenBufferInfo@8 -GetConsoleScreenBufferInfo = GetConsoleScreenBufferInfo@8 -;GetConsoleTitleA@8 -;GetConsoleTitleW@8 -;GetCurrencyFormatA@24 -;GetCurrencyFormatW@24 -;GetCurrentConsoleFont@12 +GetConsoleTitleA@8 +GetConsoleTitleW@8 +GetCurrencyFormatA@24 +GetCurrencyFormatW@24 +GetCurrentConsoleFont@12 GetCurrentDirectoryA@8 -GetCurrentDirectoryA = GetCurrentDirectoryA@8 GetCurrentDirectoryW@8 -GetCurrentDirectoryW = GetCurrentDirectoryW@8 GetCurrentProcess@0 -GetCurrentProcess = GetCurrentProcess@0 GetCurrentProcessId@0 -GetCurrentProcessId = GetCurrentProcessId@0 GetCurrentThread@0 -GetCurrentThread = GetCurrentThread@0 GetCurrentThreadId@0 -GetCurrentThreadId = GetCurrentThreadId@0 -;GetDateFormatA@24 -;GetDateFormatW@24 -;GetDefaultCommConfigA@12 -;GetDefaultCommConfigW@12 +GetDateFormatA@24 +GetDateFormatW@24 +GetDefaultCommConfigA@12 +GetDefaultCommConfigW@12 GetDiskFreeSpaceA@20 -GetDiskFreeSpaceA = GetDiskFreeSpaceA@20 GetDiskFreeSpaceW@20 -GetDiskFreeSpaceW = GetDiskFreeSpaceW@20 GetDiskFreeSpaceExA@16 -GetDiskFreeSpaceExA = GetDiskFreeSpaceExA@16 GetDiskFreeSpaceExW@16 -GetDiskFreeSpaceExW = GetDiskFreeSpaceExW@16 -;GetDriveTypeA@4 -;GetDriveTypeW@4 -GetEnvironmentStrings@0 = GetEnvironmentStringsA@0 -GetEnvironmentStrings = GetEnvironmentStringsA@0 +GetDriveTypeA@4 +GetDriveTypeW@4 GetEnvironmentStringsA@0 -GetEnvironmentStringsA = GetEnvironmentStringsA@0 GetEnvironmentStringsW@0 -GetEnvironmentStringsW = GetEnvironmentStringsW@0 GetEnvironmentVariableA@12 -GetEnvironmentVariableA = GetEnvironmentVariableA@12 GetEnvironmentVariableW@12 -GetEnvironmentVariableW = GetEnvironmentVariableW@12 GetExitCodeProcess@8 -GetExitCodeProcess = GetExitCodeProcess@8 -;GetExitCodeThread@8 +GetExitCodeThread@8 GetFileAttributesA@4 -GetFileAttributesA = GetFileAttributesA@4 GetFileAttributesW@4 -GetFileAttributesW = GetFileAttributesW@4 GetFileInformationByHandle@8 -GetFileInformationByHandle = GetFileInformationByHandle@8 GetFileSize@8 -GetFileSize = GetFileSize@8 GetFileTime@16 -GetFileTime = GetFileTime@16 GetFileType@4 -GetFileType = GetFileType@4 GetFullPathNameA@16 -GetFullPathNameA = GetFullPathNameA@16 GetFullPathNameW@16 -GetFullPathNameW = GetFullPathNameW@16 -;GetHandleInformation@8 -;GetLargestConsoleWindowSize@4 +GetHandleInformation@8 +GetLargestConsoleWindowSize@4 GetLastError@0 -GetLastError = GetLastError@0 GetLocalTime@4 -GetLocalTime = GetLocalTime@4 -;GetLocaleInfoA@16 -;GetLocaleInfoW@16 -;GetLogicalDriveStringsA@8 -;GetLogicalDriveStringsW@8 -;GetLogicalDrives@0 -;GetMailslotInfo@20 -;GetModuleFileNameA@12 -;GetModuleFileNameW@12 -;GetModuleHandleA@4 -;GetModuleHandleW@4 -;GetNamedPipeHandleStateA@28 -;GetNamedPipeHandleStateW@28 -;GetNamedPipeInfo@20 -;GetNextVDMCommand@4 -;GetNumberFormatA@24 -;GetNumberFormatW@24 -;GetNumberOfConsoleFonts@0 -;GetNumberOfConsoleInputEvents@8 -;GetNumberOfConsoleMouseButtons@4 -;GetOEMCP@0 -;GetOverlappedResult@16 -;GetPriorityClass@4 -;GetPrivateProfileIntA@16 -;GetPrivateProfileIntW@16 -;GetPrivateProfileSectionA@16 -;GetPrivateProfileSectionNamesA@12 -;GetPrivateProfileSectionNamesW@12 -;GetPrivateProfileSectionW@16 -;GetPrivateProfileStringA@24 -;GetPrivateProfileStringW@24 -;GetPrivateProfileStructA@20 -;GetPrivateProfileStructW@20 +GetLocaleInfoA@16 +GetLocaleInfoW@16 +GetLogicalDriveStringsA@8 +GetLogicalDriveStringsW@8 +GetLogicalDrives@0 +GetMailslotInfo@20 +GetModuleFileNameA@12 +GetModuleFileNameW@12 +GetModuleHandleA@4 +GetModuleHandleW@4 +GetNamedPipeHandleStateA@28 +GetNamedPipeHandleStateW@28 +GetNamedPipeInfo@20 +GetNextVDMCommand@4 +GetNumberFormatA@24 +GetNumberFormatW@24 +GetNumberOfConsoleFonts@0 +GetNumberOfConsoleInputEvents@8 +GetNumberOfConsoleMouseButtons@4 +GetOEMCP@0 +GetOverlappedResult@16 +GetPriorityClass@4 +GetPrivateProfileIntA@16 +GetPrivateProfileIntW@16 +GetPrivateProfileSectionA@16 +GetPrivateProfileSectionNamesA@12 +GetPrivateProfileSectionNamesW@12 +GetPrivateProfileSectionW@16 +GetPrivateProfileStringA@24 +GetPrivateProfileStringW@24 +GetPrivateProfileStructA@20 +GetPrivateProfileStructW@20 GetProcAddress@8 -GetProcAddress = GetProcAddress@8 -;GetProcessAffinityMask@12 +GetProcessAffinityMask@12 GetProcessHeap@0 -GetProcessHeap = GetProcessHeap@0 -;GetProcessHeaps@8 -;GetProcessShutdownParameters@8 +GetProcessHeaps@8 +GetProcessShutdownParameters@8 GetProcessTimes@20 -GetProcessTimes = GetProcessTimes@20 -;GetProcessVersion@4 -;GetProcessWorkingSetSize@12 -;GetProfileIntA@12 -;GetProfileIntW@12 -;GetProfileSectionA@12 -;GetProfileSectionW@12 -;GetProfileStringA@20 -;GetProfileStringW@20 -;GetQueuedCompletionStatus@20 -;GetShortPathNameA@12 -;GetShortPathNameW@12 -;GetStartupInfoA@4 -;GetStartupInfoW@4 +GetProcessVersion@4 +GetProcessWorkingSetSize@12 +GetProfileIntA@12 +GetProfileIntW@12 +GetProfileSectionA@12 +GetProfileSectionW@12 +GetProfileStringA@20 +GetProfileStringW@20 +GetQueuedCompletionStatus@20 +GetShortPathNameA@12 +GetShortPathNameW@12 +GetStartupInfoA@4 +GetStartupInfoW@4 GetStdHandle@4 -GetStdHandle = GetStdHandle@4 -;GetStringTypeA@20 -;GetStringTypeExA@20 -;GetStringTypeExW@20 -;GetStringTypeW@16 -;GetSystemDefaultLCID@0 -;GetSystemDefaultLangID@0 -;GetSystemDirectoryA@8 -;GetSystemDirectoryW@8 -;GetSystemInfo@4 -;GetSystemPowerStatus@4 +GetStringTypeA@20 +GetStringTypeExA@20 +GetStringTypeExW@20 +GetStringTypeW@16 +GetSystemDefaultLCID@0 +GetSystemDefaultLangID@0 +GetSystemDirectoryA@8 +GetSystemDirectoryW@8 +GetSystemInfo@4 +GetSystemPowerStatus@4 GetSystemTime@4 -GetSystemTime = GetSystemTime@4 -;GetSystemTimeAdjustment@12 +GetSystemTimeAdjustment@12 GetSystemTimeAsFileTime@4 -GetSystemTimeAsFileTime = GetSystemTimeAsFileTime@4 -;GetTapeParameters@16 -;GetTapePosition@20 -;GetTapeStatus@4 +GetTapeParameters@16 +GetTapePosition@20 +GetTapeStatus@4 GetTempFileNameA@16 -GetTempFileNameA = GetTempFileNameA@16 GetTempFileNameW@16 -GetTempFileNameW = GetTempFileNameW@16 GetTempPathA@8 -GetTempPathA = GetTempPathA@8 GetTempPathW@8 -GetTempPathW = GetTempPathW@8 -;GetThreadContext@8 -;GetThreadLocale@0 -;GetThreadPriority@4 -;GetThreadSelectorEntry@12 -;GetThreadTimes@20 -;GetTickCount@0 -;GetTimeFormatA@24 -;GetTimeFormatW@24 -;GetTimeZoneInformation@4 -;GetUserDefaultLCID@0 -;GetUserDefaultLangID@0 -;GetVDMCurrentDirectories@8 +GetThreadContext@8 +GetThreadLocale@0 +GetThreadPriority@4 +GetThreadSelectorEntry@12 +GetThreadTimes@20 +GetTickCount@0 +GetTimeFormatA@24 +GetTimeFormatW@24 +GetTimeZoneInformation@4 +GetUserDefaultLCID@0 +GetUserDefaultLangID@0 +GetVDMCurrentDirectories@8 GetVersion@0 -GetVersion = GetVersion@0 GetVersionExA@4 -GetVersionExA = GetVersionExA@4 GetVersionExW@4 -GetVersionExW = GetVersionExW@4 GetVolumeInformationA@32 -GetVolumeInformationA = GetVolumeInformationA@32 GetVolumeInformationW@32 -GetVolumeInformationW = GetVolumeInformationW@32 -;GetWindowsDirectoryA@8 -;GetWindowsDirectoryW@8 -;GlobalAddAtomA@4 -;GlobalAddAtomW@4 -;GlobalAlloc@8 -;GlobalCompact@4 -;GlobalDeleteAtom@4 -;GlobalFindAtomA@4 -;GlobalFindAtomW@4 -;GlobalFix@4 -;GlobalFlags@4 -;GlobalFree@4 -;GlobalGetAtomNameA@12 -;GlobalGetAtomNameW@12 -;GlobalHandle@4 -;GlobalLock@4 -;GlobalMemoryStatus@4 -;GlobalReAlloc@12 -;GlobalSize@4 -;GlobalUnWire@4 -;GlobalUnfix@4 -;GlobalUnlock@4 -;GlobalWire@4 +GetWindowsDirectoryA@8 +GetWindowsDirectoryW@8 +GlobalAddAtomA@4 +GlobalAddAtomW@4 +GlobalAlloc@8 +GlobalCompact@4 +GlobalDeleteAtom@4 +GlobalFindAtomA@4 +GlobalFindAtomW@4 +GlobalFix@4 +GlobalFlags@4 +GlobalFree@4 +GlobalGetAtomNameA@12 +GlobalGetAtomNameW@12 +GlobalHandle@4 +GlobalLock@4 +GlobalMemoryStatus@4 +GlobalReAlloc@12 +GlobalSize@4 +GlobalUnWire@4 +GlobalUnfix@4 +GlobalUnlock@4 +GlobalWire@4 HeapAlloc@12 -HeapAlloc = HeapAlloc@12 HeapCompact@8 -HeapCompact = HeapCompact@8 HeapCreate@12 -HeapCreate = HeapCreate@12 -;HeapCreateTagsW@16 +HeapCreateTagsW@16 HeapDestroy@4 -HeapDestroy = HeapDestroy@4 -;HeapExtend@16 +HeapExtend@16 HeapFree@12 -HeapFree = HeapFree@12 -;HeapLock@4 -;HeapQueryTagW@20 +HeapLock@4 +HeapQueryTagW@20 HeapReAlloc@16 -HeapReAlloc = HeapReAlloc@16 HeapSize@12 -HeapSize = HeapSize@12 -;HeapSummary@12 +HeapSummary@12 HeapUnlock@4 -HeapUnlock = HeapUnlock@4 -;HeapUsage@20 +HeapUsage@20 HeapValidate@12 -HeapValidate = HeapValidate@12 -;HeapWalk@8 -;InitAtomTable@4 -;InitializeCriticalSection@4 -;InterlockedDecrement@4 -;InterlockedExchange@8 -;InterlockedIncrement@4 -;InvalidateConsoleDIBits@8 -;IsBadCodePtr@4 -;IsBadHugeReadPtr@8 -;IsBadHugeWritePtr@8 -;IsBadReadPtr@8 -;IsBadStringPtrA@8 -;IsBadStringPtrW@8 -;IsBadWritePtr@8 -;IsDBCSLeadByte@4 -;IsDBCSLeadByteEx@8 -;IsDebuggerPresent@0 -;IsValidCodePage@4 -;IsValidLocale@8 -;LCMapStringA@24 -;LCMapStringW@24 -;LeaveCriticalSection@4 +HeapWalk@8 +InitAtomTable@4 +InitializeCriticalSection@4 +InterlockedDecrement@4 +InterlockedExchange@8 +InterlockedIncrement@4 +InvalidateConsoleDIBits@8 +IsBadCodePtr@4 +IsBadHugeReadPtr@8 +IsBadHugeWritePtr@8 +IsBadReadPtr@8 +IsBadStringPtrA@8 +IsBadStringPtrW@8 +IsBadWritePtr@8 +IsDBCSLeadByte@4 +IsDBCSLeadByteEx@8 +IsDebuggerPresent@0 +IsValidCodePage@4 +IsValidLocale@8 +LCMapStringA@24 +LCMapStringW@24 +LeaveCriticalSection@4 LoadLibraryA@4 -LoadLibraryA = LoadLibraryA@4 -;LoadLibraryExA@12 -;LoadLibraryExW@12 -;LoadLibraryW@4 -;LoadModule@8 -;LoadResource@8 -;LocalAlloc@8 -;LocalCompact@4 -;LocalFileTimeToFileTime@8 -;LocalFlags@4 -;LocalFree@4 -;LocalHandle@4 -;LocalLock@4 -;LocalReAlloc@12 -;LocalShrink@8 -;LocalSize@4 -;LocalUnlock@4 +LoadLibraryExA@12 +LoadLibraryExW@12 +LoadLibraryW@4 +LoadModule@8 +LoadResource@8 +LocalAlloc@8 +LocalCompact@4 +LocalFileTimeToFileTime@8 +LocalFlags@4 +LocalFree@4 +LocalHandle@4 +LocalLock@4 +LocalReAlloc@12 +LocalShrink@8 +LocalSize@4 +LocalUnlock@4 LockFile@20 -LockFile = LockFile@20 -;LockFileEx@24 -;LockResource@4 -;MapViewOfFile@20 -;MapViewOfFileEx@24 +LockFileEx@24 +LockResource@4 +MapViewOfFile@20 +MapViewOfFileEx@24 MoveFileA@8 -MoveFileA = MoveFileA@8 -;MoveFileExA@12 -;MoveFileExW@12 +MoveFileExA@12 +MoveFileExW@12 MoveFileW@8 -MoveFileW = MoveFileW@8 -;MulDiv@12 -;MultiByteToWideChar@24 -;OpenConsoleW@16 +MulDiv@12 +MultiByteToWideChar@24 +OpenConsoleW@16 OpenEventA@12 -OpenEventA = OpenEventA@12 OpenEventW@12 -OpenEventW = OpenEventW@12 OpenFile@12 -OpenFile = OpenFile@12 -;OpenFileMappingA@12 -;OpenFileMappingW@12 -;OpenMutexA@12 -;OpenMutexW@12 +OpenFileMappingA@12 +OpenFileMappingW@12 +OpenMutexA@12 +OpenMutexW@12 OpenProcess@12 -OpenProcess = OpenProcess@12 -;OpenProfileUserMapping@0 -;OpenSemaphoreA@12 -;OpenSemaphoreW@12 -;OutputDebugStringA@4 -;OutputDebugStringW@4 -;PeekConsoleInputA@16 -;PeekConsoleInputW@16 -;PeekNamedPipe@24 -;PostQueuedCompletionStatus@16 -;PrepareTape@12 +OpenProfileUserMapping@0 +OpenSemaphoreA@12 +OpenSemaphoreW@12 +OutputDebugStringA@4 +OutputDebugStringW@4 +PeekConsoleInputA@16 +PeekConsoleInputW@16 +PeekNamedPipe@24 +PostQueuedCompletionStatus@16 +PrepareTape@12 PulseEvent@4 -PulseEvent = PulseEvent@4 -;PurgeComm@8 -;QueryDosDeviceA@12 -;QueryDosDeviceW@12 -;QueryPerformanceCounter@4 -;QueryPerformanceFrequency@4 -;QueryWin31IniFilesMappedToRegistry@16 -;RaiseException@16 +PurgeComm@8 +QueryDosDeviceA@12 +QueryDosDeviceW@12 +QueryPerformanceCounter@4 +QueryPerformanceFrequency@4 +QueryWin31IniFilesMappedToRegistry@16 +RaiseException@16 ReadConsoleA@20 -ReadConsoleA = ReadConsoleA@20 ReadConsoleInputA@16 -ReadConsoleInputA = ReadConsoleInputA@16 -;ReadConsoleInputW@16 -;ReadConsoleOutputA@20 +ReadConsoleInputW@16 +ReadConsoleOutputA@20 ReadConsoleOutputAttribute@20 -ReadConsoleOutputAttribute = ReadConsoleOutputAttribute@20 ReadConsoleOutputCharacterA@20 -ReadConsoleOutputCharacterA = ReadConsoleOutputCharacterA@20 -;ReadConsoleOutputCharacterW@20 -;ReadConsoleOutputW@20 -;ReadConsoleW@20 +ReadConsoleOutputCharacterW@20 +ReadConsoleOutputW@20 +ReadConsoleW@20 ReadFile@20 -ReadFile = ReadFile@20 ReadFileEx@20 -ReadFileEx = ReadFileEx@20 -;ReadProcessMemory@20 -;RegisterConsoleVDM@44 -;RegisterWaitForInputIdle@4 -;RegisterWowBaseHandlers@4 -;RegisterWowExec@4 -;ReleaseMutex@4 -;ReleaseSemaphore@12 +ReadProcessMemory@20 +RegisterConsoleVDM@44 +RegisterWaitForInputIdle@4 +RegisterWowBaseHandlers@4 +RegisterWowExec@4 +ReleaseMutex@4 +ReleaseSemaphore@12 RemoveDirectoryA@4 -RemoveDirectoryA = RemoveDirectoryA@4 RemoveDirectoryW@4 -RemoveDirectoryW = RemoveDirectoryW@4 ResetEvent@4 -ResetEvent = ResetEvent@4 -;ResumeThread@4 -;RtlFillMemory@12 -;RtlMoveMemory@12 -;RtlUnwind@16 -;RtlZeroMemory@8 -;ScrollConsoleScreenBufferA@20 -;ScrollConsoleScreenBufferW@20 +ResumeThread@4 +RtlFillMemory@12 +RtlMoveMemory@12 +RtlUnwind@16 +RtlZeroMemory@8 +ScrollConsoleScreenBufferA@20 +ScrollConsoleScreenBufferW@20 SearchPathA@24 -SearchPathA = SearchPathA@24 SearchPathW@24 -SearchPathW = SearchPathW@24 -;SetCommBreak@4 -;SetCommConfig@12 -;SetCommMask@8 -;SetCommState@8 -;SetCommTimeouts@8 -;SetComputerNameA@4 -;SetComputerNameW@4 -;SetConsoleActiveScreenBuffer@4 +SetCommBreak@4 +SetCommConfig@12 +SetCommMask@8 +SetCommState@8 +SetCommTimeouts@8 +SetComputerNameA@4 +SetComputerNameW@4 +SetConsoleActiveScreenBuffer@4 SetConsoleCP@4 -SetConsoleCP = SetConsoleCP@4 -;SetConsoleCommandHistoryMode@4 -;SetConsoleCtrlHandler@8 -;SetConsoleCursor@8 +SetConsoleCommandHistoryMode@4 +SetConsoleCtrlHandler@8 +SetConsoleCursor@8 SetConsoleCursorInfo@8 -SetConsoleCursorInfo = SetConsoleCursorInfo@8 SetConsoleCursorPosition@8 -SetConsoleCursorPosition = SetConsoleCursorPosition@8 -;SetConsoleDisplayMode@12 -;SetConsoleFont@8 -;SetConsoleHardwareState@12 -;SetConsoleKeyShortcuts@16 -;SetConsoleMaximumWindowSize@8 -;SetConsoleMenuClose@4 +SetConsoleDisplayMode@12 +SetConsoleFont@8 +SetConsoleHardwareState@12 +SetConsoleKeyShortcuts@16 +SetConsoleMaximumWindowSize@8 +SetConsoleMenuClose@4 SetConsoleMode@8 -SetConsoleMode = SetConsoleMode@8 -;SetConsoleNumberOfCommandsA@8 -;SetConsoleNumberOfCommandsW@8 +SetConsoleNumberOfCommandsA@8 +SetConsoleNumberOfCommandsW@8 SetConsoleOutputCP@4 -SetConsoleOutputCP = SetConsoleOutputCP@4 -;SetConsolePalette@12 -;SetConsoleScreenBufferSize@8 +SetConsolePalette@12 +SetConsoleScreenBufferSize@8 SetConsoleTextAttribute@8 -SetConsoleTextAttribute = SetConsoleTextAttribute@8 SetConsoleTitleA@4 -SetConsoleTitleA = SetConsoleTitleA@4 -;SetConsoleTitleW@4 -;SetConsoleWindowInfo@12 +SetConsoleTitleW@4 +SetConsoleWindowInfo@12 SetCurrentDirectoryA@4 -SetCurrentDirectoryA = SetCurrentDirectoryA@4 SetCurrentDirectoryW@4 -SetCurrentDirectoryW = SetCurrentDirectoryW@4 -;SetDefaultCommConfigA@12 -;SetDefaultCommConfigW@12 +SetDefaultCommConfigA@12 +SetDefaultCommConfigW@12 SetEndOfFile@4 -SetEndOfFile = SetEndOfFile@4 SetEnvironmentVariableA@8 -SetEnvironmentVariableA = SetEnvironmentVariableA@8 SetEnvironmentVariableW@8 -SetEnvironmentVariableW = SetEnvironmentVariableW@8 SetErrorMode@4 -SetErrorMode = SetErrorMode@4 SetEvent@4 -SetEvent = SetEvent@4 SetFileApisToANSI@0 -SetFileApisToANSI = SetFileApisToANSI@0 SetFileApisToOEM@0 -SetFileApisToOEM = SetFileApisToOEM@0 SetFileAttributesA@8 -SetFileAttributesA = SetFileAttributesA@8 SetFileAttributesW@8 -SetFileAttributesW = SetFileAttributesW@8 SetFilePointer@16 -SetFilePointer = SetFilePointer@16 SetFileTime@16 -SetFileTime = SetFileTime@16 -;SetHandleCount@4 -;SetHandleInformation@12 -;SetLastConsoleEventActive@0 -SetLastError = SetLastError@4 +SetHandleCount@4 +SetHandleInformation@12 +SetLastConsoleEventActive@0 SetLastError@4 SetLocalTime@4 -SetLocalTime = SetLocalTime@4 -;SetLocaleInfoA@12 -;SetLocaleInfoW@12 -;SetMailslotInfo@8 -;SetNamedPipeHandleState@16 -;SetPriorityClass@8 -;SetProcessShutdownParameters@8 -;SetProcessWorkingSetSize@12 +SetLocaleInfoA@12 +SetLocaleInfoW@12 +SetMailslotInfo@8 +SetNamedPipeHandleState@16 +SetPriorityClass@8 +SetProcessShutdownParameters@8 +SetProcessWorkingSetSize@12 SetStdHandle@8 -SetStdHandle = SetStdHandle@8 -;SetSystemPowerState@8 +SetSystemPowerState@8 SetSystemTime@4 -SetSystemTime = SetSystemTime@4 -;SetSystemTimeAdjustment@8 -;SetTapeParameters@12 -;SetTapePosition@24 -;SetThreadAffinityMask@8 -;SetThreadContext@8 +SetSystemTimeAdjustment@8 +SetTapeParameters@12 +SetTapePosition@24 +SetThreadAffinityMask@8 +SetThreadContext@8 ;_imp__SetThreadContext@8 -;SetThreadLocale@4 -;SetThreadPriority@8 -;SetTimeZoneInformation@4 +SetThreadLocale@4 +SetThreadPriority@8 +SetTimeZoneInformation@4 SetUnhandledExceptionFilter@4 -SetUnhandledExceptionFilter = SetUnhandledExceptionFilter@4 -;SetVDMCurrentDirectories@8 +SetVDMCurrentDirectories@8 SetVolumeLabelA@8 -SetVolumeLabelA = SetVolumeLabelA@8 -;SetVolumeLabelW@8 -;SetupComm@12 -;ShowConsoleCursor@8 -;SizeofResource@8 +SetVolumeLabelW@8 +SetupComm@12 +ShowConsoleCursor@8 +SizeofResource@8 Sleep@4 -Sleep = Sleep@4 -;SleepEx@8 -;SuspendThread@4 +SleepEx@8 +SuspendThread@4 SystemTimeToFileTime@8 -SystemTimeToFileTime = SystemTimeToFileTime@8 SystemTimeToTzSpecificLocalTime@12 -SystemTimeToTzSpecificLocalTime = SystemTimeToTzSpecificLocalTime@12 TerminateProcess@8 -TerminateProcess = TerminateProcess@8 -;TerminateThread@8 -;TlsAlloc@0 -;TlsFree@4 -;TlsGetValue@4 -;TlsSetValue@8 -;TransactNamedPipe@28 -;TransmitCommChar@8 -;TrimVirtualBuffer@4 -;UnhandledExceptionFilter@4 -;UnlockFile@20 -;UnlockFileEx@20 -;UnmapViewOfFile@4 -;UpdateResourceA@24 -;UpdateResourceW@24 -;VDMConsoleOperation@8 -;VDMOperationStarted@4 -;VerLanguageNameA@12 -;VerLanguageNameW@12 -;VerifyConsoleIoHandle@4 -;VirtualAlloc@16 -;VirtualBufferExceptionHandler@12 -;VirtualFree@12 -;VirtualLock@8 -;VirtualProtect@16 -;VirtualProtectEx@20 -;VirtualQuery@12 -;VirtualQueryEx@16 -;VirtualUnlock@8 -;WaitCommEvent@12 -;WaitForDebugEvent@8 -;WaitForMultipleObjects@16 -;WaitForMultipleObjectsEx@20 +TerminateThread@8 +TlsAlloc@0 +TlsFree@4 +TlsGetValue@4 +TlsSetValue@8 +TransactNamedPipe@28 +TransmitCommChar@8 +TrimVirtualBuffer@4 +UnhandledExceptionFilter@4 +UnlockFile@20 +UnlockFileEx@20 +UnmapViewOfFile@4 +UpdateResourceA@24 +UpdateResourceW@24 +VDMConsoleOperation@8 +VDMOperationStarted@4 +VerLanguageNameA@12 +VerLanguageNameW@12 +VerifyConsoleIoHandle@4 +VirtualAlloc@16 +VirtualBufferExceptionHandler@12 +VirtualFree@12 +VirtualLock@8 +VirtualProtect@16 +VirtualProtectEx@20 +VirtualQuery@12 +VirtualQueryEx@16 +VirtualUnlock@8 +WaitCommEvent@12 +WaitForDebugEvent@8 +WaitForMultipleObjects@16 +WaitForMultipleObjectsEx@20 WaitForSingleObject@8 -WaitForSingleObject = WaitForSingleObject@8 -;WaitForSingleObjectEx@12 -;WaitNamedPipeA@8 -;WaitNamedPipeW@8 -;WideCharToMultiByte@32 +WaitForSingleObjectEx@12 +WaitNamedPipeA@8 +WaitNamedPipeW@8 +WideCharToMultiByte@32 WinExec@8 -WinExec = WinExec@8 WriteConsoleA@20 -WriteConsoleA = WriteConsoleA@20 -;WriteConsoleInputA@16 -;WriteConsoleInputVDMA@16 -;WriteConsoleInputVDMW@16 -;WriteConsoleInputW@16 -;WriteConsoleOutputA@20 +WriteConsoleInputA@16 +WriteConsoleInputVDMA@16 +WriteConsoleInputVDMW@16 +WriteConsoleInputW@16 +WriteConsoleOutputA@20 WriteConsoleOutputAttribute@20 -WriteConsoleOutputAttribute = WriteConsoleOutputAttribute@20 WriteConsoleOutputCharacterA@20 -WriteConsoleOutputCharacterA = WriteConsoleOutputCharacterA@20 -;WriteConsoleOutputCharacterW@20 -;WriteConsoleOutputW@20 -;WriteConsoleW@20 +WriteConsoleOutputCharacterW@20 +WriteConsoleOutputW@20 +WriteConsoleW@20 WriteFile@20 -WriteFile = WriteFile@20 -;WriteFileEx@20 -;WritePrivateProfileSectionA@12 -;WritePrivateProfileSectionW@12 -;WritePrivateProfileStringA@16 -;WritePrivateProfileStringW@16 -;WritePrivateProfileStructA@20 -;WritePrivateProfileStructW@20 -;WriteProcessMemory@20 -;WriteProfileSectionA@8 -;WriteProfileSectionW@8 -;WriteProfileStringA@12 -;WriteProfileStringW@12 -;WriteTapemark@16 -;_hread@12 -;_hwrite@12 -;_lclose@4 -;_lcreat@8 +WriteFileEx@20 +WritePrivateProfileSectionA@12 +WritePrivateProfileSectionW@12 +WritePrivateProfileStringA@16 +WritePrivateProfileStringW@16 +WritePrivateProfileStructA@20 +WritePrivateProfileStructW@20 +WriteProcessMemory@20 +WriteProfileSectionA@8 +WriteProfileSectionW@8 +WriteProfileStringA@12 +WriteProfileStringW@12 +WriteTapemark@16 +_hread@12 +_hwrite@12 +_lclose@4 +_lcreat@8 _llseek@12 -_llseek = _llseek@12 -;_lopen@8 -;_lread@12 -;_lwrite@12 +_lopen@8 +_lread@12 +_lwrite@12 ;lstrcat@8 -;lstrcatA@8 -;lstrcatW@8 +lstrcatA@8 +lstrcatW@8 ;lstrcmp@8 -;lstrcmpA@8 -;lstrcmpW@8 +lstrcmpA@8 +lstrcmpW@8 ;lstrcmpi@8 -;lstrcmpiA@8 -;lstrcmpiW@8 +lstrcmpiA@8 +lstrcmpiW@8 ;lstrcpy@8 -;lstrcpyA@8 -;lstrcpyW@8 +lstrcpyA@8 +lstrcpyW@8 ;lstrcpyn@12 -;lstrcpynA@12 -;lstrcpynW@12 +lstrcpynA@12 +lstrcpynW@12 ;lstrlen@4 lstrlenA@4 -lstrlenA = lstrlenA@4 -;lstrlenW@4 +lstrlenW@4 diff --git a/reactos/lib/kernel32/kernel32.edf b/reactos/lib/kernel32/kernel32.edf new file mode 100644 index 00000000000..93d6bf8cba1 --- /dev/null +++ b/reactos/lib/kernel32/kernel32.edf @@ -0,0 +1,671 @@ +; $Id: kernel32.edf,v 1.1 1999/07/17 23:10:20 ea Exp $ +; +; kernel32.edf +; +; ReactOS Operating System +; +; Aliased exports for KERNEL32.DLL generated by defedf reading +; kernel32.def by Scott Christley. +; +; Copyright (C) 1996 Free Software Foundation, Inc. +; +; Author: Scott Christley +; Date: 1996 +; +; This file is part of the Windows32 API Library. +; +; This library is free software; you can redistribute it and/or +; modify it under the terms of the GNU Library General Public +; License as published by the Free Software Foundation; either +; version 2 of the License, or (at your option) any later version. +; +; This library is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +; Library General Public License for more details. +; +; If you are interested in a warranty or support for this source code, +; contact Scott Christley for more information. +; +; You should have received a copy of the GNU Library General Public +; License along with this library; see the file COPYING.LIB. +; If not, write to the Free Software Foundation, +; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; +LIBRARY KERNEL32 +EXPORTS +AddAtomA=AddAtomA@4 +AddAtomW=AddAtomW@4 +AddConsoleAliasA=AddConsoleAliasA@12 +AddConsoleAliasW=AddConsoleAliasW@12 +AllocConsole=AllocConsole@0 +AreFileApisANSI=AreFileApisANSI@0 +BackupRead=BackupRead@28 +BackupSeek=BackupSeek@24 +BackupWrite=BackupWrite@28 +BaseAttachCompleteThunk=BaseAttachCompleteThunk@0 +Beep=Beep@8 +BeginUpdateResourceA=BeginUpdateResourceA@8 +BeginUpdateResourceW=BeginUpdateResourceW@8 +BuildCommDCBA=BuildCommDCBA@8 +BuildCommDCBAndTimeoutsA=BuildCommDCBAndTimeoutsA@12 +BuildCommDCBAndTimeoutsW=BuildCommDCBAndTimeoutsW@12 +BuildCommDCBW=BuildCommDCBW@8 +CallNamedPipeA=CallNamedPipeA@28 +CallNamedPipeW=CallNamedPipeW@28 +ClearCommBreak=ClearCommBreak@4 +ClearCommError=ClearCommError@12 +CloseConsoleHandle=CloseConsoleHandle@4 +CloseHandle=CloseHandle@4 +CloseProfileUserMapping=CloseProfileUserMapping@0 +CmdBatNotification=CmdBatNotification@4 +CommConfigDialogA=CommConfigDialogA@12 +CommConfigDialogW=CommConfigDialogW@12 +CompareFileTime=CompareFileTime@8 +CompareStringA=CompareStringA@24 +CompareStringW=CompareStringW@24 +ConnectNamedPipe=ConnectNamedPipe@8 +ConsoleMenuControl=ConsoleMenuControl@12 +ContinueDebugEvent=ContinueDebugEvent@12 +ConvertDefaultLocale=ConvertDefaultLocale@4 +CopyFileA=CopyFileA@12 +CopyFileExA=CopyFileExA@24 +CopyFileExW=CopyFileExW@24 +CopyFileW=CopyFileW@12 +CreateConsoleScreenBuffer=CreateConsoleScreenBuffer@20 +CreateDirectoryA=CreateDirectoryA@8 +CreateDirectoryExA=CreateDirectoryExA@12 +CreateDirectoryExW=CreateDirectoryExW@12 +CreateDirectoryW=CreateDirectoryW@8 +CreateEventA=CreateEventA@16 +CreateEventW=CreateEventW@16 +CreateFileA=CreateFileA@28 +CreateFileMappingA=CreateFileMappingA@24 +CreateFileMappingW=CreateFileMappingW@24 +CreateFileW=CreateFileW@28 +CreateIoCompletionPort=CreateIoCompletionPort@16 +CreateMailslotA=CreateMailslotA@16 +CreateMailslotW=CreateMailslotW@16 +CreateMutexA=CreateMutexA@12 +CreateMutexW=CreateMutexW@12 +CreateNamedPipeA=CreateNamedPipeA@32 +CreateNamedPipeW=CreateNamedPipeW@32 +CreatePipe=CreatePipe@16 +CreateProcessA=CreateProcessA@40 +CreateProcessW=CreateProcessW@40 +CreateRemoteThread=CreateRemoteThread@28 +CreateSemaphoreA=CreateSemaphoreA@16 +CreateSemaphoreW=CreateSemaphoreW@16 +CreateTapePartition=CreateTapePartition@16 +CreateThread=CreateThread@24 +CreateVirtualBuffer=CreateVirtualBuffer@12 +DebugActiveProcess=DebugActiveProcess@4 +DebugBreak=DebugBreak@0 +DefineDosDeviceA=DefineDosDeviceA@12 +DefineDosDeviceW=DefineDosDeviceW@12 +DeleteAtom=DeleteAtom@4 +DeleteCriticalSection=DeleteCriticalSection@4 +DeleteFileA=DeleteFileA@4 +DeleteFileW=DeleteFileW@4 +DeviceIoControl=DeviceIoControl@32 +DisableThreadLibraryCalls=DisableThreadLibraryCalls@4 +DisconnectNamedPipe=DisconnectNamedPipe@4 +DosDateTimeToFileTime=DosDateTimeToFileTime@12 +DuplicateConsoleHandle=DuplicateConsoleHandle@16 +DuplicateHandle=DuplicateHandle@28 +EndUpdateResourceA=EndUpdateResourceA@8 +EndUpdateResourceW=EndUpdateResourceW@8 +EnterCriticalSection=EnterCriticalSection@4 +EnumCalendarInfoA=EnumCalendarInfoA@16 +EnumCalendarInfoW=EnumCalendarInfoW@16 +EnumDateFormatsA=EnumDateFormatsA@12 +EnumDateFormatsW=EnumDateFormatsW@12 +EnumResourceLanguagesA=EnumResourceLanguagesA@20 +EnumResourceLanguagesW=EnumResourceLanguagesW@20 +EnumResourceNamesA=EnumResourceNamesA@16 +EnumResourceNamesW=EnumResourceNamesW@16 +EnumResourceTypesA=EnumResourceTypesA@12 +EnumResourceTypesW=EnumResourceTypesW@12 +EnumSystemCodePagesA=EnumSystemCodePagesA@8 +EnumSystemCodePagesW=EnumSystemCodePagesW@8 +EnumSystemLocalesA=EnumSystemLocalesA@8 +EnumSystemLocalesW=EnumSystemLocalesW@8 +EnumTimeFormatsA=EnumTimeFormatsA@12 +EnumTimeFormatsW=EnumTimeFormatsW@12 +EraseTape=EraseTape@12 +EscapeCommFunction=EscapeCommFunction@8 +ExitProcess=ExitProcess@4 +ExitThread=ExitThread@4 +ExitVDM=ExitVDM@8 +ExpandEnvironmentStringsA=ExpandEnvironmentStringsA@12 +ExpandEnvironmentStringsW=ExpandEnvironmentStringsW@12 +ExpungeConsoleCommandHistoryA=ExpungeConsoleCommandHistoryA@4 +ExpungeConsoleCommandHistoryW=ExpungeConsoleCommandHistoryW@4 +ExtendVirtualBuffer=ExtendVirtualBuffer@8 +FatalAppExitA=FatalAppExitA@8 +FatalAppExitW=FatalAppExitW@8 +FatalExit=FatalExit@4 +FileTimeToDosDateTime=FileTimeToDosDateTime@12 +FileTimeToLocalFileTime=FileTimeToLocalFileTime@8 +FileTimeToSystemTime=FileTimeToSystemTime@8 +FillConsoleOutputAttribute=FillConsoleOutputAttribute@20 +FillConsoleOutputCharacterA=FillConsoleOutputCharacterA@20 +FillConsoleOutputCharacterW=FillConsoleOutputCharacterW@20 +FindAtomA=FindAtomA@4 +FindAtomW=FindAtomW@4 +FindClose=FindClose@4 +FindCloseChangeNotification=FindCloseChangeNotification@4 +FindFirstChangeNotificationA=FindFirstChangeNotificationA@12 +FindFirstChangeNotificationW=FindFirstChangeNotificationW@12 +FindFirstFileA=FindFirstFileA@8 +FindFirstFileW=FindFirstFileW@8 +FindNextChangeNotification=FindNextChangeNotification@4 +FindNextFileA=FindNextFileA@8 +FindNextFileW=FindNextFileW@8 +FindResourceA=FindResourceA@12 +FindResourceExA=FindResourceExA@16 +FindResourceExW=FindResourceExW@16 +FindResourceW=FindResourceW@12 +FlushConsoleInputBuffer=FlushConsoleInputBuffer@4 +FlushFileBuffers=FlushFileBuffers@4 +FlushInstructionCache=FlushInstructionCache@12 +FlushViewOfFile=FlushViewOfFile@8 +FoldStringA=FoldStringA@20 +FoldStringW=FoldStringW@20 +FormatMessageA=FormatMessageA@28 +FormatMessageW=FormatMessageW@28 +FreeConsole=FreeConsole@0 +FreeEnvironmentStringsA=FreeEnvironmentStringsA@4 +FreeEnvironmentStringsW=FreeEnvironmentStringsW@4 +FreeLibrary=FreeLibrary@4 +FreeLibraryAndExitThread=FreeLibraryAndExitThread@8 +FreeResource=FreeResource@4 +FreeVirtualBuffer=FreeVirtualBuffer@4 +GenerateConsoleCtrlEvent=GenerateConsoleCtrlEvent@8 +GetACP=GetACP@0 +GetAtomNameA=GetAtomNameA@12 +GetAtomNameW=GetAtomNameW@12 +GetBinaryType=GetBinaryTypeA@8 +GetBinaryTypeA=GetBinaryTypeA@8 +GetBinaryTypeW=GetBinaryTypeW@8 +GetCPInfo=GetCPInfo@8 +GetCommConfig=GetCommConfig@12 +GetCommMask=GetCommMask@8 +GetCommModemStatus=GetCommModemStatus@8 +GetCommProperties=GetCommProperties@8 +GetCommState=GetCommState@8 +GetCommTimeouts=GetCommTimeouts@8 +GetCommandLineA=GetCommandLineA@0 +GetCommandLineW=GetCommandLineW@0 +GetCompressedFileSizeA=GetCompressedFileSizeA@8 +GetCompressedFileSizeW=GetCompressedFileSizeW@8 +GetComputerNameA=GetComputerNameA@8 +GetComputerNameW=GetComputerNameW@8 +GetConsoleAliasA=GetConsoleAliasA@16 +GetConsoleAliasExesA=GetConsoleAliasExesA@8 +GetConsoleAliasExesLengthA=GetConsoleAliasExesLengthA@0 +GetConsoleAliasExesLengthW=GetConsoleAliasExesLengthW@0 +GetConsoleAliasExesW=GetConsoleAliasExesW@8 +GetConsoleAliasW=GetConsoleAliasW@16 +GetConsoleAliasesA=GetConsoleAliasesA@12 +GetConsoleAliasesLengthA=GetConsoleAliasesLengthA@4 +GetConsoleAliasesLengthW=GetConsoleAliasesLengthW@4 +GetConsoleAliasesW=GetConsoleAliasesW@12 +GetConsoleCP=GetConsoleCP@0 +GetConsoleCommandHistoryA=GetConsoleCommandHistoryA@12 +GetConsoleCommandHistoryLengthA=GetConsoleCommandHistoryLengthA@4 +GetConsoleCommandHistoryLengthW=GetConsoleCommandHistoryLengthW@4 +GetConsoleCommandHistoryW=GetConsoleCommandHistoryW@12 +GetConsoleCursorInfo=GetConsoleCursorInfo@8 +GetConsoleDisplayMode=GetConsoleDisplayMode@4 +GetConsoleFontInfo=GetConsoleFontInfo@16 +GetConsoleFontSize=GetConsoleFontSize@8 +GetConsoleHardwareState=GetConsoleHardwareState@12 +GetConsoleInputWaitHandle=GetConsoleInputWaitHandle@0 +GetConsoleMode=GetConsoleMode@8 +GetConsoleOutputCP=GetConsoleOutputCP@0 +GetConsoleScreenBufferInfo=GetConsoleScreenBufferInfo@8 +GetConsoleTitleA=GetConsoleTitleA@8 +GetConsoleTitleW=GetConsoleTitleW@8 +GetCurrencyFormatA=GetCurrencyFormatA@24 +GetCurrencyFormatW=GetCurrencyFormatW@24 +GetCurrentConsoleFont=GetCurrentConsoleFont@12 +GetCurrentDirectoryA=GetCurrentDirectoryA@8 +GetCurrentDirectoryW=GetCurrentDirectoryW@8 +GetCurrentProcess=GetCurrentProcess@0 +GetCurrentProcessId=GetCurrentProcessId@0 +GetCurrentThread=GetCurrentThread@0 +GetCurrentThreadId=GetCurrentThreadId@0 +GetDateFormatA=GetDateFormatA@24 +GetDateFormatW=GetDateFormatW@24 +GetDefaultCommConfigA=GetDefaultCommConfigA@12 +GetDefaultCommConfigW=GetDefaultCommConfigW@12 +GetDiskFreeSpaceA=GetDiskFreeSpaceA@20 +GetDiskFreeSpaceW=GetDiskFreeSpaceW@20 +GetDiskFreeSpaceExA=GetDiskFreeSpaceExA@16 +GetDiskFreeSpaceExW=GetDiskFreeSpaceExW@16 +GetDriveTypeA=GetDriveTypeA@4 +GetDriveTypeW=GetDriveTypeW@4 +GetEnvironmentStringsA=GetEnvironmentStringsA@0 +GetEnvironmentStringsW=GetEnvironmentStringsW@0 +GetEnvironmentVariableA=GetEnvironmentVariableA@12 +GetEnvironmentVariableW=GetEnvironmentVariableW@12 +GetExitCodeProcess=GetExitCodeProcess@8 +GetExitCodeThread=GetExitCodeThread@8 +GetFileAttributesA=GetFileAttributesA@4 +GetFileAttributesW=GetFileAttributesW@4 +GetFileInformationByHandle=GetFileInformationByHandle@8 +GetFileSize=GetFileSize@8 +GetFileTime=GetFileTime@16 +GetFileType=GetFileType@4 +GetFullPathNameA=GetFullPathNameA@16 +GetFullPathNameW=GetFullPathNameW@16 +GetHandleInformation=GetHandleInformation@8 +GetLargestConsoleWindowSize=GetLargestConsoleWindowSize@4 +GetLastError=GetLastError@0 +GetLocalTime=GetLocalTime@4 +GetLocaleInfoA=GetLocaleInfoA@16 +GetLocaleInfoW=GetLocaleInfoW@16 +GetLogicalDriveStringsA=GetLogicalDriveStringsA@8 +GetLogicalDriveStringsW=GetLogicalDriveStringsW@8 +GetLogicalDrives=GetLogicalDrives@0 +GetMailslotInfo=GetMailslotInfo@20 +GetModuleFileNameA=GetModuleFileNameA@12 +GetModuleFileNameW=GetModuleFileNameW@12 +GetModuleHandleA=GetModuleHandleA@4 +GetModuleHandleW=GetModuleHandleW@4 +GetNamedPipeHandleStateA=GetNamedPipeHandleStateA@28 +GetNamedPipeHandleStateW=GetNamedPipeHandleStateW@28 +GetNamedPipeInfo=GetNamedPipeInfo@20 +GetNextVDMCommand=GetNextVDMCommand@4 +GetNumberFormatA=GetNumberFormatA@24 +GetNumberFormatW=GetNumberFormatW@24 +GetNumberOfConsoleFonts=GetNumberOfConsoleFonts@0 +GetNumberOfConsoleInputEvents=GetNumberOfConsoleInputEvents@8 +GetNumberOfConsoleMouseButtons=GetNumberOfConsoleMouseButtons@4 +GetOEMCP=GetOEMCP@0 +GetOverlappedResult=GetOverlappedResult@16 +GetPriorityClass=GetPriorityClass@4 +GetPrivateProfileIntA=GetPrivateProfileIntA@16 +GetPrivateProfileIntW=GetPrivateProfileIntW@16 +GetPrivateProfileSectionA=GetPrivateProfileSectionA@16 +GetPrivateProfileSectionNamesA=GetPrivateProfileSectionNamesA@12 +GetPrivateProfileSectionNamesW=GetPrivateProfileSectionNamesW@12 +GetPrivateProfileSectionW=GetPrivateProfileSectionW@16 +GetPrivateProfileStringA=GetPrivateProfileStringA@24 +GetPrivateProfileStringW=GetPrivateProfileStringW@24 +GetPrivateProfileStructA=GetPrivateProfileStructA@20 +GetPrivateProfileStructW=GetPrivateProfileStructW@20 +GetProcAddress=GetProcAddress@8 +GetProcessAffinityMask=GetProcessAffinityMask@12 +GetProcessHeap=GetProcessHeap@0 +GetProcessHeaps=GetProcessHeaps@8 +GetProcessShutdownParameters=GetProcessShutdownParameters@8 +GetProcessTimes=GetProcessTimes@20 +GetProcessVersion=GetProcessVersion@4 +GetProcessWorkingSetSize=GetProcessWorkingSetSize@12 +GetProfileIntA=GetProfileIntA@12 +GetProfileIntW=GetProfileIntW@12 +GetProfileSectionA=GetProfileSectionA@12 +GetProfileSectionW=GetProfileSectionW@12 +GetProfileStringA=GetProfileStringA@20 +GetProfileStringW=GetProfileStringW@20 +GetQueuedCompletionStatus=GetQueuedCompletionStatus@20 +GetShortPathNameA=GetShortPathNameA@12 +GetShortPathNameW=GetShortPathNameW@12 +GetStartupInfoA=GetStartupInfoA@4 +GetStartupInfoW=GetStartupInfoW@4 +GetStdHandle=GetStdHandle@4 +GetStringTypeA=GetStringTypeA@20 +GetStringTypeExA=GetStringTypeExA@20 +GetStringTypeExW=GetStringTypeExW@20 +GetStringTypeW=GetStringTypeW@16 +GetSystemDefaultLCID=GetSystemDefaultLCID@0 +GetSystemDefaultLangID=GetSystemDefaultLangID@0 +GetSystemDirectoryA=GetSystemDirectoryA@8 +GetSystemDirectoryW=GetSystemDirectoryW@8 +GetSystemInfo=GetSystemInfo@4 +GetSystemPowerStatus=GetSystemPowerStatus@4 +GetSystemTime=GetSystemTime@4 +GetSystemTimeAdjustment=GetSystemTimeAdjustment@12 +GetSystemTimeAsFileTime=GetSystemTimeAsFileTime@4 +GetTapeParameters=GetTapeParameters@16 +GetTapePosition=GetTapePosition@20 +GetTapeStatus=GetTapeStatus@4 +GetTempFileNameA=GetTempFileNameA@16 +GetTempFileNameW=GetTempFileNameW@16 +GetTempPathA=GetTempPathA@8 +GetTempPathW=GetTempPathW@8 +GetThreadContext=GetThreadContext@8 +GetThreadLocale=GetThreadLocale@0 +GetThreadPriority=GetThreadPriority@4 +GetThreadSelectorEntry=GetThreadSelectorEntry@12 +GetThreadTimes=GetThreadTimes@20 +GetTickCount=GetTickCount@0 +GetTimeFormatA=GetTimeFormatA@24 +GetTimeFormatW=GetTimeFormatW@24 +GetTimeZoneInformation=GetTimeZoneInformation@4 +GetUserDefaultLCID=GetUserDefaultLCID@0 +GetUserDefaultLangID=GetUserDefaultLangID@0 +GetVDMCurrentDirectories=GetVDMCurrentDirectories@8 +GetVersion=GetVersion@0 +GetVersionExA=GetVersionExA@4 +GetVersionExW=GetVersionExW@4 +GetVolumeInformationA=GetVolumeInformationA@32 +GetVolumeInformationW=GetVolumeInformationW@32 +GetWindowsDirectoryA=GetWindowsDirectoryA@8 +GetWindowsDirectoryW=GetWindowsDirectoryW@8 +GlobalAddAtomA=GlobalAddAtomA@4 +GlobalAddAtomW=GlobalAddAtomW@4 +GlobalAlloc=GlobalAlloc@8 +GlobalCompact=GlobalCompact@4 +GlobalDeleteAtom=GlobalDeleteAtom@4 +GlobalFindAtomA=GlobalFindAtomA@4 +GlobalFindAtomW=GlobalFindAtomW@4 +GlobalFix=GlobalFix@4 +GlobalFlags=GlobalFlags@4 +GlobalFree=GlobalFree@4 +GlobalGetAtomNameA=GlobalGetAtomNameA@12 +GlobalGetAtomNameW=GlobalGetAtomNameW@12 +GlobalHandle=GlobalHandle@4 +GlobalLock=GlobalLock@4 +GlobalMemoryStatus=GlobalMemoryStatus@4 +GlobalReAlloc=GlobalReAlloc@12 +GlobalSize=GlobalSize@4 +GlobalUnWire=GlobalUnWire@4 +GlobalUnfix=GlobalUnfix@4 +GlobalUnlock=GlobalUnlock@4 +GlobalWire=GlobalWire@4 +HeapAlloc=HeapAlloc@12 +HeapCompact=HeapCompact@8 +HeapCreate=HeapCreate@12 +HeapCreateTagsW=HeapCreateTagsW@16 +HeapDestroy=HeapDestroy@4 +HeapExtend=HeapExtend@16 +HeapFree=HeapFree@12 +HeapLock=HeapLock@4 +HeapQueryTagW=HeapQueryTagW@20 +HeapReAlloc=HeapReAlloc@16 +HeapSize=HeapSize@12 +HeapSummary=HeapSummary@12 +HeapUnlock=HeapUnlock@4 +HeapUsage=HeapUsage@20 +HeapValidate=HeapValidate@12 +HeapWalk=HeapWalk@8 +InitAtomTable=InitAtomTable@4 +InitializeCriticalSection=InitializeCriticalSection@4 +InterlockedDecrement=InterlockedDecrement@4 +InterlockedExchange=InterlockedExchange@8 +InterlockedIncrement=InterlockedIncrement@4 +InvalidateConsoleDIBits=InvalidateConsoleDIBits@8 +IsBadCodePtr=IsBadCodePtr@4 +IsBadHugeReadPtr=IsBadHugeReadPtr@8 +IsBadHugeWritePtr=IsBadHugeWritePtr@8 +IsBadReadPtr=IsBadReadPtr@8 +IsBadStringPtrA=IsBadStringPtrA@8 +IsBadStringPtrW=IsBadStringPtrW@8 +IsBadWritePtr=IsBadWritePtr@8 +IsDBCSLeadByte=IsDBCSLeadByte@4 +IsDBCSLeadByteEx=IsDBCSLeadByteEx@8 +IsDebuggerPresent=IsDebuggerPresent@0 +IsValidCodePage=IsValidCodePage@4 +IsValidLocale=IsValidLocale@8 +LCMapStringA=LCMapStringA@24 +LCMapStringW=LCMapStringW@24 +LeaveCriticalSection=LeaveCriticalSection@4 +LoadLibraryA=LoadLibraryA@4 +LoadLibraryExA=LoadLibraryExA@12 +LoadLibraryExW=LoadLibraryExW@12 +LoadLibraryW=LoadLibraryW@4 +LoadModule=LoadModule@8 +LoadResource=LoadResource@8 +LocalAlloc=LocalAlloc@8 +LocalCompact=LocalCompact@4 +LocalFileTimeToFileTime=LocalFileTimeToFileTime@8 +LocalFlags=LocalFlags@4 +LocalFree=LocalFree@4 +LocalHandle=LocalHandle@4 +LocalLock=LocalLock@4 +LocalReAlloc=LocalReAlloc@12 +LocalShrink=LocalShrink@8 +LocalSize=LocalSize@4 +LocalUnlock=LocalUnlock@4 +LockFile=LockFile@20 +LockFileEx=LockFileEx@24 +LockResource=LockResource@4 +MapViewOfFile=MapViewOfFile@20 +MapViewOfFileEx=MapViewOfFileEx@24 +MoveFileA=MoveFileA@8 +MoveFileExA=MoveFileExA@12 +MoveFileExW=MoveFileExW@12 +MoveFileW=MoveFileW@8 +MulDiv=MulDiv@12 +MultiByteToWideChar=MultiByteToWideChar@24 +OpenConsoleW=OpenConsoleW@16 +OpenEventA=OpenEventA@12 +OpenEventW=OpenEventW@12 +OpenFile=OpenFile@12 +OpenFileMappingA=OpenFileMappingA@12 +OpenFileMappingW=OpenFileMappingW@12 +OpenMutexA=OpenMutexA@12 +OpenMutexW=OpenMutexW@12 +OpenProcess=OpenProcess@12 +OpenProfileUserMapping=OpenProfileUserMapping@0 +OpenSemaphoreA=OpenSemaphoreA@12 +OpenSemaphoreW=OpenSemaphoreW@12 +OutputDebugStringA=OutputDebugStringA@4 +OutputDebugStringW=OutputDebugStringW@4 +PeekConsoleInputA=PeekConsoleInputA@16 +PeekConsoleInputW=PeekConsoleInputW@16 +PeekNamedPipe=PeekNamedPipe@24 +PostQueuedCompletionStatus=PostQueuedCompletionStatus@16 +PrepareTape=PrepareTape@12 +PulseEvent=PulseEvent@4 +PurgeComm=PurgeComm@8 +QueryDosDeviceA=QueryDosDeviceA@12 +QueryDosDeviceW=QueryDosDeviceW@12 +QueryPerformanceCounter=QueryPerformanceCounter@4 +QueryPerformanceFrequency=QueryPerformanceFrequency@4 +QueryWin31IniFilesMappedToRegistry=QueryWin31IniFilesMappedToRegistry@16 +RaiseException=RaiseException@16 +ReadConsoleA=ReadConsoleA@20 +ReadConsoleInputA=ReadConsoleInputA@16 +ReadConsoleInputW=ReadConsoleInputW@16 +ReadConsoleOutputA=ReadConsoleOutputA@20 +ReadConsoleOutputAttribute=ReadConsoleOutputAttribute@20 +ReadConsoleOutputCharacterA=ReadConsoleOutputCharacterA@20 +ReadConsoleOutputCharacterW=ReadConsoleOutputCharacterW@20 +ReadConsoleOutputW=ReadConsoleOutputW@20 +ReadConsoleW=ReadConsoleW@20 +ReadFile=ReadFile@20 +ReadFileEx=ReadFileEx@20 +ReadProcessMemory=ReadProcessMemory@20 +RegisterConsoleVDM=RegisterConsoleVDM@44 +RegisterWaitForInputIdle=RegisterWaitForInputIdle@4 +RegisterWowBaseHandlers=RegisterWowBaseHandlers@4 +RegisterWowExec=RegisterWowExec@4 +ReleaseMutex=ReleaseMutex@4 +ReleaseSemaphore=ReleaseSemaphore@12 +RemoveDirectoryA=RemoveDirectoryA@4 +RemoveDirectoryW=RemoveDirectoryW@4 +ResetEvent=ResetEvent@4 +ResumeThread=ResumeThread@4 +RtlFillMemory=RtlFillMemory@12 +RtlMoveMemory=RtlMoveMemory@12 +RtlUnwind=RtlUnwind@16 +RtlZeroMemory=RtlZeroMemory@8 +ScrollConsoleScreenBufferA=ScrollConsoleScreenBufferA@20 +ScrollConsoleScreenBufferW=ScrollConsoleScreenBufferW@20 +SearchPathA=SearchPathA@24 +SearchPathW=SearchPathW@24 +SetCommBreak=SetCommBreak@4 +SetCommConfig=SetCommConfig@12 +SetCommMask=SetCommMask@8 +SetCommState=SetCommState@8 +SetCommTimeouts=SetCommTimeouts@8 +SetComputerNameA=SetComputerNameA@4 +SetComputerNameW=SetComputerNameW@4 +SetConsoleActiveScreenBuffer=SetConsoleActiveScreenBuffer@4 +SetConsoleCP=SetConsoleCP@4 +SetConsoleCommandHistoryMode=SetConsoleCommandHistoryMode@4 +SetConsoleCtrlHandler=SetConsoleCtrlHandler@8 +SetConsoleCursor=SetConsoleCursor@8 +SetConsoleCursorInfo=SetConsoleCursorInfo@8 +SetConsoleCursorPosition=SetConsoleCursorPosition@8 +SetConsoleDisplayMode=SetConsoleDisplayMode@12 +SetConsoleFont=SetConsoleFont@8 +SetConsoleHardwareState=SetConsoleHardwareState@12 +SetConsoleKeyShortcuts=SetConsoleKeyShortcuts@16 +SetConsoleMaximumWindowSize=SetConsoleMaximumWindowSize@8 +SetConsoleMenuClose=SetConsoleMenuClose@4 +SetConsoleMode=SetConsoleMode@8 +SetConsoleNumberOfCommandsA=SetConsoleNumberOfCommandsA@8 +SetConsoleNumberOfCommandsW=SetConsoleNumberOfCommandsW@8 +SetConsoleOutputCP=SetConsoleOutputCP@4 +SetConsolePalette=SetConsolePalette@12 +SetConsoleScreenBufferSize=SetConsoleScreenBufferSize@8 +SetConsoleTextAttribute=SetConsoleTextAttribute@8 +SetConsoleTitleA=SetConsoleTitleA@4 +SetConsoleTitleW=SetConsoleTitleW@4 +SetConsoleWindowInfo=SetConsoleWindowInfo@12 +SetCurrentDirectoryA=SetCurrentDirectoryA@4 +SetCurrentDirectoryW=SetCurrentDirectoryW@4 +SetDefaultCommConfigA=SetDefaultCommConfigA@12 +SetDefaultCommConfigW=SetDefaultCommConfigW@12 +SetEndOfFile=SetEndOfFile@4 +SetEnvironmentVariableA=SetEnvironmentVariableA@8 +SetEnvironmentVariableW=SetEnvironmentVariableW@8 +SetErrorMode=SetErrorMode@4 +SetEvent=SetEvent@4 +SetFileApisToANSI=SetFileApisToANSI@0 +SetFileApisToOEM=SetFileApisToOEM@0 +SetFileAttributesA=SetFileAttributesA@8 +SetFileAttributesW=SetFileAttributesW@8 +SetFilePointer=SetFilePointer@16 +SetFileTime=SetFileTime@16 +SetHandleCount=SetHandleCount@4 +SetHandleInformation=SetHandleInformation@12 +SetLastConsoleEventActive=SetLastConsoleEventActive@0 +SetLastError=SetLastError@4 +SetLocalTime=SetLocalTime@4 +SetLocaleInfoA=SetLocaleInfoA@12 +SetLocaleInfoW=SetLocaleInfoW@12 +SetMailslotInfo=SetMailslotInfo@8 +SetNamedPipeHandleState=SetNamedPipeHandleState@16 +SetPriorityClass=SetPriorityClass@8 +SetProcessShutdownParameters=SetProcessShutdownParameters@8 +SetProcessWorkingSetSize=SetProcessWorkingSetSize@12 +SetStdHandle=SetStdHandle@8 +SetSystemPowerState=SetSystemPowerState@8 +SetSystemTime=SetSystemTime@4 +SetSystemTimeAdjustment=SetSystemTimeAdjustment@8 +SetTapeParameters=SetTapeParameters@12 +SetTapePosition=SetTapePosition@24 +SetThreadAffinityMask=SetThreadAffinityMask@8 +SetThreadContext=SetThreadContext@8 +;_imp__SetThreadContext@8 +SetThreadLocale=SetThreadLocale@4 +SetThreadPriority=SetThreadPriority@8 +SetTimeZoneInformation=SetTimeZoneInformation@4 +SetUnhandledExceptionFilter=SetUnhandledExceptionFilter@4 +SetVDMCurrentDirectories=SetVDMCurrentDirectories@8 +SetVolumeLabelA=SetVolumeLabelA@8 +SetVolumeLabelW=SetVolumeLabelW@8 +SetupComm=SetupComm@12 +ShowConsoleCursor=ShowConsoleCursor@8 +SizeofResource=SizeofResource@8 +Sleep=Sleep@4 +SleepEx=SleepEx@8 +SuspendThread=SuspendThread@4 +SystemTimeToFileTime=SystemTimeToFileTime@8 +SystemTimeToTzSpecificLocalTime=SystemTimeToTzSpecificLocalTime@12 +TerminateProcess=TerminateProcess@8 +TerminateThread=TerminateThread@8 +TlsAlloc=TlsAlloc@0 +TlsFree=TlsFree@4 +TlsGetValue=TlsGetValue@4 +TlsSetValue=TlsSetValue@8 +TransactNamedPipe=TransactNamedPipe@28 +TransmitCommChar=TransmitCommChar@8 +TrimVirtualBuffer=TrimVirtualBuffer@4 +UnhandledExceptionFilter=UnhandledExceptionFilter@4 +UnlockFile=UnlockFile@20 +UnlockFileEx=UnlockFileEx@20 +UnmapViewOfFile=UnmapViewOfFile@4 +UpdateResourceA=UpdateResourceA@24 +UpdateResourceW=UpdateResourceW@24 +VDMConsoleOperation=VDMConsoleOperation@8 +VDMOperationStarted=VDMOperationStarted@4 +VerLanguageNameA=VerLanguageNameA@12 +VerLanguageNameW=VerLanguageNameW@12 +VerifyConsoleIoHandle=VerifyConsoleIoHandle@4 +VirtualAlloc=VirtualAlloc@16 +VirtualBufferExceptionHandler=VirtualBufferExceptionHandler@12 +VirtualFree=VirtualFree@12 +VirtualLock=VirtualLock@8 +VirtualProtect=VirtualProtect@16 +VirtualProtectEx=VirtualProtectEx@20 +VirtualQuery=VirtualQuery@12 +VirtualQueryEx=VirtualQueryEx@16 +VirtualUnlock=VirtualUnlock@8 +WaitCommEvent=WaitCommEvent@12 +WaitForDebugEvent=WaitForDebugEvent@8 +WaitForMultipleObjects=WaitForMultipleObjects@16 +WaitForMultipleObjectsEx=WaitForMultipleObjectsEx@20 +WaitForSingleObject=WaitForSingleObject@8 +WaitForSingleObjectEx=WaitForSingleObjectEx@12 +WaitNamedPipeA=WaitNamedPipeA@8 +WaitNamedPipeW=WaitNamedPipeW@8 +WideCharToMultiByte=WideCharToMultiByte@32 +WinExec=WinExec@8 +WriteConsoleA=WriteConsoleA@20 +WriteConsoleInputA=WriteConsoleInputA@16 +WriteConsoleInputVDMA=WriteConsoleInputVDMA@16 +WriteConsoleInputVDMW=WriteConsoleInputVDMW@16 +WriteConsoleInputW=WriteConsoleInputW@16 +WriteConsoleOutputA=WriteConsoleOutputA@20 +WriteConsoleOutputAttribute=WriteConsoleOutputAttribute@20 +WriteConsoleOutputCharacterA=WriteConsoleOutputCharacterA@20 +WriteConsoleOutputCharacterW=WriteConsoleOutputCharacterW@20 +WriteConsoleOutputW=WriteConsoleOutputW@20 +WriteConsoleW=WriteConsoleW@20 +WriteFile=WriteFile@20 +WriteFileEx=WriteFileEx@20 +WritePrivateProfileSectionA=WritePrivateProfileSectionA@12 +WritePrivateProfileSectionW=WritePrivateProfileSectionW@12 +WritePrivateProfileStringA=WritePrivateProfileStringA@16 +WritePrivateProfileStringW=WritePrivateProfileStringW@16 +WritePrivateProfileStructA=WritePrivateProfileStructA@20 +WritePrivateProfileStructW=WritePrivateProfileStructW@20 +WriteProcessMemory=WriteProcessMemory@20 +WriteProfileSectionA=WriteProfileSectionA@8 +WriteProfileSectionW=WriteProfileSectionW@8 +WriteProfileStringA=WriteProfileStringA@12 +WriteProfileStringW=WriteProfileStringW@12 +WriteTapemark=WriteTapemark@16 +_hread=_hread@12 +_hwrite=_hwrite@12 +_lclose=_lclose@4 +_lcreat=_lcreat@8 +_llseek=_llseek@12 +_lopen=_lopen@8 +_lread=_lread@12 +_lwrite=_lwrite@12 +lstrcat=lstrcatA@8 +lstrcatA=lstrcatA@8 +lstrcatW=lstrcatW@8 +lstrcmp=lstrcmpA@8 +lstrcmpA=lstrcmpA@8 +lstrcmpW=lstrcmpW@8 +lstrcmpi=lstrcmpiA@8 +lstrcmpiA=lstrcmpiA@8 +lstrcmpiW=lstrcmpiW@8 +lstrcpy=lstrcpyA@8 +lstrcpyA=lstrcpyA@8 +lstrcpyW=lstrcpyW@8 +lstrcpyn=lstrcpynA@12 +lstrcpynA=lstrcpynA@12 +lstrcpynW=lstrcpynW@12 +lstrlen=lstrlenA@4 +lstrlenA=lstrlenA@4 +lstrlenW=lstrlenW@4 diff --git a/reactos/lib/kernel32/makefile b/reactos/lib/kernel32/makefile index e9269d0eaee..9ad6e5a31fc 100644 --- a/reactos/lib/kernel32/makefile +++ b/reactos/lib/kernel32/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.22 1999/07/16 23:37:04 rex Exp $ +# $Id: makefile,v 1.23 1999/07/17 23:10:20 ea Exp $ # # ReactOS Operating System # @@ -23,7 +23,7 @@ all: $(DLLTARGET) SYNCH_OBJECTS = synch/critical.o synch/event.o synch/wait.o MISC_OBJECTS = misc/error.o misc/atom.o misc/handle.o misc/env.o misc/dllmain.o \ - misc/console.o misc/time.o + misc/console.o misc/time.o misc/stubs.o FILE_OBJECTS = file/file.o file/curdir.o file/lfile.o file/dir.o \ file/iocompl.o file/volume.o file/deviceio.o file/dosdev.o \ @@ -99,6 +99,7 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def $(DLLTOOL) \ --dllname $(TARGET).dll \ --def $(TARGET).def \ + --kill-at \ --output-lib $(TARGET).a $(CC) \ -specs=k32_specs \ @@ -112,7 +113,7 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def --dllname $(TARGET).dll \ --base-file base.tmp \ --output-exp temp.exp \ - --def $(TARGET).def + --def $(TARGET).edf - $(RM) base.tmp $(CC) \ -specs=k32_specs \ diff --git a/reactos/lib/kernel32/misc/atom.c b/reactos/lib/kernel32/misc/atom.c index 0c4e5f69b7e..7eda3cde252 100644 --- a/reactos/lib/kernel32/misc/atom.c +++ b/reactos/lib/kernel32/misc/atom.c @@ -16,13 +16,16 @@ #include //#include +/* + * System global and local atom tables. + * What does "global" mean? The scope is + * the attached process or ANY process? + * In the second case, we need to call + * csrss.exe. + */ #if 0 - - -/* system global and local atom tables */ - static ATOMTABLE GlobalAtomTable; /* internal functions */ @@ -43,8 +46,8 @@ int ansi2unicode( WCHAR *uni,const char *ansi, int s); ATOM STDCALL GlobalDeleteAtom( - ATOM nAtom - ) + ATOM nAtom + ) { return GLDeleteAtom(&GlobalAtomTable, nAtom); } @@ -58,15 +61,21 @@ InitAtomTable( { // nSize should be a prime number - if ( nSize < 4 || nSize >= 512 ) { + if ( nSize < 4 || nSize >= 512 ) + { nSize = 37; } - if ( (GetCurrentPeb()->LocalAtomTable).lpDrvData == NULL ) { - (GetCurrentPeb()->LocalAtomTable).lpDrvData = HeapAlloc(GetProcessHeap(),HEAP_GENERATE_EXCEPTIONS|HEAP_ZERO_MEMORY,nSize*sizeof(ATOMENTRY)); + if ( (GetCurrentPeb()->LocalAtomTable).lpDrvData == NULL ) + { + (GetCurrentPeb()->LocalAtomTable).lpDrvData = + HeapAlloc( + GetProcessHeap(), + (HEAP_GENERATE_EXCEPTIONS | HEAP_ZERO_MEMORY), + (nSize * sizeof (ATOMENTRY)) + ); } - return TRUE; } @@ -77,8 +86,10 @@ DeleteAtom( ATOM nAtom ) { - return GLDeleteAtom(&GetCurrentPeb()->LocalAtomTable, nAtom); - + return GLDeleteAtom( + & GetCurrentPeb()->LocalAtomTable, + nAtom + ); } @@ -91,9 +102,14 @@ GlobalAddAtomA( ) { - UINT BufLen = strlen(lpString); - WCHAR *lpBuffer = (WCHAR *)HeapAlloc(GetProcessHeap(),HEAP_GENERATE_EXCEPTIONS|HEAP_ZERO_MEMORY,BufLen*sizeof(WCHAR)); - ATOM atom; + UINT BufLen = strlen(lpString); + WCHAR * lpBuffer = (WCHAR *) HeapAlloc( + GetProcessHeap(), + (HEAP_GENERATE_EXCEPTIONS | HEAP_ZERO_MEMORY), + (BufLen * sizeof (WCHAR)) + ); + ATOM atom; + ansi2unicode(lpBuffer, lpString,BufLen); atom = AWGLAddAtom(&GlobalAtomTable,lpBuffer ); HeapFree(GetProcessHeap(),0,lpBuffer); @@ -514,7 +530,8 @@ int ansi2unicode( WCHAR *uni,const char *ansi, int s) return i; } -int unicode2ansi( char *ansi,const WCHAR *uni, int s) +int +unicode2ansi( char *ansi,const WCHAR *uni, int s) { register int i; @@ -524,6 +541,6 @@ int unicode2ansi( char *ansi,const WCHAR *uni, int s) } - - #endif + +/* EOF */ diff --git a/reactos/lib/kernel32/misc/stubs.c b/reactos/lib/kernel32/misc/stubs.c index f4d6d551bab..c69bc4f9005 100644 --- a/reactos/lib/kernel32/misc/stubs.c +++ b/reactos/lib/kernel32/misc/stubs.c @@ -1,4 +1,4 @@ -/* $Id: stubs.c,v 1.1 1999/07/12 21:01:06 ea Exp $ +/* $Id: stubs.c,v 1.2 1999/07/17 23:10:20 ea Exp $ * KERNEL32.DLL stubs (unimplemented functions) * Remove from this file, if you implement them. */ @@ -330,7 +330,7 @@ CompareStringW ( WINBOOL STDCALL -ConnectNamedPipe( +ConnectNamedPipe ( HANDLE hNamedPipe, LPOVERLAPPED lpOverlapped ) @@ -355,7 +355,7 @@ ConsoleMenuControl ( WINBOOL STDCALL -ContinueDebugEvent( +ContinueDebugEvent ( DWORD dwProcessId, DWORD dwThreadId, DWORD dwContinueStatus @@ -457,7 +457,7 @@ CreateNamedPipeW ( HANDLE STDCALL -CreateNamedPipeA( +CreateNamedPipeA ( LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, @@ -707,11 +707,11 @@ EnumResourceNamesA ( WINBOOL STDCALL -EnumResourceTypesW( - HINSTANCE hModule, - ENUMRESTYPEPROC lpEnumFunc, - LONG lParam - ) +EnumResourceTypesW ( + HINSTANCE hModule, + ENUMRESTYPEPROC lpEnumFunc, + LONG lParam + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -721,11 +721,11 @@ EnumResourceTypesW( WINBOOL STDCALL -EnumResourceTypesA( - HINSTANCE hModule, - ENUMRESTYPEPROC lpEnumFunc, - LONG lParam - ) +EnumResourceTypesA ( + HINSTANCE hModule, + ENUMRESTYPEPROC lpEnumFunc, + LONG lParam + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -734,10 +734,10 @@ EnumResourceTypesA( WINBOOL STDCALL -EnumSystemCodePagesW( - CODEPAGE_ENUMPROC lpCodePageEnumProc, - DWORD dwFlags - ) +EnumSystemCodePagesW ( + CODEPAGE_ENUMPROC lpCodePageEnumProc, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -746,10 +746,10 @@ EnumSystemCodePagesW( WINBOOL STDCALL -EnumSystemCodePagesA( - CODEPAGE_ENUMPROC lpCodePageEnumProc, - DWORD dwFlags - ) +EnumSystemCodePagesA ( + CODEPAGE_ENUMPROC lpCodePageEnumProc, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -758,10 +758,10 @@ EnumSystemCodePagesA( WINBOOL STDCALL -EnumSystemLocalesW( - LOCALE_ENUMPROC lpLocaleEnumProc, - DWORD dwFlags - ) +EnumSystemLocalesW ( + LOCALE_ENUMPROC lpLocaleEnumProc, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -770,10 +770,10 @@ EnumSystemLocalesW( WINBOOL STDCALL -EnumSystemLocalesA( - LOCALE_ENUMPROC lpLocaleEnumProc, - DWORD dwFlags - ) +EnumSystemLocalesA ( + LOCALE_ENUMPROC lpLocaleEnumProc, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -782,11 +782,11 @@ EnumSystemLocalesA( WINBOOL STDCALL -EnumTimeFormatsW( - TIMEFMT_ENUMPROC lpTimeFmtEnumProc, - LCID Locale, - DWORD dwFlags - ) +EnumTimeFormatsW ( + TIMEFMT_ENUMPROC lpTimeFmtEnumProc, + LCID Locale, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -795,11 +795,11 @@ EnumTimeFormatsW( WINBOOL STDCALL -EnumTimeFormatsA( - TIMEFMT_ENUMPROC lpTimeFmtEnumProc, - LCID Locale, - DWORD dwFlags - ) +EnumTimeFormatsA ( + TIMEFMT_ENUMPROC lpTimeFmtEnumProc, + LCID Locale, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -808,11 +808,11 @@ EnumTimeFormatsA( DWORD STDCALL -EraseTape( - HANDLE hDevice, - DWORD dwEraseType, - WINBOOL bImmediate - ) +EraseTape ( + HANDLE hDevice, + DWORD dwEraseType, + WINBOOL bImmediate + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -821,10 +821,10 @@ EraseTape( WINBOOL STDCALL -EscapeCommFunction( - HANDLE hFile, - DWORD dwFunc - ) +EscapeCommFunction ( + HANDLE hFile, + DWORD dwFunc + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -845,11 +845,11 @@ ExitVDM ( DWORD STDCALL -ExpandEnvironmentStringsW( - LPCWSTR lpSrc, - LPWSTR lpDst, - DWORD nSize - ) +ExpandEnvironmentStringsW ( + LPCWSTR lpSrc, + LPWSTR lpDst, + DWORD nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -858,11 +858,11 @@ ExpandEnvironmentStringsW( DWORD STDCALL -ExpandEnvironmentStringsA( - LPCSTR lpSrc, - LPSTR lpDst, - DWORD nSize - ) +ExpandEnvironmentStringsA ( + LPCSTR lpSrc, + LPSTR lpDst, + DWORD nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -905,7 +905,7 @@ ExtendVirtualBuffer ( VOID STDCALL -FatalExit( +FatalExit ( int ExitCode ) { @@ -915,9 +915,9 @@ FatalExit( ATOM STDCALL -FindAtomW( - LPCWSTR lpString - ) +FindAtomW ( + LPCWSTR lpString + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -926,7 +926,7 @@ FindAtomW( ATOM STDCALL -FindAtomA( +FindAtomA ( LPCSTR lpString ) { @@ -937,8 +937,8 @@ FindAtomA( WINBOOL STDCALL -FindCloseChangeNotification( - HANDLE hChangeHandle +FindCloseChangeNotification ( + HANDLE hChangeHandle ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); @@ -949,10 +949,10 @@ FindCloseChangeNotification( HANDLE STDCALL FindFirstChangeNotificationW ( - LPCWSTR lpPathName, - WINBOOL bWatchSubtree, - DWORD dwNotifyFilter - ) + LPCWSTR lpPathName, + WINBOOL bWatchSubtree, + DWORD dwNotifyFilter + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return INVALID_HANDLE_VALUE; @@ -961,11 +961,11 @@ FindFirstChangeNotificationW ( HANDLE STDCALL -FindFirstChangeNotificationA( - LPCSTR lpPathName, - WINBOOL bWatchSubtree, - DWORD dwNotifyFilter - ) +FindFirstChangeNotificationA ( + LPCSTR lpPathName, + WINBOOL bWatchSubtree, + DWORD dwNotifyFilter + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return INVALID_HANDLE_VALUE; @@ -985,7 +985,7 @@ FindNextChangeNotification ( HRSRC STDCALL -FindResourceW( +FindResourceW ( HINSTANCE hModule, LPCWSTR lpName, LPCWSTR lpType @@ -1011,7 +1011,7 @@ FindResourceA ( HRSRC STDCALL -FindResourceExW( +FindResourceExW ( HINSTANCE hModule, LPCWSTR lpType, LPCWSTR lpName, @@ -1025,7 +1025,7 @@ FindResourceExW( HRSRC STDCALL -FindResourceExA( +FindResourceExA ( HINSTANCE hModule, LPCSTR lpType, LPCSTR lpName, @@ -1119,8 +1119,8 @@ FormatMessageA ( VOID STDCALL FreeLibraryAndExitThread ( - HMODULE hLibModule, - DWORD dwExitCode + HMODULE hLibModule, + DWORD dwExitCode ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); @@ -1151,7 +1151,7 @@ FreeVirtualBuffer ( UINT STDCALL -GetACP (void) +GetACP (VOID) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1174,7 +1174,7 @@ GetAtomNameW ( UINT STDCALL -GetAtomNameA( +GetAtomNameA ( ATOM nAtom, LPSTR lpBuffer, int nSize @@ -1187,7 +1187,7 @@ GetAtomNameA( WINBOOL STDCALL -GetBinaryTypeW( +GetBinaryTypeW ( LPCWSTR lpApplicationName, LPDWORD lpBinaryType ) @@ -1211,7 +1211,10 @@ GetBinaryTypeA ( WINBOOL STDCALL -GetCPInfo (UINT a0, LPCPINFO a1) +GetCPInfo ( + UINT a0, + LPCPINFO a1 + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1234,8 +1237,8 @@ GetCommConfig ( WINBOOL STDCALL GetCommMask ( - HANDLE hFile, - LPDWORD lpEvtMask + HANDLE hFile, + LPDWORD lpEvtMask ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); @@ -1322,8 +1325,8 @@ GetComputerNameW ( WINBOOL STDCALL GetComputerNameA ( - LPSTR lpBuffer, - LPDWORD nSize + LPSTR lpBuffer, + LPDWORD nSize ) { WCHAR Name [MAX_COMPUTERNAME_LENGTH + 1]; @@ -1583,42 +1586,13 @@ GetConsoleInputWaitHandle (VOID) int STDCALL -GetCurrencyFormatW( - LCID Locale, - DWORD dwFlags, - LPCWSTR lpValue, - CONST CURRENCYFMT *lpFormat, - LPWSTR lpCurrencyStr, - int cchCurrency - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - -int -STDCALL -GetCurrencyFormatA( - LCID Locale, - DWORD dwFlags, - LPCSTR lpValue, - CONST CURRENCYFMT *lpFormat, - LPSTR lpCurrencyStr, - int cchCurrency - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - -DWORD -STDCALL -GetCurrentConsoleFont ( - DWORD Unknown0, - DWORD Unknown1, - DWORD Unknown2 +GetCurrencyFormatW ( + LCID Locale, + DWORD dwFlags, + LPCWSTR lpValue, + CONST CURRENCYFMT * lpFormat, + LPWSTR lpCurrencyStr, + int cchCurrency ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); @@ -1628,14 +1602,27 @@ GetCurrentConsoleFont ( int STDCALL -GetDateFormatW( - LCID Locale, - DWORD dwFlags, - CONST SYSTEMTIME *lpDate, - LPCWSTR lpFormat, - LPWSTR lpDateStr, - int cchDate - ) +GetCurrencyFormatA ( + LCID Locale, + DWORD dwFlags, + LPCSTR lpValue, + CONST CURRENCYFMT * lpFormat, + LPSTR lpCurrencyStr, + int cchCurrency + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +DWORD +STDCALL +GetCurrentConsoleFont ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2 + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1644,14 +1631,30 @@ GetDateFormatW( int STDCALL -GetDateFormatA( - LCID Locale, - DWORD dwFlags, - CONST SYSTEMTIME *lpDate, - LPCSTR lpFormat, - LPSTR lpDateStr, - int cchDate - ) +GetDateFormatW ( + LCID Locale, + DWORD dwFlags, + CONST SYSTEMTIME * lpDate, + LPCWSTR lpFormat, + LPWSTR lpDateStr, + int cchDate + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + + +int +STDCALL +GetDateFormatA ( + LCID Locale, + DWORD dwFlags, + CONST SYSTEMTIME * lpDate, + LPCSTR lpFormat, + LPSTR lpDateStr, + int cchDate + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1660,11 +1663,11 @@ GetDateFormatA( WINBOOL STDCALL -GetDefaultCommConfigW( - LPCWSTR lpszName, - LPCOMMCONFIG lpCC, - LPDWORD lpdwSize - ) +GetDefaultCommConfigW ( + LPCWSTR lpszName, + LPCOMMCONFIG lpCC, + LPDWORD lpdwSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -1673,11 +1676,11 @@ GetDefaultCommConfigW( WINBOOL STDCALL -GetDefaultCommConfigA( - LPCSTR lpszName, - LPCOMMCONFIG lpCC, - LPDWORD lpdwSize - ) +GetDefaultCommConfigA ( + LPCSTR lpszName, + LPCOMMCONFIG lpCC, + LPDWORD lpdwSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -1686,12 +1689,12 @@ GetDefaultCommConfigA( int STDCALL -GetLocaleInfoW( - LCID Locale, - LCTYPE LCType, - LPWSTR lpLCData, - int cchData - ) +GetLocaleInfoW ( + LCID Locale, + LCTYPE LCType, + LPWSTR lpLCData, + int cchData + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1700,12 +1703,12 @@ GetLocaleInfoW( int STDCALL -GetLocaleInfoA( - LCID Locale, - LCTYPE LCType, - LPSTR lpLCData, - int cchData - ) +GetLocaleInfoA ( + LCID Locale, + LCTYPE LCType, + LPSTR lpLCData, + int cchData + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1714,13 +1717,13 @@ GetLocaleInfoA( WINBOOL STDCALL -GetMailslotInfo( - HANDLE hMailslot, - LPDWORD lpMaxMessageSize, - LPDWORD lpNextSize, - LPDWORD lpMessageCount, - LPDWORD lpReadTimeout - ) +GetMailslotInfo ( + HANDLE hMailslot, + LPDWORD lpMaxMessageSize, + LPDWORD lpNextSize, + LPDWORD lpMessageCount, + LPDWORD lpReadTimeout + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -1778,14 +1781,14 @@ GetModuleHandleA ( WINBOOL STDCALL GetNamedPipeHandleStateW ( - HANDLE hNamedPipe, - LPDWORD lpState, - LPDWORD lpCurInstances, - LPDWORD lpMaxCollectionCount, - LPDWORD lpCollectDataTimeout, - LPWSTR lpUserName, - DWORD nMaxUserNameSize - ) + HANDLE hNamedPipe, + LPDWORD lpState, + LPDWORD lpCurInstances, + LPDWORD lpMaxCollectionCount, + LPDWORD lpCollectDataTimeout, + LPWSTR lpUserName, + DWORD nMaxUserNameSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -1795,14 +1798,14 @@ GetNamedPipeHandleStateW ( WINBOOL STDCALL GetNamedPipeHandleStateA ( - HANDLE hNamedPipe, - LPDWORD lpState, - LPDWORD lpCurInstances, - LPDWORD lpMaxCollectionCount, - LPDWORD lpCollectDataTimeout, - LPSTR lpUserName, - DWORD nMaxUserNameSize - ) + HANDLE hNamedPipe, + LPDWORD lpState, + LPDWORD lpCurInstances, + LPDWORD lpMaxCollectionCount, + LPDWORD lpCollectDataTimeout, + LPSTR lpUserName, + DWORD nMaxUserNameSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -1811,13 +1814,13 @@ GetNamedPipeHandleStateA ( WINBOOL STDCALL -GetNamedPipeInfo( - HANDLE hNamedPipe, - LPDWORD lpFlags, - LPDWORD lpOutBufferSize, - LPDWORD lpInBufferSize, - LPDWORD lpMaxInstances - ) +GetNamedPipeInfo ( + HANDLE hNamedPipe, + LPDWORD lpFlags, + LPDWORD lpOutBufferSize, + LPDWORD lpInBufferSize, + LPDWORD lpMaxInstances + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -1837,14 +1840,14 @@ GetNextVDMCommand ( int STDCALL -GetNumberFormatW( - LCID Locale, - DWORD dwFlags, - LPCWSTR lpValue, - CONST NUMBERFMT *lpFormat, - LPWSTR lpNumberStr, - int cchNumber - ) +GetNumberFormatW ( + LCID Locale, + DWORD dwFlags, + LPCWSTR lpValue, + CONST NUMBERFMT * lpFormat, + LPWSTR lpNumberStr, + int cchNumber + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1853,14 +1856,14 @@ GetNumberFormatW( int STDCALL -GetNumberFormatA( - LCID Locale, - DWORD dwFlags, - LPCSTR lpValue, - CONST NUMBERFMT *lpFormat, - LPSTR lpNumberStr, - int cchNumber - ) +GetNumberFormatA ( + LCID Locale, + DWORD dwFlags, + LPCSTR lpValue, + CONST NUMBERFMT * lpFormat, + LPSTR lpNumberStr, + int cchNumber + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1899,12 +1902,12 @@ GetPriorityClass ( UINT STDCALL -GetPrivateProfileIntW( - LPCWSTR lpAppName, - LPCWSTR lpKeyName, - INT nDefault, - LPCWSTR lpFileName - ) +GetPrivateProfileIntW ( + LPCWSTR lpAppName, + LPCWSTR lpKeyName, + INT nDefault, + LPCWSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1913,12 +1916,12 @@ GetPrivateProfileIntW( UINT STDCALL -GetPrivateProfileIntA( - LPCSTR lpAppName, - LPCSTR lpKeyName, - INT nDefault, - LPCSTR lpFileName - ) +GetPrivateProfileIntA ( + LPCSTR lpAppName, + LPCSTR lpKeyName, + INT nDefault, + LPCSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1927,12 +1930,12 @@ GetPrivateProfileIntA( DWORD STDCALL -GetPrivateProfileSectionW( - LPCWSTR lpAppName, - LPWSTR lpReturnedString, - DWORD nSize, - LPCWSTR lpFileName - ) +GetPrivateProfileSectionW ( + LPCWSTR lpAppName, + LPWSTR lpReturnedString, + DWORD nSize, + LPCWSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1941,12 +1944,12 @@ GetPrivateProfileSectionW( DWORD STDCALL -GetPrivateProfileSectionA( - LPCSTR lpAppName, - LPSTR lpReturnedString, - DWORD nSize, - LPCSTR lpFileName - ) +GetPrivateProfileSectionA ( + LPCSTR lpAppName, + LPSTR lpReturnedString, + DWORD nSize, + LPCSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1981,14 +1984,14 @@ GetPrivateProfileSectionNamesA ( DWORD STDCALL -GetPrivateProfileStringW( - LPCWSTR lpAppName, - LPCWSTR lpKeyName, - LPCWSTR lpDefault, - LPWSTR lpReturnedString, - DWORD nSize, - LPCWSTR lpFileName - ) +GetPrivateProfileStringW ( + LPCWSTR lpAppName, + LPCWSTR lpKeyName, + LPCWSTR lpDefault, + LPWSTR lpReturnedString, + DWORD nSize, + LPCWSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -1997,14 +2000,14 @@ GetPrivateProfileStringW( DWORD STDCALL -GetPrivateProfileStringA( - LPCSTR lpAppName, - LPCSTR lpKeyName, - LPCSTR lpDefault, - LPSTR lpReturnedString, - DWORD nSize, - LPCSTR lpFileName - ) +GetPrivateProfileStringA ( + LPCSTR lpAppName, + LPCSTR lpKeyName, + LPCSTR lpDefault, + LPSTR lpReturnedString, + DWORD nSize, + LPCSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2049,6 +2052,13 @@ GetProcessAffinityMask ( LPDWORD lpSystemAffinityMask ) { + if ( (NULL == lpProcessAffinityMask) + || (NULL == lpSystemAffinityMask) + ) + { + SetLastError(ERROR_BAD_ARGUMENTS); + return FALSE; + } /* FIXME: check hProcess is actually a process */ /* FIXME: query the kernel process object */ *lpProcessAffinityMask = 0x00000001; @@ -2095,11 +2105,11 @@ GetProcessWorkingSetSize ( UINT STDCALL -GetProfileIntW( - LPCWSTR lpAppName, - LPCWSTR lpKeyName, - INT nDefault - ) +GetProfileIntW ( + LPCWSTR lpAppName, + LPCWSTR lpKeyName, + INT nDefault + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2108,11 +2118,11 @@ GetProfileIntW( UINT STDCALL -GetProfileIntA( - LPCSTR lpAppName, - LPCSTR lpKeyName, - INT nDefault - ) +GetProfileIntA ( + LPCSTR lpAppName, + LPCSTR lpKeyName, + INT nDefault + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2121,11 +2131,11 @@ GetProfileIntA( DWORD STDCALL -GetProfileSectionW( - LPCWSTR lpAppName, - LPWSTR lpReturnedString, - DWORD nSize - ) +GetProfileSectionW ( + LPCWSTR lpAppName, + LPWSTR lpReturnedString, + DWORD nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2134,11 +2144,11 @@ GetProfileSectionW( DWORD STDCALL -GetProfileSectionA( - LPCSTR lpAppName, - LPSTR lpReturnedString, - DWORD nSize - ) +GetProfileSectionA ( + LPCSTR lpAppName, + LPSTR lpReturnedString, + DWORD nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2147,13 +2157,13 @@ GetProfileSectionA( DWORD STDCALL -GetProfileStringW( - LPCWSTR lpAppName, - LPCWSTR lpKeyName, - LPCWSTR lpDefault, - LPWSTR lpReturnedString, - DWORD nSize - ) +GetProfileStringW ( + LPCWSTR lpAppName, + LPCWSTR lpKeyName, + LPCWSTR lpDefault, + LPWSTR lpReturnedString, + DWORD nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2162,13 +2172,13 @@ GetProfileStringW( DWORD STDCALL -GetProfileStringA( - LPCSTR lpAppName, - LPCSTR lpKeyName, - LPCSTR lpDefault, - LPSTR lpReturnedString, - DWORD nSize - ) +GetProfileStringA ( + LPCSTR lpAppName, + LPCSTR lpKeyName, + LPCSTR lpDefault, + LPSTR lpReturnedString, + DWORD nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2177,13 +2187,13 @@ GetProfileStringA( WINBOOL STDCALL -GetStringTypeExW( - LCID Locale, - DWORD dwInfoType, - LPCWSTR lpSrcStr, - int cchSrc, - LPWORD lpCharType - ) +GetStringTypeExW ( + LCID Locale, + DWORD dwInfoType, + LPCWSTR lpSrcStr, + int cchSrc, + LPWORD lpCharType + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2192,13 +2202,13 @@ GetStringTypeExW( WINBOOL STDCALL -GetStringTypeExA( - LCID Locale, - DWORD dwInfoType, - LPCSTR lpSrcStr, - int cchSrc, - LPWORD lpCharType - ) +GetStringTypeExA ( + LCID Locale, + DWORD dwInfoType, + LPCSTR lpSrcStr, + int cchSrc, + LPWORD lpCharType + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2207,12 +2217,12 @@ GetStringTypeExA( WINBOOL STDCALL -GetStringTypeW( - DWORD dwInfoType, - LPCWSTR lpSrcStr, - int cchSrc, - LPWORD lpCharType - ) +GetStringTypeW ( + DWORD dwInfoType, + LPCWSTR lpSrcStr, + int cchSrc, + LPWORD lpCharType + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2221,13 +2231,13 @@ GetStringTypeW( WINBOOL STDCALL -GetStringTypeA( - LCID Locale, - DWORD dwInfoType, - LPCSTR lpSrcStr, - int cchSrc, - LPWORD lpCharType - ) +GetStringTypeA ( + LCID Locale, + DWORD dwInfoType, + LPCSTR lpSrcStr, + int cchSrc, + LPWORD lpCharType + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2274,7 +2284,7 @@ GetSystemInfo ( lpSystemInfo->u.s.wReserved = 0; lpSystemInfo->dwPageSize = - 4096; + 4096; /* FIXME: x86 default; may be 4Mb */ lpSystemInfo->lpMinimumApplicationAddress = (PVOID) 0x00010000; /* ? */ lpSystemInfo->lpMaximumApplicationAddress = @@ -2307,12 +2317,12 @@ GetSystemPowerStatus ( DWORD STDCALL -GetTapeParameters( - HANDLE hDevice, - DWORD dwOperation, - LPDWORD lpdwSize, - LPVOID lpTapeInformation - ) +GetTapeParameters ( + HANDLE hDevice, + DWORD dwOperation, + LPDWORD lpdwSize, + LPVOID lpTapeInformation + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2428,9 +2438,9 @@ GetVDMCurrentDirectories ( ATOM STDCALL -GlobalAddAtomW( - LPCWSTR lpString - ) +GlobalAddAtomW ( + LPCWSTR lpString + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2439,9 +2449,9 @@ GlobalAddAtomW( ATOM STDCALL -GlobalAddAtomA( - LPCSTR lpString - ) +GlobalAddAtomA ( + LPCSTR lpString + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2450,10 +2460,10 @@ GlobalAddAtomA( HGLOBAL STDCALL -GlobalAlloc( - UINT uFlags, - DWORD dwBytes - ) +GlobalAlloc ( + UINT uFlags, + DWORD dwBytes + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2462,9 +2472,9 @@ GlobalAlloc( UINT STDCALL -GlobalCompact( - DWORD dwMinFree - ) +GlobalCompact ( + DWORD dwMinFree + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2473,9 +2483,9 @@ GlobalCompact( ATOM STDCALL -GlobalDeleteAtom( - ATOM nAtom - ) +GlobalDeleteAtom ( + ATOM nAtom + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2484,9 +2494,9 @@ GlobalDeleteAtom( ATOM STDCALL -GlobalFindAtomW( - LPCWSTR lpString - ) +GlobalFindAtomW ( + LPCWSTR lpString + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2495,9 +2505,9 @@ GlobalFindAtomW( ATOM STDCALL -GlobalFindAtomA( - LPCSTR lpString - ) +GlobalFindAtomA ( + LPCSTR lpString + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2506,9 +2516,9 @@ GlobalFindAtomA( VOID STDCALL -GlobalFix( - HGLOBAL hMem - ) +GlobalFix ( + HGLOBAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); } @@ -2516,9 +2526,9 @@ GlobalFix( UINT STDCALL -GlobalFlags( - HGLOBAL hMem - ) +GlobalFlags ( + HGLOBAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2527,9 +2537,9 @@ GlobalFlags( HGLOBAL STDCALL -GlobalFree( - HGLOBAL hMem - ) +GlobalFree ( + HGLOBAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return hMem; @@ -2538,11 +2548,11 @@ GlobalFree( UINT STDCALL -GlobalGetAtomNameA( - ATOM nAtom, - LPSTR lpBuffer, - int nSize - ) +GlobalGetAtomNameA ( + ATOM nAtom, + LPSTR lpBuffer, + int nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2551,11 +2561,11 @@ GlobalGetAtomNameA( UINT STDCALL -GlobalGetAtomNameW( - ATOM nAtom, - LPWSTR lpBuffer, - int nSize - ) +GlobalGetAtomNameW ( + ATOM nAtom, + LPWSTR lpBuffer, + int nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2564,9 +2574,9 @@ GlobalGetAtomNameW( HGLOBAL STDCALL -GlobalHandle( - LPCVOID pMem - ) +GlobalHandle ( + LPCVOID pMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2575,9 +2585,9 @@ GlobalHandle( LPVOID STDCALL -GlobalLock( - HGLOBAL hMem - ) +GlobalLock ( + HGLOBAL hMem + ) { /* In Win32 GlobalAlloc returns LPVOID? */ return hMem; @@ -2586,9 +2596,9 @@ GlobalLock( VOID STDCALL -GlobalMemoryStatus( - LPMEMORYSTATUS lpBuffer - ) +GlobalMemoryStatus ( + LPMEMORYSTATUS lpBuffer + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); } @@ -2596,11 +2606,11 @@ GlobalMemoryStatus( HGLOBAL STDCALL -GlobalReAlloc( - HGLOBAL hMem, - DWORD dwBytes, - UINT uFlags - ) +GlobalReAlloc ( + HGLOBAL hMem, + DWORD dwBytes, + UINT uFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2609,9 +2619,9 @@ GlobalReAlloc( DWORD STDCALL -GlobalSize( - HGLOBAL hMem - ) +GlobalSize ( + HGLOBAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2620,9 +2630,9 @@ GlobalSize( WINBOOL STDCALL -GlobalUnWire( - HGLOBAL hMem - ) +GlobalUnWire ( + HGLOBAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2631,9 +2641,9 @@ GlobalUnWire( VOID STDCALL -GlobalUnfix( - HGLOBAL hMem - ) +GlobalUnfix ( + HGLOBAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); } @@ -2641,9 +2651,9 @@ GlobalUnfix( WINBOOL STDCALL -GlobalUnlock( - HGLOBAL hMem - ) +GlobalUnlock ( + HGLOBAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2652,12 +2662,12 @@ GlobalUnlock( LPVOID STDCALL -GlobalWire( - HGLOBAL hMem - ) +GlobalWire ( + HGLOBAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; /* ? */ + return NULL; /* ? */ } @@ -2757,9 +2767,9 @@ InitAtomTable ( LONG STDCALL -InterlockedDecrement( - LPLONG lpAddend - ) +InterlockedDecrement ( + LPLONG lpAddend + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2768,10 +2778,10 @@ InterlockedDecrement( LONG STDCALL -InterlockedExchange( - LPLONG Target, - LONG Value - ) +InterlockedExchange ( + LPLONG Target, + LONG Value + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2780,9 +2790,9 @@ InterlockedExchange( LONG STDCALL -InterlockedIncrement( - LPLONG lpAddend - ) +InterlockedIncrement ( + LPLONG lpAddend + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2803,9 +2813,9 @@ InvalidateConsoleDIBits ( WINBOOL STDCALL -IsBadCodePtr( - FARPROC lpfn - ) +IsBadCodePtr ( + FARPROC lpfn + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2814,10 +2824,10 @@ IsBadCodePtr( WINBOOL STDCALL -IsBadHugeReadPtr( - CONST VOID *lp, - UINT ucb - ) +IsBadHugeReadPtr ( + CONST VOID * lp, + UINT ucb + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2826,10 +2836,10 @@ IsBadHugeReadPtr( WINBOOL STDCALL -IsBadHugeWritePtr( - LPVOID lp, - UINT ucb - ) +IsBadHugeWritePtr ( + LPVOID lp, + UINT ucb + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2838,10 +2848,10 @@ IsBadHugeWritePtr( WINBOOL STDCALL -IsBadReadPtr( - CONST VOID *lp, - UINT ucb - ) +IsBadReadPtr ( + CONST VOID * lp, + UINT ucb + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2850,10 +2860,10 @@ IsBadReadPtr( WINBOOL STDCALL -IsBadStringPtrA( - LPCSTR lpsz, - UINT ucchMax - ) +IsBadStringPtrA ( + LPCSTR lpsz, + UINT ucchMax + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2862,10 +2872,10 @@ IsBadStringPtrA( WINBOOL STDCALL -IsBadStringPtrW( - LPCWSTR lpsz, - UINT ucchMax - ) +IsBadStringPtrW ( + LPCWSTR lpsz, + UINT ucchMax + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2874,10 +2884,10 @@ IsBadStringPtrW( WINBOOL STDCALL -IsBadWritePtr( - LPVOID lp, - UINT ucb - ) +IsBadWritePtr ( + LPVOID lp, + UINT ucb + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2886,8 +2896,9 @@ IsBadWritePtr( WINBOOL STDCALL -IsDBCSLeadByte( - BYTE TestChar) +IsDBCSLeadByte ( + BYTE TestChar + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2896,9 +2907,10 @@ IsDBCSLeadByte( WINBOOL STDCALL -IsDBCSLeadByteEx( - UINT CodePage, - BYTE TestChar) +IsDBCSLeadByteEx ( + UINT CodePage, + BYTE TestChar + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2910,14 +2922,15 @@ STDCALL IsDebuggerPresent (VOID) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; + return FALSE; /* FIXME: */ } WINBOOL STDCALL -IsValidCodePage( - UINT CodePage) +IsValidCodePage ( + UINT CodePage + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2926,9 +2939,10 @@ IsValidCodePage( WINBOOL STDCALL -IsValidLocale( - LCID Locale, - DWORD dwFlags) +IsValidLocale ( + LCID Locale, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -2937,14 +2951,14 @@ IsValidLocale( int STDCALL -LCMapStringA( - LCID Locale, - DWORD dwMapFlags, - LPCSTR lpSrcStr, - int cchSrc, - LPSTR lpDestStr, - int cchDest - ) +LCMapStringA ( + LCID Locale, + DWORD dwMapFlags, + LPCSTR lpSrcStr, + int cchSrc, + LPSTR lpDestStr, + int cchDest + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2953,14 +2967,14 @@ LCMapStringA( int STDCALL -LCMapStringW( - LCID Locale, - DWORD dwMapFlags, - LPCWSTR lpSrcStr, - int cchSrc, - LPWSTR lpDestStr, - int cchDest - ) +LCMapStringW ( + LCID Locale, + DWORD dwMapFlags, + LPCWSTR lpSrcStr, + int cchSrc, + LPWSTR lpDestStr, + int cchDest + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2969,11 +2983,11 @@ LCMapStringW( HINSTANCE STDCALL -LoadLibraryExA( - LPCSTR lpLibFileName, - HANDLE hFile, - DWORD dwFlags - ) +LoadLibraryExA ( + LPCSTR lpLibFileName, + HANDLE hFile, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2982,11 +2996,11 @@ LoadLibraryExA( HINSTANCE STDCALL -LoadLibraryExW( - LPCWSTR lpLibFileName, - HANDLE hFile, - DWORD dwFlags - ) +LoadLibraryExW ( + LPCWSTR lpLibFileName, + HANDLE hFile, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -2995,10 +3009,10 @@ LoadLibraryExW( DWORD STDCALL -LoadModule( - LPCSTR lpModuleName, - LPVOID lpParameterBlock - ) +LoadModule ( + LPCSTR lpModuleName, + LPVOID lpParameterBlock + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3007,10 +3021,10 @@ LoadModule( HGLOBAL STDCALL -LoadResource( - HINSTANCE hModule, - HRSRC hResInfo - ) +LoadResource ( + HINSTANCE hModule, + HRSRC hResInfo + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3019,10 +3033,10 @@ LoadResource( HLOCAL STDCALL -LocalAlloc( - UINT uFlags, - UINT uBytes - ) +LocalAlloc ( + UINT uFlags, + UINT uBytes + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3031,9 +3045,9 @@ LocalAlloc( UINT STDCALL -LocalCompact( - UINT uMinFree - ) +LocalCompact ( + UINT uMinFree + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3042,9 +3056,9 @@ LocalCompact( UINT STDCALL -LocalFlags( - HLOCAL hMem - ) +LocalFlags ( + HLOCAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3053,9 +3067,9 @@ LocalFlags( HLOCAL STDCALL -LocalFree( - HLOCAL hMem - ) +LocalFree ( + HLOCAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return hMem; @@ -3064,9 +3078,9 @@ LocalFree( HLOCAL STDCALL -LocalHandle( - LPCVOID pMem - ) +LocalHandle ( + LPCVOID pMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3075,9 +3089,9 @@ LocalHandle( LPVOID STDCALL -LocalLock( - HLOCAL hMem - ) +LocalLock ( + HLOCAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return NULL; @@ -3086,11 +3100,11 @@ LocalLock( HLOCAL STDCALL -LocalReAlloc( - HLOCAL hMem, - UINT uBytes, - UINT uFlags - ) +LocalReAlloc ( + HLOCAL hMem, + UINT uBytes, + UINT uFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3099,10 +3113,10 @@ LocalReAlloc( UINT STDCALL -LocalShrink( - HLOCAL hMem, - UINT cbNewSize - ) +LocalShrink ( + HLOCAL hMem, + UINT cbNewSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3111,9 +3125,9 @@ LocalShrink( UINT STDCALL -LocalSize( - HLOCAL hMem - ) +LocalSize ( + HLOCAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3122,9 +3136,9 @@ LocalSize( WINBOOL STDCALL -LocalUnlock( - HLOCAL hMem - ) +LocalUnlock ( + HLOCAL hMem + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3133,9 +3147,9 @@ LocalUnlock( LPVOID STDCALL -LockResource( - HGLOBAL hResData - ) +LockResource ( + HGLOBAL hResData + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return NULL; @@ -3144,13 +3158,13 @@ LockResource( LPVOID STDCALL -MapViewOfFile( - HANDLE hFileMappingObject, - DWORD dwDesiredAccess, - DWORD dwFileOffsetHigh, - DWORD dwFileOffsetLow, - DWORD dwNumberOfBytesToMap - ) +MapViewOfFile ( + HANDLE hFileMappingObject, + DWORD dwDesiredAccess, + DWORD dwFileOffsetHigh, + DWORD dwFileOffsetLow, + DWORD dwNumberOfBytesToMap + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return NULL; @@ -3159,14 +3173,14 @@ MapViewOfFile( LPVOID STDCALL -MapViewOfFileEx( - HANDLE hFileMappingObject, - DWORD dwDesiredAccess, - DWORD dwFileOffsetHigh, - DWORD dwFileOffsetLow, - DWORD dwNumberOfBytesToMap, - LPVOID lpBaseAddress - ) +MapViewOfFileEx ( + HANDLE hFileMappingObject, + DWORD dwDesiredAccess, + DWORD dwFileOffsetHigh, + DWORD dwFileOffsetLow, + DWORD dwNumberOfBytesToMap, + LPVOID lpBaseAddress + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return NULL; @@ -3175,11 +3189,11 @@ MapViewOfFileEx( int STDCALL -MulDiv( - int nNumber, - int nNumerator, - int nDenominator - ) +MulDiv ( + int nNumber, + int nNumerator, + int nDenominator + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3188,13 +3202,14 @@ MulDiv( int STDCALL -MultiByteToWideChar( - UINT CodePage, - DWORD dwFlags, - LPCSTR lpMultiByteStr, - int cchMultiByte, - LPWSTR lpWideCharStr, - int cchWideChar) +MultiByteToWideChar ( + UINT CodePage, + DWORD dwFlags, + LPCSTR lpMultiByteStr, + int cchMultiByte, + LPWSTR lpWideCharStr, + int cchWideChar + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3217,11 +3232,11 @@ OpenConsoleW ( HANDLE STDCALL -OpenFileMappingA( - DWORD dwDesiredAccess, - WINBOOL bInheritHandle, - LPCSTR lpName - ) +OpenFileMappingA ( + DWORD dwDesiredAccess, + WINBOOL bInheritHandle, + LPCSTR lpName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return INVALID_HANDLE_VALUE; @@ -3230,11 +3245,11 @@ OpenFileMappingA( HANDLE STDCALL -OpenFileMappingW( - DWORD dwDesiredAccess, - WINBOOL bInheritHandle, - LPCWSTR lpName - ) +OpenFileMappingW ( + DWORD dwDesiredAccess, + WINBOOL bInheritHandle, + LPCWSTR lpName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return INVALID_HANDLE_VALUE; @@ -3243,11 +3258,11 @@ OpenFileMappingW( HANDLE STDCALL -OpenMutexA( - DWORD dwDesiredAccess, - WINBOOL bInheritHandle, - LPCSTR lpName - ) +OpenMutexA ( + DWORD dwDesiredAccess, + WINBOOL bInheritHandle, + LPCSTR lpName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return INVALID_HANDLE_VALUE; @@ -3256,11 +3271,11 @@ OpenMutexA( HANDLE STDCALL -OpenMutexW( - DWORD dwDesiredAccess, - WINBOOL bInheritHandle, - LPCWSTR lpName - ) +OpenMutexW ( + DWORD dwDesiredAccess, + WINBOOL bInheritHandle, + LPCWSTR lpName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return INVALID_HANDLE_VALUE; @@ -3278,11 +3293,11 @@ OpenProfileUserMapping (VOID) HANDLE STDCALL -OpenSemaphoreA( - DWORD dwDesiredAccess, - WINBOOL bInheritHandle, - LPCSTR lpName - ) +OpenSemaphoreA ( + DWORD dwDesiredAccess, + WINBOOL bInheritHandle, + LPCSTR lpName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return INVALID_HANDLE_VALUE; @@ -3291,11 +3306,11 @@ OpenSemaphoreA( HANDLE STDCALL -OpenSemaphoreW( - DWORD dwDesiredAccess, - WINBOOL bInheritHandle, - LPCWSTR lpName - ) +OpenSemaphoreW ( + DWORD dwDesiredAccess, + WINBOOL bInheritHandle, + LPCWSTR lpName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return INVALID_HANDLE_VALUE; @@ -3304,14 +3319,14 @@ OpenSemaphoreW( WINBOOL STDCALL -PeekNamedPipe( - HANDLE hNamedPipe, - LPVOID lpBuffer, - DWORD nBufferSize, - LPDWORD lpBytesRead, - LPDWORD lpTotalBytesAvail, - LPDWORD lpBytesLeftThisMessage - ) +PeekNamedPipe ( + HANDLE hNamedPipe, + LPVOID lpBuffer, + DWORD nBufferSize, + LPDWORD lpBytesRead, + LPDWORD lpTotalBytesAvail, + LPDWORD lpBytesLeftThisMessage + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3320,11 +3335,11 @@ PeekNamedPipe( DWORD STDCALL -PrepareTape( - HANDLE hDevice, - DWORD dwOperation, - WINBOOL bImmediate - ) +PrepareTape ( + HANDLE hDevice, + DWORD dwOperation, + WINBOOL bImmediate + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3333,10 +3348,10 @@ PrepareTape( WINBOOL STDCALL -PurgeComm( - HANDLE hFile, - DWORD dwFlags - ) +PurgeComm ( + HANDLE hFile, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3345,9 +3360,9 @@ PurgeComm( WINBOOL STDCALL -QueryPerformanceCounter( - LARGE_INTEGER *lpPerformanceCount - ) +QueryPerformanceCounter ( + LARGE_INTEGER * lpPerformanceCount + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3356,9 +3371,9 @@ QueryPerformanceCounter( WINBOOL STDCALL -QueryPerformanceFrequency( - LARGE_INTEGER *lpFrequency - ) +QueryPerformanceFrequency ( + LARGE_INTEGER * lpFrequency + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3381,12 +3396,12 @@ QueryWin31IniFilesMappedToRegistry ( VOID STDCALL -RaiseException( - DWORD dwExceptionCode, - DWORD dwExceptionFlags, - DWORD nNumberOfArguments, - CONST DWORD *lpArguments - ) +RaiseException ( + DWORD dwExceptionCode, + DWORD dwExceptionFlags, + DWORD nNumberOfArguments, + CONST DWORD * lpArguments + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); } @@ -3394,13 +3409,13 @@ RaiseException( WINBOOL STDCALL -ReadProcessMemory( - HANDLE hProcess, - LPCVOID lpBaseAddress, - LPVOID lpBuffer, - DWORD nSize, - LPDWORD lpNumberOfBytesRead - ) +ReadProcessMemory ( + HANDLE hProcess, + LPCVOID lpBaseAddress, + LPVOID lpBuffer, + DWORD nSize, + LPDWORD lpNumberOfBytesRead + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3463,9 +3478,9 @@ RegisterWowExec ( WINBOOL STDCALL -ReleaseMutex( - HANDLE hMutex - ) +ReleaseMutex ( + HANDLE hMutex + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3474,11 +3489,11 @@ ReleaseMutex( WINBOOL STDCALL -ReleaseSemaphore( - HANDLE hSemaphore, - LONG lReleaseCount, - LPLONG lpPreviousCount - ) +ReleaseSemaphore ( + HANDLE hSemaphore, + LONG lReleaseCount, + LPLONG lpPreviousCount + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3539,9 +3554,9 @@ RtlZeroMemory ( WINBOOL STDCALL -SetCommBreak( - HANDLE hFile - ) +SetCommBreak ( + HANDLE hFile + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3550,11 +3565,11 @@ SetCommBreak( WINBOOL STDCALL -SetCommConfig( - HANDLE hCommDev, - LPCOMMCONFIG lpCC, - DWORD dwSize - ) +SetCommConfig ( + HANDLE hCommDev, + LPCOMMCONFIG lpCC, + DWORD dwSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3563,10 +3578,10 @@ SetCommConfig( WINBOOL STDCALL -SetCommMask( - HANDLE hFile, - DWORD dwEvtMask - ) +SetCommMask ( + HANDLE hFile, + DWORD dwEvtMask + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3575,10 +3590,10 @@ SetCommMask( WINBOOL STDCALL -SetCommState( - HANDLE hFile, - LPDCB lpDCB - ) +SetCommState ( + HANDLE hFile, + LPDCB lpDCB + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3587,10 +3602,10 @@ SetCommState( WINBOOL STDCALL -SetCommTimeouts( - HANDLE hFile, - LPCOMMTIMEOUTS lpCommTimeouts - ) +SetCommTimeouts ( + HANDLE hFile, + LPCOMMTIMEOUTS lpCommTimeouts + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3600,8 +3615,8 @@ SetCommTimeouts( WINBOOL STDCALL SetComputerNameA ( - LPCSTR lpComputerName - ) + LPCSTR lpComputerName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3756,11 +3771,11 @@ SetConsolePalette ( WINBOOL STDCALL -SetDefaultCommConfigA( - LPCSTR lpszName, - LPCOMMCONFIG lpCC, - DWORD dwSize - ) +SetDefaultCommConfigA ( + LPCSTR lpszName, + LPCOMMCONFIG lpCC, + DWORD dwSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3769,11 +3784,11 @@ SetDefaultCommConfigA( WINBOOL STDCALL -SetDefaultCommConfigW( - LPCWSTR lpszName, - LPCOMMCONFIG lpCC, - DWORD dwSize - ) +SetDefaultCommConfigW ( + LPCWSTR lpszName, + LPCOMMCONFIG lpCC, + DWORD dwSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3791,11 +3806,11 @@ SetLastConsoleEventActive (VOID) WINBOOL STDCALL -SetLocaleInfoA( - LCID Locale, - LCTYPE LCType, - LPCSTR lpLCData - ) +SetLocaleInfoA ( + LCID Locale, + LCTYPE LCType, + LPCSTR lpLCData + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3804,11 +3819,11 @@ SetLocaleInfoA( WINBOOL STDCALL -SetLocaleInfoW( - LCID Locale, - LCTYPE LCType, - LPCWSTR lpLCData - ) +SetLocaleInfoW ( + LCID Locale, + LCTYPE LCType, + LPCWSTR lpLCData + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3817,10 +3832,10 @@ SetLocaleInfoW( WINBOOL STDCALL -SetMailslotInfo( - HANDLE hMailslot, - DWORD lReadTimeout - ) +SetMailslotInfo ( + HANDLE hMailslot, + DWORD lReadTimeout + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3829,12 +3844,12 @@ SetMailslotInfo( WINBOOL STDCALL -SetNamedPipeHandleState( - HANDLE hNamedPipe, - LPDWORD lpMode, - LPDWORD lpMaxCollectionCount, - LPDWORD lpCollectDataTimeout - ) +SetNamedPipeHandleState ( + HANDLE hNamedPipe, + LPDWORD lpMode, + LPDWORD lpMaxCollectionCount, + LPDWORD lpCollectDataTimeout + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3843,10 +3858,10 @@ SetNamedPipeHandleState( WINBOOL STDCALL -SetPriorityClass( - HANDLE hProcess, - DWORD dwPriorityClass - ) +SetPriorityClass ( + HANDLE hProcess, + DWORD dwPriorityClass + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3855,10 +3870,10 @@ SetPriorityClass( WINBOOL STDCALL -SetProcessShutdownParameters( - DWORD dwLevel, - DWORD dwFlags - ) +SetProcessShutdownParameters ( + DWORD dwLevel, + DWORD dwFlags + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3867,11 +3882,11 @@ SetProcessShutdownParameters( WINBOOL STDCALL -SetProcessWorkingSetSize( - HANDLE hProcess, - DWORD dwMinimumWorkingSetSize, - DWORD dwMaximumWorkingSetSize - ) +SetProcessWorkingSetSize ( + HANDLE hProcess, + DWORD dwMinimumWorkingSetSize, + DWORD dwMaximumWorkingSetSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3892,11 +3907,11 @@ SetSystemPowerState ( DWORD STDCALL -SetTapeParameters( - HANDLE hDevice, - DWORD dwOperation, - LPVOID lpTapeInformation - ) +SetTapeParameters ( + HANDLE hDevice, + DWORD dwOperation, + LPVOID lpTapeInformation + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3905,14 +3920,14 @@ SetTapeParameters( DWORD STDCALL -SetTapePosition( - HANDLE hDevice, - DWORD dwPositionMethod, - DWORD dwPartition, - DWORD dwOffsetLow, - DWORD dwOffsetHigh, - WINBOOL bImmediate - ) +SetTapePosition ( + HANDLE hDevice, + DWORD dwPositionMethod, + DWORD dwPartition, + DWORD dwOffsetLow, + DWORD dwOffsetHigh, + WINBOOL bImmediate + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3921,9 +3936,9 @@ SetTapePosition( WINBOOL STDCALL -SetThreadLocale( - LCID Locale - ) +SetThreadLocale ( + LCID Locale + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3944,11 +3959,11 @@ SetVDMCurrentDirectories ( WINBOOL STDCALL -SetupComm( - HANDLE hFile, - DWORD dwInQueue, - DWORD dwOutQueue - ) +SetupComm ( + HANDLE hFile, + DWORD dwInQueue, + DWORD dwOutQueue + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3969,10 +3984,10 @@ ShowConsoleCursor ( DWORD STDCALL -SizeofResource( - HINSTANCE hModule, - HRSRC hResInfo - ) +SizeofResource ( + HINSTANCE hModule, + HRSRC hResInfo + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -3981,10 +3996,10 @@ SizeofResource( WINBOOL STDCALL -TerminateThread( - HANDLE hThread, - DWORD dwExitCode - ) +TerminateThread ( + HANDLE hThread, + DWORD dwExitCode + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -3993,9 +4008,9 @@ TerminateThread( LPVOID STDCALL -TlsGetValue( - DWORD dwTlsIndex - ) +TlsGetValue ( + DWORD dwTlsIndex + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return NULL; @@ -4004,15 +4019,15 @@ TlsGetValue( WINBOOL STDCALL -TransactNamedPipe( - HANDLE hNamedPipe, - LPVOID lpInBuffer, - DWORD nInBufferSize, - LPVOID lpOutBuffer, - DWORD nOutBufferSize, - LPDWORD lpBytesRead, - LPOVERLAPPED lpOverlapped - ) +TransactNamedPipe ( + HANDLE hNamedPipe, + LPVOID lpInBuffer, + DWORD nInBufferSize, + LPVOID lpOutBuffer, + DWORD nOutBufferSize, + LPDWORD lpBytesRead, + LPOVERLAPPED lpOverlapped + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4021,10 +4036,10 @@ TransactNamedPipe( WINBOOL STDCALL -TransmitCommChar( - HANDLE hFile, - char cChar - ) +TransmitCommChar ( + HANDLE hFile, + char cChar + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4044,9 +4059,9 @@ TrimVirtualBuffer ( WINBOOL STDCALL -UnmapViewOfFile( - LPVOID lpBaseAddress - ) +UnmapViewOfFile ( + LPVOID lpBaseAddress + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4055,14 +4070,14 @@ UnmapViewOfFile( WINBOOL STDCALL -UpdateResourceA( - HANDLE hUpdate, - LPCSTR lpType, - LPCSTR lpName, - WORD wLanguage, - LPVOID lpData, - DWORD cbData - ) +UpdateResourceA ( + HANDLE hUpdate, + LPCSTR lpType, + LPCSTR lpName, + WORD wLanguage, + LPVOID lpData, + DWORD cbData + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4071,14 +4086,14 @@ UpdateResourceA( WINBOOL STDCALL -UpdateResourceW( - HANDLE hUpdate, - LPCWSTR lpType, - LPCWSTR lpName, - WORD wLanguage, - LPVOID lpData, - DWORD cbData - ) +UpdateResourceW ( + HANDLE hUpdate, + LPCWSTR lpType, + LPCWSTR lpName, + WORD wLanguage, + LPVOID lpData, + DWORD cbData + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4110,11 +4125,11 @@ VDMOperationStarted ( DWORD STDCALL -VerLanguageNameA( - DWORD wLang, - LPSTR szLang, - DWORD nSize - ) +VerLanguageNameA ( + DWORD wLang, + LPSTR szLang, + DWORD nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -4123,11 +4138,11 @@ VerLanguageNameA( DWORD STDCALL -VerLanguageNameW( - DWORD wLang, - LPWSTR szLang, - DWORD nSize - ) +VerLanguageNameW ( + DWORD wLang, + LPWSTR szLang, + DWORD nSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -4160,10 +4175,10 @@ VirtualBufferExceptionHandler ( WINBOOL STDCALL -VirtualLock( - LPVOID lpAddress, - DWORD dwSize - ) +VirtualLock ( + LPVOID lpAddress, + DWORD dwSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4172,11 +4187,11 @@ VirtualLock( DWORD STDCALL -VirtualQuery( - LPCVOID lpAddress, - PMEMORY_BASIC_INFORMATION lpBuffer, - DWORD dwLength - ) +VirtualQuery ( + LPCVOID lpAddress, + PMEMORY_BASIC_INFORMATION lpBuffer, + DWORD dwLength + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -4185,12 +4200,12 @@ VirtualQuery( DWORD STDCALL -VirtualQueryEx( - HANDLE hProcess, - LPCVOID lpAddress, - PMEMORY_BASIC_INFORMATION lpBuffer, - DWORD dwLength - ) +VirtualQueryEx ( + HANDLE hProcess, + LPCVOID lpAddress, + PMEMORY_BASIC_INFORMATION lpBuffer, + DWORD dwLength + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -4199,10 +4214,10 @@ VirtualQueryEx( WINBOOL STDCALL -VirtualUnlock( - LPVOID lpAddress, - DWORD dwSize - ) +VirtualUnlock ( + LPVOID lpAddress, + DWORD dwSize + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4211,11 +4226,11 @@ VirtualUnlock( WINBOOL STDCALL -WaitCommEvent( - HANDLE hFile, - LPDWORD lpEvtMask, - LPOVERLAPPED lpOverlapped - ) +WaitCommEvent ( + HANDLE hFile, + LPDWORD lpEvtMask, + LPOVERLAPPED lpOverlapped + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4224,10 +4239,10 @@ WaitCommEvent( WINBOOL STDCALL -WaitForDebugEvent( - LPDEBUG_EVENT lpDebugEvent, - DWORD dwMilliseconds - ) +WaitForDebugEvent ( + LPDEBUG_EVENT lpDebugEvent, + DWORD dwMilliseconds + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4236,10 +4251,10 @@ WaitForDebugEvent( WINBOOL STDCALL -WaitNamedPipeA( - LPCSTR lpNamedPipeName, - DWORD nTimeOut - ) +WaitNamedPipeA ( + LPCSTR lpNamedPipeName, + DWORD nTimeOut + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4248,10 +4263,10 @@ WaitNamedPipeA( WINBOOL STDCALL -WaitNamedPipeW( - LPCWSTR lpNamedPipeName, - DWORD nTimeOut - ) +WaitNamedPipeW ( + LPCWSTR lpNamedPipeName, + DWORD nTimeOut + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4260,16 +4275,16 @@ WaitNamedPipeW( int STDCALL -WideCharToMultiByte( - UINT CodePage, - DWORD dwFlags, - LPCWSTR lpWideCharStr, - int cchWideChar, - LPSTR lpMultiByteStr, - int cchMultiByte, - LPCSTR lpDefaultChar, - LPBOOL lpUsedDefaultChar - ) +WideCharToMultiByte ( + UINT CodePage, + DWORD dwFlags, + LPCWSTR lpWideCharStr, + int cchWideChar, + LPSTR lpMultiByteStr, + int cchMultiByte, + LPCSTR lpDefaultChar, + LPBOOL lpUsedDefaultChar + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4306,13 +4321,13 @@ WriteConsoleInputVDMW ( WINBOOL STDCALL -WriteFileEx( - HANDLE hFile, - LPCVOID lpBuffer, - DWORD nNumberOfBytesToWrite, - LPOVERLAPPED lpOverlapped, - LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine - ) +WriteFileEx ( + HANDLE hFile, + LPCVOID lpBuffer, + DWORD nNumberOfBytesToWrite, + LPOVERLAPPED lpOverlapped, + LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4321,11 +4336,11 @@ WriteFileEx( WINBOOL STDCALL -WritePrivateProfileSectionA( - LPCSTR lpAppName, - LPCSTR lpString, - LPCSTR lpFileName - ) +WritePrivateProfileSectionA ( + LPCSTR lpAppName, + LPCSTR lpString, + LPCSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4334,11 +4349,11 @@ WritePrivateProfileSectionA( WINBOOL STDCALL -WritePrivateProfileSectionW( - LPCWSTR lpAppName, - LPCWSTR lpString, - LPCWSTR lpFileName - ) +WritePrivateProfileSectionW ( + LPCWSTR lpAppName, + LPCWSTR lpString, + LPCWSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4347,12 +4362,12 @@ WritePrivateProfileSectionW( WINBOOL STDCALL -WritePrivateProfileStringA( - LPCSTR lpAppName, - LPCSTR lpKeyName, - LPCSTR lpString, - LPCSTR lpFileName - ) +WritePrivateProfileStringA ( + LPCSTR lpAppName, + LPCSTR lpKeyName, + LPCSTR lpString, + LPCSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4361,12 +4376,12 @@ WritePrivateProfileStringA( WINBOOL STDCALL -WritePrivateProfileStringW( - LPCWSTR lpAppName, - LPCWSTR lpKeyName, - LPCWSTR lpString, - LPCWSTR lpFileName - ) +WritePrivateProfileStringW ( + LPCWSTR lpAppName, + LPCWSTR lpKeyName, + LPCWSTR lpString, + LPCWSTR lpFileName + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4405,13 +4420,13 @@ WritePrivateProfileStructW ( WINBOOL STDCALL -WriteProcessMemory( - HANDLE hProcess, - LPVOID lpBaseAddress, - LPVOID lpBuffer, - DWORD nSize, - LPDWORD lpNumberOfBytesWritten - ) +WriteProcessMemory ( + HANDLE hProcess, + LPVOID lpBaseAddress, + LPVOID lpBuffer, + DWORD nSize, + LPDWORD lpNumberOfBytesWritten + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4420,10 +4435,10 @@ WriteProcessMemory( WINBOOL STDCALL -WriteProfileSectionA( - LPCSTR lpAppName, - LPCSTR lpString - ) +WriteProfileSectionA ( + LPCSTR lpAppName, + LPCSTR lpString + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4432,10 +4447,10 @@ WriteProfileSectionA( WINBOOL STDCALL -WriteProfileSectionW( - LPCWSTR lpAppName, - LPCWSTR lpString - ) +WriteProfileSectionW ( + LPCWSTR lpAppName, + LPCWSTR lpString + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4444,11 +4459,11 @@ WriteProfileSectionW( WINBOOL STDCALL -WriteProfileStringA( - LPCSTR lpAppName, - LPCSTR lpKeyName, - LPCSTR lpString - ) +WriteProfileStringA ( + LPCSTR lpAppName, + LPCSTR lpKeyName, + LPCSTR lpString + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4457,11 +4472,11 @@ WriteProfileStringA( WINBOOL STDCALL -WriteProfileStringW( - LPCWSTR lpAppName, - LPCWSTR lpKeyName, - LPCWSTR lpString - ) +WriteProfileStringW ( + LPCWSTR lpAppName, + LPCWSTR lpKeyName, + LPCWSTR lpString + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; @@ -4470,12 +4485,12 @@ WriteProfileStringW( DWORD STDCALL -WriteTapemark( - HANDLE hDevice, - DWORD dwTapemarkType, - DWORD dwTapemarkCount, - WINBOOL bImmediate - ) +WriteTapemark ( + HANDLE hDevice, + DWORD dwTapemarkType, + DWORD dwTapemarkCount, + WINBOOL bImmediate + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; @@ -4483,13 +4498,13 @@ WriteTapemark( DWORD STDCALL -GetTapePosition( - HANDLE hDevice, - DWORD dwPositionType, - LPDWORD lpdwPartition, - LPDWORD lpdwOffsetLow, - LPDWORD lpdwOffsetHigh - ) +GetTapePosition ( + HANDLE hDevice, + DWORD dwPositionType, + LPDWORD lpdwPartition, + LPDWORD lpdwOffsetLow, + LPDWORD lpdwOffsetHigh + ) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; diff --git a/reactos/lib/ntdll/def/ntdll.def b/reactos/lib/ntdll/def/ntdll.def index 4430e21c0f2..39d6315423c 100644 --- a/reactos/lib/ntdll/def/ntdll.def +++ b/reactos/lib/ntdll/def/ntdll.def @@ -1,867 +1,436 @@ EXPORTS InitializeObjectAttributes NtAcceptConnectPort@24 -NtAcceptConnectPort = NtAcceptConnectPort@24 NtAccessCheck@32 -NtAccessCheck = NtAccessCheck@32 NtAccessCheckAndAuditAlarm@44 -NtAccessCheckAndAuditAlarm = NtAccessCheckAndAuditAlarm@44 NtAddAtom@8 -NtAddAtom = NtAddAtom@8 NtAdjustGroupsToken@24 -NtAdjustGroupsToken = NtAdjustGroupsToken@24 NtAdjustPrivilegesToken@24 -NtAdjustPrivilegesToken = NtAdjustPrivilegesToken@24 NtAlertResumeThread@8 -NtAlertResumeThread = NtAlertResumeThread@8 NtAlertThread@4 -NtAlertThread = NtAlertThread@4 NtAllocateLocallyUniqueId@4 -NtAllocateLocallyUniqueId = NtAllocateLocallyUniqueId@4 NtAllocateUuids@12 -NtAllocateUuids = NtAllocateUuids@12 NtAllocateVirtualMemory@24 -NtAllocateVirtualMemory = NtAllocateVirtualMemory@24 NtCallbackReturn@12 -NtCallbackReturn = NtCallbackReturn@12 NtCancelIoFile@8 -NtCancelIoFile = NtCancelIoFile@8 NtCancelTimer@8 -NtCancelTimer = NtCancelTimer@8 NtClearEvent@4 -NtClearEvent = NtClearEvent@4 NtClose@4 -NtClose = NtClose@4 NtCloseObjectAuditAlarm@12 -NtCloseObjectAuditAlarm = NtCloseObjectAuditAlarm@12 NtCompleteConnectPort@4 -NtCompleteConnectPort = NtCompleteConnectPort@4 NtConnectPort@32 -NtConnectPort = NtConnectPort@32 NtContinue@8 -NtContinue = NtContinue@8 NtCreateChannel@8 -NtCreateChannel = NtCreateChannel@8 NtCreateDirectoryObject@12 -NtCreateDirectoryObject = NtCreateDirectoryObject@12 NtCreateEvent@20 -NtCreateEvent = NtCreateEvent@20 NtCreateEventPair@12 -NtCreateEventPair = NtCreateEventPair@12 NtCreateFile@44 -NtCreateFile = NtCreateFile@44 NtCreateIoCompletion@16 -NtCreateIoCompletion = NtCreateIoCompletion@16 NtCreateKey@28 -NtCreateKey = NtCreateKey@28 NtCreateMailslotFile@32 -NtCreateMailslotFile = NtCreateMailslotFile@32 NtCreateMutant@16 -NtCreateMutant = NtCreateMutant@16 NtCreateNamedPipeFile@56 -NtCreateNamedPipeFile = NtCreateNamedPipeFile@56 NtCreatePagingFile@16 -NtCreatePagingFile = NtCreatePagingFile@16 NtCreatePort@20 -NtCreatePort = NtCreatePort@20 NtCreateProcess@32 -NtCreateProcess = NtCreateProcess@32 NtCreateProfile@36 -NtCreateProfile = NtCreateProfile@36 NtCreateSection@28 -NtCreateSection = NtCreateSection@28 NtCreateSemaphore@20 -NtCreateSemaphore = NtCreateSemaphore@20 NtCreateSymbolicLinkObject@16 -NtCreateSymbolicLinkObject = NtCreateSymbolicLinkObject@16 NtCreateThread@32 -NtCreateThread = NtCreateThread@32 NtCreateTimer@16 -NtCreateTimer = NtCreateTimer@16 NtCreateToken@52 -NtCreateToken = NtCreateToken@52 NtDelayExecution@8 -NtDelayExecution = NtDelayExecution@8 NtDeleteAtom@4 -NtDeleteAtom = NtDeleteAtom@4 NtDeleteFile@4 -NtDeleteFile = NtDeleteFile@4 NtDeleteKey@4 -NtDeleteKey = NtDeleteKey@4 NtDeleteObjectAuditAlarm@12 -NtDeleteObjectAuditAlarm = NtDeleteObjectAuditAlarm@12 NtDeleteValueKey@8 -NtDeleteValueKey = NtDeleteValueKey@8 NtDeviceIoControlFile@40 -NtDeviceIoControlFile = NtDeviceIoControlFile@40 NtDisplayString@4 -NtDisplayString = NtDisplayString@4 NtDuplicateObject@28 -NtDuplicateObject = NtDuplicateObject@28 NtDuplicateToken@24 -NtDuplicateToken = NtDuplicateToken@24 NtEnumerateKey@24 -NtEnumerateKey = NtEnumerateKey@24 NtEnumerateValueKey@24 -NtEnumerateValueKey = NtEnumerateValueKey@24 NtExtendSection@8 -NtExtendSection = NtExtendSection@8 NtFindAtom@8 -NtFindAtom = NtFindAtom@8 NtFlushBuffersFile@8 -NtFlushBuffersFile = NtFlushBuffersFile@8 NtFlushInstructionCache@12 -NtFlushInstructionCache = NtFlushInstructionCache@12 NtFlushKey@4 -NtFlushKey = NtFlushKey@4 NtFlushVirtualMemory@16 -NtFlushVirtualMemory = NtFlushVirtualMemory@16 NtFlushWriteBuffer@0 -NtFlushWriteBuffer = NtFlushWriteBuffer@0 NtFreeVirtualMemory@16 -NtFreeVirtualMemory = NtFreeVirtualMemory@16 NtFsControlFile@40 -NtFsControlFile = NtFsControlFile@40 NtGetContextThread@8 -NtGetContextThread = NtGetContextThread@8 NtGetPlugPlayEvent@16 -NtGetPlugPlayEvent = NtGetPlugPlayEvent@16 NtGetTickCount@4 -NtGetTickCount = NtGetTickCount@4 NtImpersonateClientOfPort@8 -NtImpersonateClientOfPort = NtImpersonateClientOfPort@8 NtImpersonateThread@12 -NtImpersonateThread = NtImpersonateThread@12 NtInitializeRegistry@4 -NtInitializeRegistry = NtInitializeRegistry@4 NtListenChannel@8 -NtListenChannel = NtListenChannel@8 NtListenPort@8 -NtListenPort = NtListenPort@8 NtLoadDriver@4 -NtLoadDriver = NtLoadDriver@4 NtLoadKey@8 -NtLoadKey = NtLoadKey@8 NtLoadKey2@12 -NtLoadKey2 = NtLoadKey2@12 NtLockFile@40 -NtLockFile = NtLockFile@40 NtLockVirtualMemory@16 -NtLockVirtualMemory = NtLockVirtualMemory@16 NtMakeTemporaryObject@4 -NtMakeTemporaryObject = NtMakeTemporaryObject@4 NtMapViewOfSection@40 -NtMapViewOfSection = NtMapViewOfSection@40 NtNotifyChangeDirectoryFile@36 -NtNotifyChangeDirectoryFile = NtNotifyChangeDirectoryFile@36 NtNotifyChangeKey@40 -NtNotifyChangeKey = NtNotifyChangeKey@40 NtOpenChannel@8 -NtOpenChannel = NtOpenChannel@8 NtOpenDirectoryObject@12 -NtOpenDirectoryObject = NtOpenDirectoryObject@12 NtOpenEvent@12 -NtOpenEvent = NtOpenEvent@12 NtOpenEventPair@12 -NtOpenEventPair = NtOpenEventPair@12 NtOpenFile@24 -NtOpenFile = NtOpenFile@24 NtOpenIoCompletion@12 -NtOpenIoCompletion = NtOpenIoCompletion@12 NtOpenKey@12 -NtOpenKey = NtOpenKey@12 NtOpenMutant@12 -NtOpenMutant = NtOpenMutant@12 NtOpenObjectAuditAlarm@48 -NtOpenObjectAuditAlarm = NtOpenObjectAuditAlarm@48 NtOpenProcess@16 -NtOpenProcess = NtOpenProcess@16 NtOpenProcessToken@12 -NtOpenProcessToken = NtOpenProcessToken@12 NtOpenSection@12 -NtOpenSection = NtOpenSection@12 NtOpenSemaphore@12 -NtOpenSemaphore = NtOpenSemaphore@12 NtOpenSymbolicLinkObject@12 -NtOpenSymbolicLinkObject = NtOpenSymbolicLinkObject@12 NtOpenThread@16 -NtOpenThread = NtOpenThread@16 NtOpenThreadToken@16 -NtOpenThreadToken = NtOpenThreadToken@16 NtOpenTimer@12 -NtOpenTimer = NtOpenTimer@12 NtPlugPlayControl@16 -NtPlugPlayControl = NtPlugPlayControl@16 NtPrivilegeCheck@12 -NtPrivilegeCheck = NtPrivilegeCheck@12 NtPrivilegedServiceAuditAlarm@20 -NtPrivilegedServiceAuditAlarm = NtPrivilegedServiceAuditAlarm@20 NtPrivilegeObjectAuditAlarm@24 -NtPrivilegeObjectAuditAlarm = NtPrivilegeObjectAuditAlarm@24 NtProtectVirtualMemory@20 -NtProtectVirtualMemory = NtProtectVirtualMemory@20 NtPulseEvent@8 -NtPulseEvent = NtPulseEvent@8 NtQueueApcThread@20 -NtQueueApcThread = NtQueueApcThread@20 NtQueryAttributesFile@8 -NtQueryAttributesFile = NtQueryAttributesFile@8 NtQueryDefaultLocale@8 -NtQueryDefaultLocale = NtQueryDefaultLocale@8 NtQueryDirectoryFile@44 -NtQueryDirectoryFile = NtQueryDirectoryFile@44 NtQueryDirectoryObject@28 -NtQueryDirectoryObject = NtQueryDirectoryObject@28 NtQueryEaFile@36 -NtQueryEaFile = NtQueryEaFile@36 NtQueryEvent@20 -NtQueryEvent = NtQueryEvent@20 NtQueryFullAttributesFile@8 -NtQueryFullAttributesFile = NtQueryFullAttributesFile@8 NtQueryInformationAtom@20 -NtQueryInformationAtom = NtQueryInformationAtom@20 NtQueryInformationFile@20 -NtQueryInformationFile = NtQueryInformationFile@20 NtQueryInformationPort@20 -NtQueryInformationPort = NtQueryInformationPort@20 NtQueryInformationProcess@20 -NtQueryInformationProcess = NtQueryInformationProcess@20 NtQueryInformationThread@20 -NtQueryInformationThread = NtQueryInformationThread@20 NtQueryInformationToken@20 -NtQueryInformationToken = NtQueryInformationToken@20 NtQueryIoCompletion@20 -NtQueryIoCompletion = NtQueryIoCompletion@20 NtQueryIntervalProfile@8 -NtQueryIntervalProfile = NtQueryIntervalProfile@8 NtQueryKey@20 -NtQueryKey = NtQueryKey@20 NtQueryMultipleValueKey@24 -NtQueryMultipleValueKey = NtQueryMultipleValueKey@24 NtQueryMutant@20 -NtQueryMutant = NtQueryMutant@20 NtQueryObject@20 -NtQueryObject = NtQueryObject@20 NtQueryOleDirectoryFile@44 -NtQueryOleDirectoryFile = NtQueryOleDirectoryFile@44 NtQueryPerformanceCounter@8 -NtQueryPerformanceCounter = NtQueryPerformanceCounter@8 NtQuerySection@20 -NtQuerySection = NtQuerySection@20 NtQuerySecurityObject@20 -NtQuerySecurityObject = NtQuerySecurityObject@20 NtQuerySemaphore@20 -NtQuerySemaphore = NtQuerySemaphore@20 NtQuerySymbolicLinkObject@12 -NtQuerySymbolicLinkObject = NtQuerySymbolicLinkObject@12 NtQuerySystemEnvironmentValue@16 -NtQuerySystemEnvironmentValue = NtQuerySystemEnvironmentValue@16 NtQuerySystemInformation@16 -NtQuerySystemInformation = NtQuerySystemInformation@16 NtQuerySystemTime@4 -NtQuerySystemTime = NtQuerySystemTime@4 NtQueryTimer@20 -NtQueryTimer = NtQueryTimer@20 NtQueryTimerResolution@12 -NtQueryTimerResolution = NtQueryTimerResolution@12 NtQueryValueKey@24 -NtQueryValueKey = NtQueryValueKey@24 NtQueryVirtualMemory@24 -NtQueryVirtualMemory = NtQueryVirtualMemory@24 NtQueryVolumeInformationFile@20 -NtQueryVolumeInformationFile = NtQueryVolumeInformationFile@20 NtRaiseException@12 -NtRaiseException = NtRaiseException@12 NtRaiseHardError@24 -NtRaiseHardError = NtRaiseHardError@24 NtReadFile@36 -NtReadFile = NtReadFile@36 NtReadFileScatter@36 -NtReadFileScatter = NtReadFileScatter@36 NtReadRequestData@24 -NtReadRequestData = NtReadRequestData@24 NtReadVirtualMemory@20 -NtReadVirtualMemory = NtReadVirtualMemory@20 NtRegisterThreadTerminatePort@4 -NtRegisterThreadTerminatePort = NtRegisterThreadTerminatePort@4 NtReleaseMutant@8 -NtReleaseMutant = NtReleaseMutant@8 NtReleaseSemaphore@12 -NtReleaseSemaphore = NtReleaseSemaphore@12 NtRemoveIoCompletion@20 -NtRemoveIoCompletion = NtRemoveIoCompletion@20 NtReplaceKey@12 -NtReplaceKey = NtReplaceKey@12 NtReplyPort@8 -NtReplyPort = NtReplyPort@8 NtReplyWaitReceivePort@16 -NtReplyWaitReceivePort = NtReplyWaitReceivePort@16 NtReplyWaitReplyPort@8 -NtReplyWaitReplyPort = NtReplyWaitReplyPort@8 NtReplyWaitSendChannel@12 -NtReplyWaitSendChannel = NtReplyWaitSendChannel@12 NtRequestPort@8 -NtRequestPort = NtRequestPort@8 NtRequestWaitReplyPort@12 -NtRequestWaitReplyPort = NtRequestWaitReplyPort@12 NtResetEvent@8 -NtResetEvent = NtResetEvent@8 NtRestoreKey@12 -NtRestoreKey = NtRestoreKey@12 NtResumeThread@8 -NtResumeThread = NtResumeThread@8 NtSaveKey@8 -NtSaveKey = NtSaveKey@8 NtSendWaitReplyChannel@16 -NtSendWaitReplyChannel = NtSendWaitReplyChannel@16 NtSetContextChannel@4 -NtSetContextChannel = NtSetContextChannel@4 NtSetContextThread@8 -NtSetContextThread = NtSetContextThread@8 NtSetDefaultHardErrorPort@4 -NtSetDefaultHardErrorPort = NtSetDefaultHardErrorPort@4 NtSetDefaultLocale@8 -NtSetDefaultLocale = NtSetDefaultLocale@8 NtSetEaFile@16 -NtSetEaFile = NtSetEaFile@16 NtSetEvent@8 -NtSetEvent = NtSetEvent@8 NtSetHighEventPair@4 -NtSetHighEventPair = NtSetHighEventPair@4 NtSetHighWaitLowEventPair@4 -NtSetHighWaitLowEventPair = NtSetHighWaitLowEventPair@4 NtSetInformationFile@20 -NtSetInformationFile = NtSetInformationFile@20 NtSetInformationKey@16 -NtSetInformationKey = NtSetInformationKey@16 NtSetInformationObject@16 -NtSetInformationObject = NtSetInformationObject@16 NtSetInformationProcess@16 -NtSetInformationProcess = NtSetInformationProcess@16 NtSetInformationThread@16 -NtSetInformationThread = NtSetInformationThread@16 NtSetInformationToken@16 -NtSetInformationToken = NtSetInformationToken@16 NtSetIntervalProfile@8 -NtSetIntervalProfile = NtSetIntervalProfile@8 NtSetIoCompletion@20 -NtSetIoCompletion = NtSetIoCompletion@20 NtSetLdtEntries@24 -NtSetLdtEntries = NtSetLdtEntries@24 NtSetLowEventPair@4 -NtSetLowEventPair = NtSetLowEventPair@4 NtSetLowWaitHighEventPair@4 -NtSetLowWaitHighEventPair = NtSetLowWaitHighEventPair@4 NtSetSecurityObject@12 -NtSetSecurityObject = NtSetSecurityObject@12 NtSetSystemEnvironmentValue@8 -NtSetSystemEnvironmentValue = NtSetSystemEnvironmentValue@8 NtSetSystemInformation@12 -NtSetSystemInformation = NtSetSystemInformation@12 NtSetSystemPowerState@12 -NtSetSystemPowerState = NtSetSystemPowerState@12 NtSetSystemTime@8 -NtSetSystemTime = NtSetSystemTime@8 NtSetTimer@28 -NtSetTimer = NtSetTimer@28 NtSetTimerResolution@12 -NtSetTimerResolution = NtSetTimerResolution@12 NtSetValueKey@24 -NtSetValueKey = NtSetValueKey@24 NtSetVolumeInformationFile@20 -NtSetVolumeInformationFile = NtSetVolumeInformationFile@20 NtShutdownSystem@4 -NtShutdownSystem = NtShutdownSystem@4 NtSignalAndWaitForSingleObject@16 -NtSignalAndWaitForSingleObject = NtSignalAndWaitForSingleObject@16 NtStartProfile@4 -NtStartProfile = NtStartProfile@4 NtStopProfile@4 -NtStopProfile = NtStopProfile@4 NtSuspendThread@8 -NtSuspendThread = NtSuspendThread@8 NtSystemDebugControl@24 -NtSystemDebugControl = NtSystemDebugControl@24 NtTerminateProcess@8 -NtTerminateProcess = NtTerminateProcess@8 NtTerminateThread@8 -NtTerminateThread = NtTerminateThread@8 NtTestAlert@0 -NtTestAlert = NtTestAlert@0 NtUnloadDriver@4 -NtUnloadDriver = NtUnloadDriver@4 NtUnloadKey@4 -NtUnloadKey = NtUnloadKey@4 NtUnlockFile@20 -NtUnlockFile = NtUnlockFile@20 NtUnlockVirtualMemory@16 -NtUnlockVirtualMemory = NtUnlockVirtualMemory@16 NtUnmapViewOfSection@8 -NtUnmapViewOfSection = NtUnmapViewOfSection@8 NtVdmControl@8 -NtVdmControl = NtVdmControl@8 NtWaitForMultipleObjects@20 -NtWaitForMultipleObjects = NtWaitForMultipleObjects@20 NtWaitForSingleObject@12 -NtWaitForSingleObject = NtWaitForSingleObject@12 NtWaitHighEventPair@4 -NtWaitHighEventPair = NtWaitHighEventPair@4 NtWaitLowEventPair@4 -NtWaitLowEventPair = NtWaitLowEventPair@4 NtWriteFile@36 -NtWriteFile = NtWriteFile@36 NtWriteFileGather@36 -NtWriteFileGather = NtWriteFileGather@36 NtWriteRequestData@24 -NtWriteRequestData = NtWriteRequestData@24 NtWriteVirtualMemory@20 -NtWriteVirtualMemory = NtWriteVirtualMemory@20 NtW32Call@20 -NtW32Call = NtW32Call@20 NtYieldExecution@0 -NtYieldExecution = NtYieldExecution@0 ZwAcceptConnectPort@24 -ZwAcceptConnectPort = ZwAcceptConnectPort@24 ZwAccessCheck@32 -ZwAccessCheck = ZwAccessCheck@32 ZwAccessCheckAndAuditAlarm@44 -ZwAccessCheckAndAuditAlarm = ZwAccessCheckAndAuditAlarm@44 ZwAddAtom@8 -ZwAddAtom = ZwAddAtom@8 ZwAdjustGroupsToken@24 -ZwAdjustGroupsToken = ZwAdjustGroupsToken@24 ZwAdjustPrivilegesToken@24 -ZwAdjustPrivilegesToken = ZwAdjustPrivilegesToken@24 ZwAlertResumeThread@8 -ZwAlertResumeThread = ZwAlertResumeThread@8 ZwAlertThread@4 -ZwAlertThread = ZwAlertThread@4 ZwAllocateLocallyUniqueId@4 -ZwAllocateLocallyUniqueId = ZwAllocateLocallyUniqueId@4 ZwAllocateUuids@12 -ZwAllocateUuids = ZwAllocateUuids@12 ZwAllocateVirtualMemory@24 -ZwAllocateVirtualMemory = ZwAllocateVirtualMemory@24 ZwCallbackReturn@12 -ZwCallbackReturn = ZwCallbackReturn@12 ZwCancelIoFile@8 -ZwCancelIoFile = ZwCancelIoFile@8 ZwCancelTimer@8 -ZwCancelTimer = ZwCancelTimer@8 ZwClearEvent@4 -ZwClearEvent = ZwClearEvent@4 ZwClose@4 -ZwClose = ZwClose@4 ZwCloseObjectAuditAlarm@12 -ZwCloseObjectAuditAlarm = ZwCloseObjectAuditAlarm@12 ZwCompleteConnectPort@4 -ZwCompleteConnectPort = ZwCompleteConnectPort@4 ZwConnectPort@32 -ZwConnectPort = ZwConnectPort@32 ZwContinue@8 -ZwContinue = ZwContinue@8 ZwCreateChannel@8 -ZwCreateChannel = ZwCreateChannel@8 ZwCreateDirectoryObject@12 -ZwCreateDirectoryObject = ZwCreateDirectoryObject@12 ZwCreateEvent@20 -ZwCreateEvent = ZwCreateEvent@20 ZwCreateEventPair@12 -ZwCreateEventPair = ZwCreateEventPair@12 ZwCreateFile@44 -ZwCreateFile = ZwCreateFile@44 ZwCreateIoCompletion@16 -ZwCreateIoCompletion = ZwCreateIoCompletion@16 ZwCreateKey@28 -ZwCreateKey = ZwCreateKey@28 ZwCreateMailslotFile@32 -ZwCreateMailslotFile = ZwCreateMailslotFile@32 ZwCreateMutant@16 -ZwCreateMutant = ZwCreateMutant@16 ZwCreateNamedPipeFile@56 -ZwCreateNamedPipeFile = ZwCreateNamedPipeFile@56 ZwCreatePagingFile@16 -ZwCreatePagingFile = ZwCreatePagingFile@16 ZwCreatePort@20 -ZwCreatePort = ZwCreatePort@20 ZwCreateProcess@32 -ZwCreateProcess = ZwCreateProcess@32 ZwCreateProfile@36 -ZwCreateProfile = ZwCreateProfile@36 ZwCreateSection@28 -ZwCreateSection = ZwCreateSection@28 ZwCreateSemaphore@20 -ZwCreateSemaphore = ZwCreateSemaphore@20 ZwCreateSymbolicLinkObject@16 -ZwCreateSymbolicLinkObject = ZwCreateSymbolicLinkObject@16 ZwCreateThread@32 -ZwCreateThread = ZwCreateThread@32 ZwCreateTimer@16 -ZwCreateTimer = ZwCreateTimer@16 ZwCreateToken@52 -ZwCreateToken = ZwCreateToken@52 ZwDelayExecution@8 -ZwDelayExecution = ZwDelayExecution@8 ZwDeleteAtom@4 -ZwDeleteAtom = ZwDeleteAtom@4 ZwDeleteFile@4 -ZwDeleteFile = ZwDeleteFile@4 ZwDeleteKey@4 -ZwDeleteKey = ZwDeleteKey@4 ZwDeleteObjectAuditAlarm@12 -ZwDeleteObjectAuditAlarm = ZwDeleteObjectAuditAlarm@12 ZwDeleteValueKey@8 -ZwDeleteValueKey = ZwDeleteValueKey@8 ZwDeviceIoControlFile@40 -ZwDeviceIoControlFile = ZwDeviceIoControlFile@40 ZwDisplayString@4 -ZwDisplayString = ZwDisplayString@4 ZwDuplicateObject@28 -ZwDuplicateObject = ZwDuplicateObject@28 ZwDuplicateToken@24 -ZwDuplicateToken = ZwDuplicateToken@24 ZwEnumerateKey@24 -ZwEnumerateKey = ZwEnumerateKey@24 ZwEnumerateValueKey@24 -ZwEnumerateValueKey = ZwEnumerateValueKey@24 ZwExtendSection@8 -ZwExtendSection = ZwExtendSection@8 ZwFindAtom@8 -ZwFindAtom = ZwFindAtom@8 ZwFlushBuffersFile@8 -ZwFlushBuffersFile = ZwFlushBuffersFile@8 ZwFlushInstructionCache@12 -ZwFlushInstructionCache = ZwFlushInstructionCache@12 ZwFlushKey@4 -ZwFlushKey = ZwFlushKey@4 ZwFlushVirtualMemory@16 -ZwFlushVirtualMemory = ZwFlushVirtualMemory@16 ZwFlushWriteBuffer@0 -ZwFlushWriteBuffer = ZwFlushWriteBuffer@0 ZwFreeVirtualMemory@16 -ZwFreeVirtualMemory = ZwFreeVirtualMemory@16 ZwFsControlFile@40 -ZwFsControlFile = ZwFsControlFile@40 ZwGetContextThread@8 -ZwGetContextThread = ZwGetContextThread@8 ZwGetPlugPlayEvent@16 -ZwGetPlugPlayEvent = ZwGetPlugPlayEvent@16 ZwGetTickCount@4 -ZwGetTickCount = ZwGetTickCount@4 ZwImpersonateClientOfPort@8 -ZwImpersonateClientOfPort = ZwImpersonateClientOfPort@8 ZwImpersonateThread@12 -ZwImpersonateThread = ZwImpersonateThread@12 ZwInitializeRegistry@4 -ZwInitializeRegistry = ZwInitializeRegistry@4 ZwListenChannel@8 -ZwListenChannel = ZwListenChannel@8 ZwListenPort@8 -ZwListenPort = ZwListenPort@8 ZwLoadDriver@4 -ZwLoadDriver = ZwLoadDriver@4 ZwLoadKey@8 -ZwLoadKey = ZwLoadKey@8 ZwLoadKey2@12 -ZwLoadKey2 = ZwLoadKey2@12 ZwLockFile@40 -ZwLockFile = ZwLockFile@40 ZwLockVirtualMemory@16 -ZwLockVirtualMemory = ZwLockVirtualMemory@16 ZwMakeTemporaryObject@4 -ZwMakeTemporaryObject = ZwMakeTemporaryObject@4 ZwMapViewOfSection@40 -ZwMapViewOfSection = ZwMapViewOfSection@40 ZwNotifyChangeDirectoryFile@36 -ZwNotifyChangeDirectoryFile = ZwNotifyChangeDirectoryFile@36 ZwNotifyChangeKey@40 -ZwNotifyChangeKey = ZwNotifyChangeKey@40 ZwOpenChannel@8 -ZwOpenChannel = ZwOpenChannel@8 ZwOpenDirectoryObject@12 -ZwOpenDirectoryObject = ZwOpenDirectoryObject@12 ZwOpenEvent@12 -ZwOpenEvent = ZwOpenEvent@12 ZwOpenEventPair@12 -ZwOpenEventPair = ZwOpenEventPair@12 ZwOpenFile@24 -ZwOpenFile = ZwOpenFile@24 ZwOpenIoCompletion@12 -ZwOpenIoCompletion = ZwOpenIoCompletion@12 ZwOpenKey@12 -ZwOpenKey = ZwOpenKey@12 ZwOpenMutant@12 -ZwOpenMutant = ZwOpenMutant@12 ZwOpenObjectAuditAlarm@48 -ZwOpenObjectAuditAlarm = ZwOpenObjectAuditAlarm@48 ZwOpenProcess@16 -ZwOpenProcess = ZwOpenProcess@16 ZwOpenProcessToken@12 -ZwOpenProcessToken = ZwOpenProcessToken@12 ZwOpenSection@12 -ZwOpenSection = ZwOpenSection@12 ZwOpenSemaphore@12 -ZwOpenSemaphore = ZwOpenSemaphore@12 ZwOpenSymbolicLinkObject@12 -ZwOpenSymbolicLinkObject = ZwOpenSymbolicLinkObject@12 ZwOpenThread@16 -ZwOpenThread = ZwOpenThread@16 ZwOpenThreadToken@16 -ZwOpenThreadToken = ZwOpenThreadToken@16 ZwOpenTimer@12 -ZwOpenTimer = ZwOpenTimer@12 ZwPlugPlayControl@16 -ZwPlugPlayControl = ZwPlugPlayControl@16 ZwPrivilegeCheck@12 -ZwPrivilegeCheck = ZwPrivilegeCheck@12 ZwPrivilegedServiceAuditAlarm@20 -ZwPrivilegedServiceAuditAlarm = ZwPrivilegedServiceAuditAlarm@20 ZwPrivilegeObjectAuditAlarm@24 -ZwPrivilegeObjectAuditAlarm = ZwPrivilegeObjectAuditAlarm@24 ZwProtectVirtualMemory@20 -ZwProtectVirtualMemory = ZwProtectVirtualMemory@20 ZwPulseEvent@8 -ZwPulseEvent = ZwPulseEvent@8 ZwQueueApcThread@20 -ZwQueueApcThread = ZwQueueApcThread@20 ZwQueryInformationAtom@20 -ZwQueryInformationAtom = ZwQueryInformationAtom@20 ZwQueryAttributesFile@8 -ZwQueryAttributesFile = ZwQueryAttributesFile@8 ZwQueryDefaultLocale@8 -ZwQueryDefaultLocale = ZwQueryDefaultLocale@8 ZwQueryDirectoryFile@44 -ZwQueryDirectoryFile = ZwQueryDirectoryFile@44 ZwQueryDirectoryObject@28 -ZwQueryDirectoryObject = ZwQueryDirectoryObject@28 ZwQueryEaFile@36 -ZwQueryEaFile = ZwQueryEaFile@36 ZwQueryEvent@20 -ZwQueryEvent = ZwQueryEvent@20 ZwQueryFullAttributesFile@8 -ZwQueryFullAttributesFile = ZwQueryFullAttributesFile@8 ZwQueryInformationFile@20 -ZwQueryInformationFile = ZwQueryInformationFile@20 ZwQueryInformationPort@20 -ZwQueryInformationPort = ZwQueryInformationPort@20 ZwQueryInformationProcess@20 -ZwQueryInformationProcess = ZwQueryInformationProcess@20 ZwQueryInformationThread@20 -ZwQueryInformationThread = ZwQueryInformationThread@20 ZwQueryInformationToken@20 -ZwQueryInformationToken = ZwQueryInformationToken@20 ZwQueryIntervalProfile@8 -ZwQueryIntervalProfile = ZwQueryIntervalProfile@8 ZwQueryIoCompletion@20 -ZwQueryIoCompletion = ZwQueryIoCompletion@20 ZwQueryKey@20 -ZwQueryKey = ZwQueryKey@20 ZwQueryMultipleValueKey@24 -ZwQueryMultipleValueKey = ZwQueryMultipleValueKey@24 ZwQueryMutant@20 -ZwQueryMutant = ZwQueryMutant@20 ZwQueryObject@20 -ZwQueryObject = ZwQueryObject@20 ZwQueryOleDirectoryFile@44 -ZwQueryOleDirectoryFile = ZwQueryOleDirectoryFile@44 ZwQueryPerformanceCounter@8 -ZwQueryPerformanceCounter = ZwQueryPerformanceCounter@8 ZwQuerySection@20 -ZwQuerySection = ZwQuerySection@20 ZwQuerySecurityObject@20 -ZwQuerySecurityObject = ZwQuerySecurityObject@20 ZwQuerySemaphore@20 -ZwQuerySemaphore = ZwQuerySemaphore@20 ZwQuerySymbolicLinkObject@12 -ZwQuerySymbolicLinkObject = ZwQuerySymbolicLinkObject@12 ZwQuerySystemEnvironmentValue@16 -ZwQuerySystemEnvironmentValue = ZwQuerySystemEnvironmentValue@16 ZwQuerySystemInformation@16 -ZwQuerySystemInformation = ZwQuerySystemInformation@16 ZwQuerySystemTime@4 -ZwQuerySystemTime = ZwQuerySystemTime@4 ZwQueryTimer@20 -ZwQueryTimer = ZwQueryTimer@20 ZwQueryTimerResolution@12 -ZwQueryTimerResolution = ZwQueryTimerResolution@12 ZwQueryValueKey@24 -ZwQueryValueKey = ZwQueryValueKey@24 ZwQueryVirtualMemory@24 -ZwQueryVirtualMemory = ZwQueryVirtualMemory@24 ZwQueryVolumeInformationFile@20 -ZwQueryVolumeInformationFile = ZwQueryVolumeInformationFile@20 ZwRaiseException@12 -ZwRaiseException = ZwRaiseException@12 ZwRaiseHardError@24 -ZwRaiseHardError = ZwRaiseHardError@24 ZwReadFile@36 -ZwReadFile = ZwReadFile@36 ZwReadFileScatter@36 -ZwReadFileScatter = ZwReadFileScatter@36 ZwReadRequestData@24 -ZwReadRequestData = ZwReadRequestData@24 ZwReadVirtualMemory@20 -ZwReadVirtualMemory = ZwReadVirtualMemory@20 ZwRegisterThreadTerminatePort@4 -ZwRegisterThreadTerminatePort = ZwRegisterThreadTerminatePort@4 ZwReleaseMutant@8 -ZwReleaseMutant = ZwReleaseMutant@8 ZwReleaseSemaphore@12 -ZwReleaseSemaphore = ZwReleaseSemaphore@12 ZwRemoveIoCompletion@20 -ZwRemoveIoCompletion = ZwRemoveIoCompletion@20 ZwReplaceKey@12 -ZwReplaceKey = ZwReplaceKey@12 ZwReplyPort@8 -ZwReplyPort = ZwReplyPort@8 ZwReplyWaitReceivePort@16 -ZwReplyWaitReceivePort = ZwReplyWaitReceivePort@16 ZwReplyWaitReplyPort@8 -ZwReplyWaitReplyPort = ZwReplyWaitReplyPort@8 ZwReplyWaitSendChannel@12 -ZwReplyWaitSendChannel = ZwReplyWaitSendChannel@12 ZwRequestPort@8 -ZwRequestPort = ZwRequestPort@8 ZwRequestWaitReplyPort@12 -ZwRequestWaitReplyPort = ZwRequestWaitReplyPort@12 ZwResetEvent@8 -ZwResetEvent = ZwResetEvent@8 ZwRestoreKey@12 -ZwRestoreKey = ZwRestoreKey@12 ZwResumeThread@8 -ZwResumeThread = ZwResumeThread@8 ZwSaveKey@8 -ZwSaveKey = ZwSaveKey@8 ZwSendWaitReplyChannel@16 -ZwSendWaitReplyChannel = ZwSendWaitReplyChannel@16 ZwSetContextChannel@4 -ZwSetContextChannel = ZwSetContextChannel@4 ZwSetContextThread@8 -ZwSetContextThread = ZwSetContextThread@8 ZwSetDefaultHardErrorPort@4 -ZwSetDefaultHardErrorPort = ZwSetDefaultHardErrorPort@4 ZwSetDefaultLocale@8 -ZwSetDefaultLocale = ZwSetDefaultLocale@8 ZwSetEaFile@16 -ZwSetEaFile = ZwSetEaFile@16 ZwSetEvent@8 -ZwSetEvent = ZwSetEvent@8 ZwSetHighEventPair@4 -ZwSetHighEventPair = ZwSetHighEventPair@4 ZwSetHighWaitLowEventPair@4 -ZwSetHighWaitLowEventPair = ZwSetHighWaitLowEventPair@4 ZwSetInformationFile@20 -ZwSetInformationFile = ZwSetInformationFile@20 ZwSetInformationKey@16 -ZwSetInformationKey = ZwSetInformationKey@16 ZwSetInformationObject@16 -ZwSetInformationObject = ZwSetInformationObject@16 ZwSetInformationProcess@16 -ZwSetInformationProcess = ZwSetInformationProcess@16 ZwSetInformationThread@16 -ZwSetInformationThread = ZwSetInformationThread@16 ZwSetInformationToken@16 -ZwSetInformationToken = ZwSetInformationToken@16 ZwSetIntervalProfile@8 -ZwSetIntervalProfile = ZwSetIntervalProfile@8 ZwSetIoCompletion@20 -ZwSetIoCompletion = ZwSetIoCompletion@20 ZwSetLdtEntries@24 -ZwSetLdtEntries = ZwSetLdtEntries@24 ZwSetLowEventPair@4 -ZwSetLowEventPair = ZwSetLowEventPair@4 ZwSetLowWaitHighEventPair@4 -ZwSetLowWaitHighEventPair = ZwSetLowWaitHighEventPair@4 ZwSetSecurityObject@12 -ZwSetSecurityObject = ZwSetSecurityObject@12 ZwSetSystemEnvironmentValue@8 -ZwSetSystemEnvironmentValue = ZwSetSystemEnvironmentValue@8 ZwSetSystemInformation@12 -ZwSetSystemInformation = ZwSetSystemInformation@12 ZwSetSystemPowerState@12 -ZwSetSystemPowerState = ZwSetSystemPowerState@12 ZwSetSystemTime@8 -ZwSetSystemTime = ZwSetSystemTime@8 ZwSetTimer@28 -ZwSetTimer = ZwSetTimer@28 ZwSetTimerResolution@12 -ZwSetTimerResolution = ZwSetTimerResolution@12 ZwSetValueKey@24 -ZwSetValueKey = ZwSetValueKey@24 ZwSetVolumeInformationFile@20 -ZwSetVolumeInformationFile = ZwSetVolumeInformationFile@20 ZwShutdownSystem@4 -ZwShutdownSystem = ZwShutdownSystem@4 ZwSignalAndWaitForSingleObject@16 -ZwSignalAndWaitForSingleObject = ZwSignalAndWaitForSingleObject@16 ZwStartProfile@4 -ZwStartProfile = ZwStartProfile@4 ZwStopProfile@4 -ZwStopProfile = ZwStopProfile@4 ZwSuspendThread@8 -ZwSuspendThread = ZwSuspendThread@8 ZwSystemDebugControl@24 -ZwSystemDebugControl = ZwSystemDebugControl@24 ZwTerminateProcess@8 -ZwTerminateProcess = ZwTerminateProcess@8 ZwTerminateThread@8 -ZwTerminateThread = ZwTerminateThread@8 ZwTestAlert@0 -ZwTestAlert = ZwTestAlert@0 ZwUnloadDriver@4 -ZwUnloadDriver = ZwUnloadDriver@4 ZwUnloadKey@4 -ZwUnloadKey = ZwUnloadKey@4 ZwUnlockFile@20 -ZwUnlockFile = ZwUnlockFile@20 ZwUnlockVirtualMemory@16 -ZwUnlockVirtualMemory = ZwUnlockVirtualMemory@16 ZwUnmapViewOfSection@8 -ZwUnmapViewOfSection = ZwUnmapViewOfSection@8 ZwVdmControl@8 -ZwVdmControl = ZwVdmControl@8 ZwWaitForMultipleObjects@20 -ZwWaitForMultipleObjects = ZwWaitForMultipleObjects@20 ZwWaitForSingleObject@12 -ZwWaitForSingleObject = ZwWaitForSingleObject@12 ZwWaitHighEventPair@4 -ZwWaitHighEventPair = ZwWaitHighEventPair@4 ZwWaitLowEventPair@4 -ZwWaitLowEventPair = ZwWaitLowEventPair@4 ZwWriteFile@36 -ZwWriteFile = ZwWriteFile@36 ZwWriteFileGather@36 -ZwWriteFileGather = ZwWriteFileGather@36 ZwWriteRequestData@24 -ZwWriteRequestData = ZwWriteRequestData@24 ZwWriteVirtualMemory@20 -ZwWriteVirtualMemory = ZwWriteVirtualMemory@20 ZwW32Call@20 -ZwW32Call = ZwW32Call@20 ZwYieldExecution@0 -ZwYieldExecution = ZwYieldExecution@0 RtlAllocateHeap@12 -RtlAllocateHeap = RtlAllocateHeap@12 RtlCreateHeap@24 -RtlCreateHeap = RtlCreateHeap@24 RtlCompactHeap@8 -RtlCompactHeap = RtlCompactHeap@8 RtlDestroyHeap@4 -RtlDestroyHeap = RtlDestroyHeap@4 RtlFreeHeap@12 -RtlFreeHeap = RtlFreeHeap@12 RtlGetProcessHeap@0 -RtlGetProcessHeap = RtlGetProcessHeap@0 RtlLockHeap@4 -RtlLockHeap = RtlLockHeap@4 RtlReAllocHeap@16 -RtlReAllocHeap = RtlReAllocHeap@16 RtlSizeHeap@12 -RtlSizeHeap = RtlSizeHeap@12 RtlUnlockHeap@4 -RtlUnlockHeap = RtlUnlockHeap@4 RtlValidateHeap@12 -RtlValidateHeap = RtlValidateHeap@12 RtlInitAnsiString RtlInitUnicodeString RtlLargeIntegerAdd diff --git a/reactos/lib/ntdll/def/ntdll.edf b/reactos/lib/ntdll/def/ntdll.edf new file mode 100644 index 00000000000..174f8737f8e --- /dev/null +++ b/reactos/lib/ntdll/def/ntdll.edf @@ -0,0 +1,489 @@ +EXPORTS +InitializeObjectAttributes +NtAcceptConnectPort=NtAcceptConnectPort@24 +NtAccessCheck=NtAccessCheck@32 +NtAccessCheckAndAuditAlarm=NtAccessCheckAndAuditAlarm@44 +NtAddAtom=NtAddAtom@8 +NtAdjustGroupsToken=NtAdjustGroupsToken@24 +NtAdjustPrivilegesToken=NtAdjustPrivilegesToken@24 +NtAlertResumeThread=NtAlertResumeThread@8 +NtAlertThread=NtAlertThread@4 +NtAllocateLocallyUniqueId=NtAllocateLocallyUniqueId@4 +NtAllocateUuids=NtAllocateUuids@12 +NtAllocateVirtualMemory=NtAllocateVirtualMemory@24 +NtCallbackReturn=NtCallbackReturn@12 +NtCancelIoFile=NtCancelIoFile@8 +NtCancelTimer=NtCancelTimer@8 +NtClearEvent=NtClearEvent@4 +NtClose=NtClose@4 +NtCloseObjectAuditAlarm=NtCloseObjectAuditAlarm@12 +NtCompleteConnectPort=NtCompleteConnectPort@4 +NtConnectPort=NtConnectPort@32 +NtContinue=NtContinue@8 +NtCreateChannel=NtCreateChannel@8 +NtCreateDirectoryObject=NtCreateDirectoryObject@12 +NtCreateEvent=NtCreateEvent@20 +NtCreateEventPair=NtCreateEventPair@12 +NtCreateFile=NtCreateFile@44 +NtCreateIoCompletion=NtCreateIoCompletion@16 +NtCreateKey=NtCreateKey@28 +NtCreateMailslotFile=NtCreateMailslotFile@32 +NtCreateMutant=NtCreateMutant@16 +NtCreateNamedPipeFile=NtCreateNamedPipeFile@56 +NtCreatePagingFile=NtCreatePagingFile@16 +NtCreatePort=NtCreatePort@20 +NtCreateProcess=NtCreateProcess@32 +NtCreateProfile=NtCreateProfile@36 +NtCreateSection=NtCreateSection@28 +NtCreateSemaphore=NtCreateSemaphore@20 +NtCreateSymbolicLinkObject=NtCreateSymbolicLinkObject@16 +NtCreateThread=NtCreateThread@32 +NtCreateTimer=NtCreateTimer@16 +NtCreateToken=NtCreateToken@52 +NtDelayExecution=NtDelayExecution@8 +NtDeleteAtom=NtDeleteAtom@4 +NtDeleteFile=NtDeleteFile@4 +NtDeleteKey=NtDeleteKey@4 +NtDeleteObjectAuditAlarm=NtDeleteObjectAuditAlarm@12 +NtDeleteValueKey=NtDeleteValueKey@8 +NtDeviceIoControlFile=NtDeviceIoControlFile@40 +NtDisplayString=NtDisplayString@4 +NtDuplicateObject=NtDuplicateObject@28 +NtDuplicateToken=NtDuplicateToken@24 +NtEnumerateKey=NtEnumerateKey@24 +NtEnumerateValueKey=NtEnumerateValueKey@24 +NtExtendSection=NtExtendSection@8 +NtFindAtom=NtFindAtom@8 +NtFlushBuffersFile=NtFlushBuffersFile@8 +NtFlushInstructionCache=NtFlushInstructionCache@12 +NtFlushKey=NtFlushKey@4 +NtFlushVirtualMemory=NtFlushVirtualMemory@16 +NtFlushWriteBuffer=NtFlushWriteBuffer@0 +NtFreeVirtualMemory=NtFreeVirtualMemory@16 +NtFsControlFile=NtFsControlFile@40 +NtGetContextThread=NtGetContextThread@8 +NtGetPlugPlayEvent=NtGetPlugPlayEvent@16 +NtGetTickCount=NtGetTickCount@4 +NtImpersonateClientOfPort=NtImpersonateClientOfPort@8 +NtImpersonateThread=NtImpersonateThread@12 +NtInitializeRegistry=NtInitializeRegistry@4 +NtListenChannel=NtListenChannel@8 +NtListenPort=NtListenPort@8 +NtLoadDriver=NtLoadDriver@4 +NtLoadKey=NtLoadKey@8 +NtLoadKey2=NtLoadKey2@12 +NtLockFile=NtLockFile@40 +NtLockVirtualMemory=NtLockVirtualMemory@16 +NtMakeTemporaryObject=NtMakeTemporaryObject@4 +NtMapViewOfSection=NtMapViewOfSection@40 +NtNotifyChangeDirectoryFile=NtNotifyChangeDirectoryFile@36 +NtNotifyChangeKey=NtNotifyChangeKey@40 +NtOpenChannel=NtOpenChannel@8 +NtOpenDirectoryObject=NtOpenDirectoryObject@12 +NtOpenEvent=NtOpenEvent@12 +NtOpenEventPair=NtOpenEventPair@12 +NtOpenFile=NtOpenFile@24 +NtOpenIoCompletion=NtOpenIoCompletion@12 +NtOpenKey=NtOpenKey@12 +NtOpenMutant=NtOpenMutant@12 +NtOpenObjectAuditAlarm=NtOpenObjectAuditAlarm@48 +NtOpenProcess=NtOpenProcess@16 +NtOpenProcessToken=NtOpenProcessToken@12 +NtOpenSection=NtOpenSection@12 +NtOpenSemaphore=NtOpenSemaphore@12 +NtOpenSymbolicLinkObject=NtOpenSymbolicLinkObject@12 +NtOpenThread=NtOpenThread@16 +NtOpenThreadToken=NtOpenThreadToken@16 +NtOpenTimer=NtOpenTimer@12 +NtPlugPlayControl=NtPlugPlayControl@16 +NtPrivilegeCheck=NtPrivilegeCheck@12 +NtPrivilegedServiceAuditAlarm=NtPrivilegedServiceAuditAlarm@20 +NtPrivilegeObjectAuditAlarm=NtPrivilegeObjectAuditAlarm@24 +NtProtectVirtualMemory=NtProtectVirtualMemory@20 +NtPulseEvent=NtPulseEvent@8 +NtQueueApcThread=NtQueueApcThread@20 +NtQueryAttributesFile=NtQueryAttributesFile@8 +NtQueryDefaultLocale=NtQueryDefaultLocale@8 +NtQueryDirectoryFile=NtQueryDirectoryFile@44 +NtQueryDirectoryObject=NtQueryDirectoryObject@28 +NtQueryEaFile=NtQueryEaFile@36 +NtQueryEvent=NtQueryEvent@20 +NtQueryFullAttributesFile=NtQueryFullAttributesFile@8 +NtQueryInformationAtom=NtQueryInformationAtom@20 +NtQueryInformationFile=NtQueryInformationFile@20 +NtQueryInformationPort=NtQueryInformationPort@20 +NtQueryInformationProcess=NtQueryInformationProcess@20 +NtQueryInformationThread=NtQueryInformationThread@20 +NtQueryInformationToken=NtQueryInformationToken@20 +NtQueryIoCompletion=NtQueryIoCompletion@20 +NtQueryIntervalProfile=NtQueryIntervalProfile@8 +NtQueryKey=NtQueryKey@20 +NtQueryMultipleValueKey=NtQueryMultipleValueKey@24 +NtQueryMutant=NtQueryMutant@20 +NtQueryObject=NtQueryObject@20 +NtQueryOleDirectoryFile=NtQueryOleDirectoryFile@44 +NtQueryPerformanceCounter=NtQueryPerformanceCounter@8 +NtQuerySection=NtQuerySection@20 +NtQuerySecurityObject=NtQuerySecurityObject@20 +NtQuerySemaphore=NtQuerySemaphore@20 +NtQuerySymbolicLinkObject=NtQuerySymbolicLinkObject@12 +NtQuerySystemEnvironmentValue=NtQuerySystemEnvironmentValue@16 +NtQuerySystemInformation=NtQuerySystemInformation@16 +NtQuerySystemTime=NtQuerySystemTime@4 +NtQueryTimer=NtQueryTimer@20 +NtQueryTimerResolution=NtQueryTimerResolution@12 +NtQueryValueKey=NtQueryValueKey@24 +NtQueryVirtualMemory=NtQueryVirtualMemory@24 +NtQueryVolumeInformationFile=NtQueryVolumeInformationFile@20 +NtRaiseException=NtRaiseException@12 +NtRaiseHardError=NtRaiseHardError@24 +NtReadFile=NtReadFile@36 +NtReadFileScatter=NtReadFileScatter@36 +NtReadRequestData=NtReadRequestData@24 +NtReadVirtualMemory=NtReadVirtualMemory@20 +NtRegisterThreadTerminatePort=NtRegisterThreadTerminatePort@4 +NtReleaseMutant=NtReleaseMutant@8 +NtReleaseSemaphore=NtReleaseSemaphore@12 +NtRemoveIoCompletion=NtRemoveIoCompletion@20 +NtReplaceKey=NtReplaceKey@12 +NtReplyPort=NtReplyPort@8 +NtReplyWaitReceivePort=NtReplyWaitReceivePort@16 +NtReplyWaitReplyPort=NtReplyWaitReplyPort@8 +NtReplyWaitSendChannel=NtReplyWaitSendChannel@12 +NtRequestPort=NtRequestPort@8 +NtRequestWaitReplyPort=NtRequestWaitReplyPort@12 +NtResetEvent=NtResetEvent@8 +NtRestoreKey=NtRestoreKey@12 +NtResumeThread=NtResumeThread@8 +NtSaveKey=NtSaveKey@8 +NtSendWaitReplyChannel=NtSendWaitReplyChannel@16 +NtSetContextChannel=NtSetContextChannel@4 +NtSetContextThread=NtSetContextThread@8 +NtSetDefaultHardErrorPort=NtSetDefaultHardErrorPort@4 +NtSetDefaultLocale=NtSetDefaultLocale@8 +NtSetEaFile=NtSetEaFile@16 +NtSetEvent=NtSetEvent@8 +NtSetHighEventPair=NtSetHighEventPair@4 +NtSetHighWaitLowEventPair=NtSetHighWaitLowEventPair@4 +NtSetInformationFile=NtSetInformationFile@20 +NtSetInformationKey=NtSetInformationKey@16 +NtSetInformationObject=NtSetInformationObject@16 +NtSetInformationProcess=NtSetInformationProcess@16 +NtSetInformationThread=NtSetInformationThread@16 +NtSetInformationToken=NtSetInformationToken@16 +NtSetIntervalProfile=NtSetIntervalProfile@8 +NtSetIoCompletion=NtSetIoCompletion@20 +NtSetLdtEntries=NtSetLdtEntries@24 +NtSetLowEventPair=NtSetLowEventPair@4 +NtSetLowWaitHighEventPair=NtSetLowWaitHighEventPair@4 +NtSetSecurityObject=NtSetSecurityObject@12 +NtSetSystemEnvironmentValue=NtSetSystemEnvironmentValue@8 +NtSetSystemInformation=NtSetSystemInformation@12 +NtSetSystemPowerState=NtSetSystemPowerState@12 +NtSetSystemTime=NtSetSystemTime@8 +NtSetTimer=NtSetTimer@28 +NtSetTimerResolution=NtSetTimerResolution@12 +NtSetValueKey=NtSetValueKey@24 +NtSetVolumeInformationFile=NtSetVolumeInformationFile@20 +NtShutdownSystem=NtShutdownSystem@4 +NtSignalAndWaitForSingleObject=NtSignalAndWaitForSingleObject@16 +NtStartProfile=NtStartProfile@4 +NtStopProfile=NtStopProfile@4 +NtSuspendThread=NtSuspendThread@8 +NtSystemDebugControl=NtSystemDebugControl@24 +NtTerminateProcess=NtTerminateProcess@8 +NtTerminateThread=NtTerminateThread@8 +NtTestAlert=NtTestAlert@0 +NtUnloadDriver=NtUnloadDriver@4 +NtUnloadKey=NtUnloadKey@4 +NtUnlockFile=NtUnlockFile@20 +NtUnlockVirtualMemory=NtUnlockVirtualMemory@16 +NtUnmapViewOfSection=NtUnmapViewOfSection@8 +NtVdmControl=NtVdmControl@8 +NtWaitForMultipleObjects=NtWaitForMultipleObjects@20 +NtWaitForSingleObject=NtWaitForSingleObject@12 +NtWaitHighEventPair=NtWaitHighEventPair@4 +NtWaitLowEventPair=NtWaitLowEventPair@4 +NtWriteFile=NtWriteFile@36 +NtWriteFileGather=NtWriteFileGather@36 +NtWriteRequestData=NtWriteRequestData@24 +NtWriteVirtualMemory=NtWriteVirtualMemory@20 +NtW32Call=NtW32Call@20 +NtYieldExecution=NtYieldExecution@0 +ZwAcceptConnectPort=ZwAcceptConnectPort@24 +ZwAccessCheck=ZwAccessCheck@32 +ZwAccessCheckAndAuditAlarm=ZwAccessCheckAndAuditAlarm@44 +ZwAddAtom=ZwAddAtom@8 +ZwAdjustGroupsToken=ZwAdjustGroupsToken@24 +ZwAdjustPrivilegesToken=ZwAdjustPrivilegesToken@24 +ZwAlertResumeThread=ZwAlertResumeThread@8 +ZwAlertThread=ZwAlertThread@4 +ZwAllocateLocallyUniqueId=ZwAllocateLocallyUniqueId@4 +ZwAllocateUuids=ZwAllocateUuids@12 +ZwAllocateVirtualMemory=ZwAllocateVirtualMemory@24 +ZwCallbackReturn=ZwCallbackReturn@12 +ZwCancelIoFile=ZwCancelIoFile@8 +ZwCancelTimer=ZwCancelTimer@8 +ZwClearEvent=ZwClearEvent@4 +ZwClose=ZwClose@4 +ZwCloseObjectAuditAlarm=ZwCloseObjectAuditAlarm@12 +ZwCompleteConnectPort=ZwCompleteConnectPort@4 +ZwConnectPort=ZwConnectPort@32 +ZwContinue=ZwContinue@8 +ZwCreateChannel=ZwCreateChannel@8 +ZwCreateDirectoryObject=ZwCreateDirectoryObject@12 +ZwCreateEvent=ZwCreateEvent@20 +ZwCreateEventPair=ZwCreateEventPair@12 +ZwCreateFile=ZwCreateFile@44 +ZwCreateIoCompletion=ZwCreateIoCompletion@16 +ZwCreateKey=ZwCreateKey@28 +ZwCreateMailslotFile=ZwCreateMailslotFile@32 +ZwCreateMutant=ZwCreateMutant@16 +ZwCreateNamedPipeFile=ZwCreateNamedPipeFile@56 +ZwCreatePagingFile=ZwCreatePagingFile@16 +ZwCreatePort=ZwCreatePort@20 +ZwCreateProcess=ZwCreateProcess@32 +ZwCreateProfile=ZwCreateProfile@36 +ZwCreateSection=ZwCreateSection@28 +ZwCreateSemaphore=ZwCreateSemaphore@20 +ZwCreateSymbolicLinkObject=ZwCreateSymbolicLinkObject@16 +ZwCreateThread=ZwCreateThread@32 +ZwCreateTimer=ZwCreateTimer@16 +ZwCreateToken=ZwCreateToken@52 +ZwDelayExecution=ZwDelayExecution@8 +ZwDeleteAtom=ZwDeleteAtom@4 +ZwDeleteFile=ZwDeleteFile@4 +ZwDeleteKey=ZwDeleteKey@4 +ZwDeleteObjectAuditAlarm=ZwDeleteObjectAuditAlarm@12 +ZwDeleteValueKey=ZwDeleteValueKey@8 +ZwDeviceIoControlFile=ZwDeviceIoControlFile@40 +ZwDisplayString=ZwDisplayString@4 +ZwDuplicateObject=ZwDuplicateObject@28 +ZwDuplicateToken=ZwDuplicateToken@24 +ZwEnumerateKey=ZwEnumerateKey@24 +ZwEnumerateValueKey=ZwEnumerateValueKey@24 +ZwExtendSection=ZwExtendSection@8 +ZwFindAtom=ZwFindAtom@8 +ZwFlushBuffersFile=ZwFlushBuffersFile@8 +ZwFlushInstructionCache=ZwFlushInstructionCache@12 +ZwFlushKey=ZwFlushKey@4 +ZwFlushVirtualMemory=ZwFlushVirtualMemory@16 +ZwFlushWriteBuffer=ZwFlushWriteBuffer@0 +ZwFreeVirtualMemory=ZwFreeVirtualMemory@16 +ZwFsControlFile=ZwFsControlFile@40 +ZwGetContextThread=ZwGetContextThread@8 +ZwGetPlugPlayEvent=ZwGetPlugPlayEvent@16 +ZwGetTickCount=ZwGetTickCount@4 +ZwImpersonateClientOfPort=ZwImpersonateClientOfPort@8 +ZwImpersonateThread=ZwImpersonateThread@12 +ZwInitializeRegistry=ZwInitializeRegistry@4 +ZwListenChannel=ZwListenChannel@8 +ZwListenPort=ZwListenPort@8 +ZwLoadDriver=ZwLoadDriver@4 +ZwLoadKey=ZwLoadKey@8 +ZwLoadKey2=ZwLoadKey2@12 +ZwLockFile=ZwLockFile@40 +ZwLockVirtualMemory=ZwLockVirtualMemory@16 +ZwMakeTemporaryObject=ZwMakeTemporaryObject@4 +ZwMapViewOfSection=ZwMapViewOfSection@40 +ZwNotifyChangeDirectoryFile=ZwNotifyChangeDirectoryFile@36 +ZwNotifyChangeKey=ZwNotifyChangeKey@40 +ZwOpenChannel=ZwOpenChannel@8 +ZwOpenDirectoryObject=ZwOpenDirectoryObject@12 +ZwOpenEvent=ZwOpenEvent@12 +ZwOpenEventPair=ZwOpenEventPair@12 +ZwOpenFile=ZwOpenFile@24 +ZwOpenIoCompletion=ZwOpenIoCompletion@12 +ZwOpenKey=ZwOpenKey@12 +ZwOpenMutant=ZwOpenMutant@12 +ZwOpenObjectAuditAlarm=ZwOpenObjectAuditAlarm@48 +ZwOpenProcess=ZwOpenProcess@16 +ZwOpenProcessToken=ZwOpenProcessToken@12 +ZwOpenSection=ZwOpenSection@12 +ZwOpenSemaphore=ZwOpenSemaphore@12 +ZwOpenSymbolicLinkObject=ZwOpenSymbolicLinkObject@12 +ZwOpenThread=ZwOpenThread@16 +ZwOpenThreadToken=ZwOpenThreadToken@16 +ZwOpenTimer=ZwOpenTimer@12 +ZwPlugPlayControl=ZwPlugPlayControl@16 +ZwPrivilegeCheck=ZwPrivilegeCheck@12 +ZwPrivilegedServiceAuditAlarm=ZwPrivilegedServiceAuditAlarm@20 +ZwPrivilegeObjectAuditAlarm=ZwPrivilegeObjectAuditAlarm@24 +ZwProtectVirtualMemory=ZwProtectVirtualMemory@20 +ZwPulseEvent=ZwPulseEvent@8 +ZwQueueApcThread=ZwQueueApcThread@20 +ZwQueryInformationAtom=ZwQueryInformationAtom@20 +ZwQueryAttributesFile=ZwQueryAttributesFile@8 +ZwQueryDefaultLocale=ZwQueryDefaultLocale@8 +ZwQueryDirectoryFile=ZwQueryDirectoryFile@44 +ZwQueryDirectoryObject=ZwQueryDirectoryObject@28 +ZwQueryEaFile=ZwQueryEaFile@36 +ZwQueryEvent=ZwQueryEvent@20 +ZwQueryFullAttributesFile=ZwQueryFullAttributesFile@8 +ZwQueryInformationFile=ZwQueryInformationFile@20 +ZwQueryInformationPort=ZwQueryInformationPort@20 +ZwQueryInformationProcess=ZwQueryInformationProcess@20 +ZwQueryInformationThread=ZwQueryInformationThread@20 +ZwQueryInformationToken=ZwQueryInformationToken@20 +ZwQueryIntervalProfile=ZwQueryIntervalProfile@8 +ZwQueryIoCompletion=ZwQueryIoCompletion@20 +ZwQueryKey=ZwQueryKey@20 +ZwQueryMultipleValueKey=ZwQueryMultipleValueKey@24 +ZwQueryMutant=ZwQueryMutant@20 +ZwQueryObject=ZwQueryObject@20 +ZwQueryOleDirectoryFile=ZwQueryOleDirectoryFile@44 +ZwQueryPerformanceCounter=ZwQueryPerformanceCounter@8 +ZwQuerySection=ZwQuerySection@20 +ZwQuerySecurityObject=ZwQuerySecurityObject@20 +ZwQuerySemaphore=ZwQuerySemaphore@20 +ZwQuerySymbolicLinkObject=ZwQuerySymbolicLinkObject@12 +ZwQuerySystemEnvironmentValue=ZwQuerySystemEnvironmentValue@16 +ZwQuerySystemInformation=ZwQuerySystemInformation@16 +ZwQuerySystemTime=ZwQuerySystemTime@4 +ZwQueryTimer=ZwQueryTimer@20 +ZwQueryTimerResolution=ZwQueryTimerResolution@12 +ZwQueryValueKey=ZwQueryValueKey@24 +ZwQueryVirtualMemory=ZwQueryVirtualMemory@24 +ZwQueryVolumeInformationFile=ZwQueryVolumeInformationFile@20 +ZwRaiseException=ZwRaiseException@12 +ZwRaiseHardError=ZwRaiseHardError@24 +ZwReadFile=ZwReadFile@36 +ZwReadFileScatter=ZwReadFileScatter@36 +ZwReadRequestData=ZwReadRequestData@24 +ZwReadVirtualMemory=ZwReadVirtualMemory@20 +ZwRegisterThreadTerminatePort=ZwRegisterThreadTerminatePort@4 +ZwReleaseMutant=ZwReleaseMutant@8 +ZwReleaseSemaphore=ZwReleaseSemaphore@12 +ZwRemoveIoCompletion=ZwRemoveIoCompletion@20 +ZwReplaceKey=ZwReplaceKey@12 +ZwReplyPort=ZwReplyPort@8 +ZwReplyWaitReceivePort=ZwReplyWaitReceivePort@16 +ZwReplyWaitReplyPort=ZwReplyWaitReplyPort@8 +ZwReplyWaitSendChannel=ZwReplyWaitSendChannel@12 +ZwRequestPort=ZwRequestPort@8 +ZwRequestWaitReplyPort=ZwRequestWaitReplyPort@12 +ZwResetEvent=ZwResetEvent@8 +ZwRestoreKey=ZwRestoreKey@12 +ZwResumeThread=ZwResumeThread@8 +ZwSaveKey=ZwSaveKey@8 +ZwSendWaitReplyChannel=ZwSendWaitReplyChannel@16 +ZwSetContextChannel=ZwSetContextChannel@4 +ZwSetContextThread=ZwSetContextThread@8 +ZwSetDefaultHardErrorPort=ZwSetDefaultHardErrorPort@4 +ZwSetDefaultLocale=ZwSetDefaultLocale@8 +ZwSetEaFile=ZwSetEaFile@16 +ZwSetEvent=ZwSetEvent@8 +ZwSetHighEventPair=ZwSetHighEventPair@4 +ZwSetHighWaitLowEventPair=ZwSetHighWaitLowEventPair@4 +ZwSetInformationFile=ZwSetInformationFile@20 +ZwSetInformationKey=ZwSetInformationKey@16 +ZwSetInformationObject=ZwSetInformationObject@16 +ZwSetInformationProcess=ZwSetInformationProcess@16 +ZwSetInformationThread=ZwSetInformationThread@16 +ZwSetInformationToken=ZwSetInformationToken@16 +ZwSetIntervalProfile=ZwSetIntervalProfile@8 +ZwSetIoCompletion=ZwSetIoCompletion@20 +ZwSetLdtEntries=ZwSetLdtEntries@24 +ZwSetLowEventPair=ZwSetLowEventPair@4 +ZwSetLowWaitHighEventPair=ZwSetLowWaitHighEventPair@4 +ZwSetSecurityObject=ZwSetSecurityObject@12 +ZwSetSystemEnvironmentValue=ZwSetSystemEnvironmentValue@8 +ZwSetSystemInformation=ZwSetSystemInformation@12 +ZwSetSystemPowerState=ZwSetSystemPowerState@12 +ZwSetSystemTime=ZwSetSystemTime@8 +ZwSetTimer=ZwSetTimer@28 +ZwSetTimerResolution=ZwSetTimerResolution@12 +ZwSetValueKey=ZwSetValueKey@24 +ZwSetVolumeInformationFile=ZwSetVolumeInformationFile@20 +ZwShutdownSystem=ZwShutdownSystem@4 +ZwSignalAndWaitForSingleObject=ZwSignalAndWaitForSingleObject@16 +ZwStartProfile=ZwStartProfile@4 +ZwStopProfile=ZwStopProfile@4 +ZwSuspendThread=ZwSuspendThread@8 +ZwSystemDebugControl=ZwSystemDebugControl@24 +ZwTerminateProcess=ZwTerminateProcess@8 +ZwTerminateThread=ZwTerminateThread@8 +ZwTestAlert=ZwTestAlert@0 +ZwUnloadDriver=ZwUnloadDriver@4 +ZwUnloadKey=ZwUnloadKey@4 +ZwUnlockFile=ZwUnlockFile@20 +ZwUnlockVirtualMemory=ZwUnlockVirtualMemory@16 +ZwUnmapViewOfSection=ZwUnmapViewOfSection@8 +ZwVdmControl=ZwVdmControl@8 +ZwWaitForMultipleObjects=ZwWaitForMultipleObjects@20 +ZwWaitForSingleObject=ZwWaitForSingleObject@12 +ZwWaitHighEventPair=ZwWaitHighEventPair@4 +ZwWaitLowEventPair=ZwWaitLowEventPair@4 +ZwWriteFile=ZwWriteFile@36 +ZwWriteFileGather=ZwWriteFileGather@36 +ZwWriteRequestData=ZwWriteRequestData@24 +ZwWriteVirtualMemory=ZwWriteVirtualMemory@20 +ZwW32Call=ZwW32Call@20 +ZwYieldExecution=ZwYieldExecution@0 +RtlAllocateHeap=RtlAllocateHeap@12 +RtlCreateHeap=RtlCreateHeap@24 +RtlCompactHeap=RtlCompactHeap@8 +RtlDestroyHeap=RtlDestroyHeap@4 +RtlFreeHeap=RtlFreeHeap@12 +RtlGetProcessHeap=RtlGetProcessHeap@0 +RtlLockHeap=RtlLockHeap@4 +RtlReAllocHeap=RtlReAllocHeap@16 +RtlSizeHeap=RtlSizeHeap@12 +RtlUnlockHeap=RtlUnlockHeap@4 +RtlValidateHeap=RtlValidateHeap@12 +RtlInitAnsiString +RtlInitUnicodeString +RtlLargeIntegerAdd +RtlLargeIntegerDivide +RtlEnlargedIntegerMultiply +RtlEnlargedUnsignedMultiply +RtlExtendedIntegerMultiply +_splitpath +_strcmpi +_stricmp +_strlwr +_strnicmp +_strupr +atoi +atol +isalpha +isalnum +iscntrl +isdigit +isgraph +isprint +ispunct +isspace +isupper +iswlower +memcpy +memmove +memset +sprintf +strcat +strchr +strcmp +strcpy +strcspn +strncat +strncmp +strncpy +strlen +strrchr +strstr +strtol +strtoul +tolower +toupper +towupper +wcscat +wcschr +wcscmp +wcscpy +wcsncpy +wcslen +wcsrchr +wcsicmp +wcsnicmp +vsprintf +LdrMapNTDllForProcess diff --git a/reactos/lib/ntdll/ldr/utils.c b/reactos/lib/ntdll/ldr/utils.c index 8d652f6fb54..af1f1a32bf7 100644 --- a/reactos/lib/ntdll/ldr/utils.c +++ b/reactos/lib/ntdll/ldr/utils.c @@ -1,4 +1,5 @@ -/* +/* $Id: utils.c,v 1.9 1999/07/17 23:10:24 ea Exp $ + * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * FILE: lib/ntdll/ldr/startup.c @@ -30,7 +31,7 @@ typedef WINBOOL STDCALL (*PDLLMAIN_FUNC)(HANDLE hInst, static NTSTATUS LdrLoadDll(PDLL* Dll, PCHAR Name) { - char fqname[255] = "\\??\\C:\\reactos\\system\\"; + char fqname[255] = "\\??\\C:\\reactos\\system32\\"; ANSI_STRING AnsiString; UNICODE_STRING UnicodeString; OBJECT_ATTRIBUTES FileObjectAttributes; diff --git a/reactos/lib/ntdll/makefile b/reactos/lib/ntdll/makefile index 4520ac1b24b..70b3e312090 100644 --- a/reactos/lib/ntdll/makefile +++ b/reactos/lib/ntdll/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.18 1999/07/16 23:37:04 rex Exp $ +# $Id: makefile,v 1.19 1999/07/17 23:10:21 ea Exp $ # # ReactOS Operating System # @@ -60,9 +60,8 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) def/ntdll.def $(DLLTOOL) \ --dllname $(TARGET).dll \ --def def/$(TARGET).def \ - --output-lib $(TARGET).a \ - --add-stdcall-alias \ - --kill-at + --kill-at \ + --output-lib $(TARGET).a $(CC) \ -specs=$(TARGET)_specs \ -mdll \ @@ -74,9 +73,7 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) def/ntdll.def --dllname $(TARGET).dll \ --base-file base.tmp \ --output-exp temp.exp \ - --def def/$(TARGET).def \ - --add-stdcall-alias \ - --kill-at + --def def/$(TARGET).edf - $(RM) base.tmp $(CC) \ -specs=$(TARGET)_specs \ diff --git a/reactos/lib/ntdll/rtl/unicode.c b/reactos/lib/ntdll/rtl/unicode.c index d8b15d80a45..fda52201f62 100644 --- a/reactos/lib/ntdll/rtl/unicode.c +++ b/reactos/lib/ntdll/rtl/unicode.c @@ -303,13 +303,21 @@ BOOLEAN RtlEqualUnicodeString(PUNICODE_STRING String1, PUNICODE_STRING String2, return TRUE; }; -VOID RtlFreeAnsiString(IN PANSI_STRING AnsiString) + +VOID +RtlFreeAnsiString(IN PANSI_STRING AnsiString) { + if (NULL == AnsiString) return; // ExFreePool(AnsiString->Buffer); }; -VOID RtlFreeUnicodeString(IN PUNICODE_STRING UnicodeString) + +VOID +RtlFreeUnicodeString ( + IN PUNICODE_STRING UnicodeString + ) { + if (NULL == UnicodeString) return; // ExFreePool(UnicodeString->Buffer); }; diff --git a/reactos/lib/user32/makefile_rex b/reactos/lib/user32/makefile_rex index 9c9ad739bb8..38ad5e22fe1 100644 --- a/reactos/lib/user32/makefile_rex +++ b/reactos/lib/user32/makefile_rex @@ -1,4 +1,4 @@ -# $Id: makefile_rex,v 1.5 1999/06/18 22:11:04 ea Exp $ +# $Id: makefile_rex,v 1.6 1999/07/17 23:10:25 ea Exp $ # # ReactOS Operating System # @@ -49,7 +49,6 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def --dllname $(TARGET).dll \ --def $(TARGET).def \ --output-lib $(TARGET).a \ - --add-stdcall-alias \ --kill-at $(CC) $(TARGET).o \ ../ntdll/ntdll.a \ @@ -63,9 +62,7 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def --dllname $(TARGET).dll \ --base-file base.tmp \ --output-exp temp.exp \ - --def $(TARGET).def \ - --add-stdcall-alias \ - --kill-at + --def $(TARGET).edf - $(RM) base.tmp $(CC) $(TARGET).o \ ../ntdll/ntdll.a\ diff --git a/reactos/lib/user32/user32.def b/reactos/lib/user32/user32.def index 8beb3786315..5eb9beb49b6 100644 --- a/reactos/lib/user32/user32.def +++ b/reactos/lib/user32/user32.def @@ -1,635 +1,562 @@ -LIBRARY user32 +LIBRARY USER32.dll EXPORTS -;ActivateKeyboardLayout -;AdjustWindowRect -;AdjustWindowRectEx -;AnyPopup -;AppendMenuA -;AppendMenuW -;ArrangeIconicWindows -;AttachThreadInput -;BeginDeferWindowPos -;BeginPaint -;BringWindowToTop -;BroadcastSystemMessage -;BroadcastSystemMessageA -;BroadcastSystemMessageW -;CallMsgFilter -;CallMsgFilterA -;CallMsgFilterW -;CallNextHookEx -;CallWindowProcA -;CallWindowProcW -;CascadeChildWindows -;CascadeWindows -;ChangeClipboardChain -;ChangeDisplaySettingsA -;ChangeDisplaySettingsExA -;ChangeDisplaySettingsExW -;ChangeDisplaySettingsW -;ChangeMenuA -;ChangeMenuW -;CharLowerA -;CharLowerBuffA -;CharLowerBuffW -;CharLowerW -;CharNextA -;CharNextExA -;CharNextW -;CharPrevA -;CharPrevExA -;CharPrevW -;CharToOemA -;CharToOemBuffA -;CharToOemBuffW -;CharToOemW -;CharUpperA -;CharUpperBuffA -;CharUpperBuffW -;CharUpperW -;CheckDlgButton -;CheckMenuItem -;CheckMenuRadioItem -;CheckRadioButton -;ChildWindowFromPoint -;ChildWindowFromPointEx -;ClientThreadSetup -;ClientToScreen -;ClipCursor -;CloseClipboard -;CloseDesktop -;CloseWindow -;CloseWindowStation -;CopyAcceleratorTableA -;CopyAcceleratorTableW -;CopyIcon -;CopyImage -;CopyRect -;CountClipboardFormats -;CreateAcceleratorTableA -;CreateAcceleratorTableW -;CreateCaret -;CreateCursor -;CreateDesktopA -;CreateDesktopW -;CreateDialogIndirectParamA -;CreateDialogIndirectParamAorW -;CreateDialogIndirectParamW -;CreateDialogParamA -;CreateDialogParamW -;CreateIcon -;CreateIconFromResource -;CreateIconFromResourceEx -;CreateIconIndirect -;CreateMDIWindowA -;CreateMDIWindowW -;CreateMenu -;CreatePopupMenu -;CreateWindowExA -;CreateWindowExW -;CreateWindowStationA -;CreateWindowStationW -;DdeAbandonTransaction -;DdeAccessData -;DdeAddData -;DdeClientTransaction -;DdeCmpStringHandles -;DdeConnect -;DdeConnectList -;DdeCreateDataHandle -;DdeCreateStringHandleA -;DdeCreateStringHandleW -;DdeDisconnect -;DdeDisconnectList -;DdeEnableCallback -;DdeFreeDataHandle -;DdeFreeStringHandle -;DdeGetData -;DdeGetLastError -;DdeGetQualityOfService -;DdeImpersonateClient -;DdeInitializeA -;DdeInitializeW -;DdeKeepStringHandle -;DdeNameService -;DdePostAdvise -;DdeQueryConvInfo -;DdeQueryNextServer -;DdeQueryStringA -;DdeQueryStringW -;DdeReconnect -;DdeSetQualityOfService -;DdeSetUserHandle -;DdeUnaccessData -;DdeUninitialize -;DefDlgProcA -;DefDlgProcW -;DefFrameProcA -;DefFrameProcW -;DefMDIChildProcA -;DefMDIChildProcW -;DefWindowProcA -;DefWindowProcW -;DeferWindowPos -;DeleteMenu -;DeregisterShellHookWindow -;DestroyAcceleratorTable -;DestroyCaret -;DestroyCursor -;DestroyIcon -;DestroyMenu -;DestroyWindow -;DialogBoxIndirectParamA -;DialogBoxIndirectParamAorW -;DialogBoxIndirectParamW -;DialogBoxParamA -;DialogBoxParamW -;DispatchMessageA -;DispatchMessageW -;DlgDirListA -;DlgDirListComboBoxA -;DlgDirListComboBoxW -;DlgDirListW -;DlgDirSelectComboBoxExA -;DlgDirSelectComboBoxExW -;DlgDirSelectExA -;DlgDirSelectExW -;DragDetect -;DragObject -;DrawAnimatedRects -;DrawCaption -;DrawCaptionTempA -;DrawCaptionTempW -;DrawEdge -;DrawFocusRect -;DrawFrame -;DrawFrameControl -;DrawIcon -;DrawIconEx -;DrawMenuBar -;DrawMenuBarTemp -;DrawStateA -;DrawStateW -;DrawTextA -;DrawTextExA -;DrawTextExW -;DrawTextW -;EditWndProc -;EmptyClipboard -;EnableMenuItem -;EnableScrollBar -;EnableWindow -;EndDeferWindowPos -;EndDialog -;EndMenu -;EndPaint -;EndTask -;EnumChildWindows -;EnumClipboardFormats -;EnumDesktopWindows -;EnumDesktopsA -;EnumDesktopsW -;EnumDisplayDevicesA -;EnumDisplayDevicesW -;EnumDisplaySettingsA -;EnumDisplaySettingsW -;EnumPropsA -;EnumPropsExA -;EnumPropsExW -;EnumPropsW -;EnumThreadWindows -;EnumWindowStationsA -;EnumWindowStationsW -;EnumWindows -;EqualRect -;ExcludeUpdateRgn -ExitWindowsEx = ExitWindowsEx@8 +ActivateKeyboardLayout@8 +AdjustWindowRect@12 +AdjustWindowRectEx@16 +AnyPopup@0 +AppendMenuA@16 +AppendMenuW@16 +ArrangeIconicWindows@4 +AttachThreadInput@12 +BeginDeferWindowPos@4 +BeginPaint@8 +BringWindowToTop@4 +BroadcastSystemMessage@20 +CalcChildScroll@8 +CallMsgFilter@8 +CallMsgFilterA@8 +CallMsgFilterW@8 +CallNextHookEx@16 +CallWindowProcA@20 +CallWindowProcW@20 +CascadeChildWindows@8 +CascadeWindows@20 +ChangeClipboardChain@8 +ChangeDisplaySettingsA@8 +ChangeDisplaySettingsW@8 +ChangeMenuA@20 +ChangeMenuW@20 +CharLowerA@4 +CharLowerBuffA@8 +CharLowerBuffW@8 +CharLowerW@4 +CharNextA@4 +CharNextExA@12 +CharNextW@4 +CharPrevA@8 +CharPrevExA@16 +CharPrevW@8 +CharToOemA@8 +CharToOemBuffA@12 +CharToOemBuffW@12 +CharToOemW@8 +CharUpperA@4 +CharUpperBuffA@8 +CharUpperBuffW@8 +CharUpperW@4 +CheckDlgButton@12 +CheckMenuItem@12 +CheckMenuRadioItem@20 +CheckRadioButton@16 +ChildWindowFromPoint@12 +ChildWindowFromPointEx@16 +ClientToScreen@8 +ClipCursor@4 +CloseClipboard@0 +CloseDesktop@4 +CloseWindow@4 +CloseWindowStation@4 +CopyAcceleratorTableA@12 +CopyAcceleratorTableW@12 +CopyIcon@4 +CopyImage@20 +CopyRect@8 +CountClipboardFormats@0 +CreateAcceleratorTableA@8 +CreateAcceleratorTableW@8 +CreateCaret@16 +CreateCursor@28 +CreateDesktopA@24 +CreateDesktopW@24 +CreateDialogIndirectParamA@20 +CreateDialogIndirectParamW@20 +CreateDialogParamA@20 +CreateDialogParamW@20 +CreateIcon@28 +CreateIconFromResource@16 +CreateIconFromResourceEx@28 +CreateIconIndirect@4 +CreateMDIWindowA@40 +CreateMDIWindowW@40 +CreateMenu@0 +CreatePopupMenu@0 +CreateWindowExA@48 +CreateWindowExW@48 +CreateWindowStationA@16 +CreateWindowStationW@16 +DdeAbandonTransaction@12 +DdeAccessData@8 +DdeAddData@16 +DdeClientTransaction@32 +DdeCmpStringHandles@8 +DdeConnect@16 +DdeConnectList@20 +DdeCreateDataHandle@28 +DdeCreateStringHandleA@12 +DdeCreateStringHandleW@12 +DdeDisconnect@4 +DdeDisconnectList@4 +DdeEnableCallback@12 +DdeFreeDataHandle@4 +DdeFreeStringHandle@8 +DdeGetData@16 +DdeGetLastError@4 +DdeGetQualityOfService@12 +DdeImpersonateClient@4 +DdeInitializeA@16 +DdeInitializeW@16 +DdeKeepStringHandle@8 +DdeNameService@16 +DdePostAdvise@12 +DdeQueryConvInfo@12 +DdeQueryNextServer@8 +DdeQueryStringA@20 +DdeQueryStringW@20 +DdeReconnect@4 +DdeSetQualityOfService@12 +DdeSetUserHandle@12 +DdeUnaccessData@4 +DdeUninitialize@4 +DefDlgProcA@16 +DefDlgProcW@16 +DefFrameProcA@20 +DefFrameProcW@20 +DefMDIChildProcA@16 +DefMDIChildProcW@16 +DefWindowProcA@16 +DefWindowProcW@16 +DeferWindowPos@32 +DeleteMenu@12 +DestroyAcceleratorTable@4 +DestroyCaret@0 +DestroyCursor@4 +DestroyIcon@4 +DestroyMenu@4 +DestroyWindow@4 +DialogBoxIndirectParamA@20 +DialogBoxIndirectParamW@20 +DialogBoxParamA@20 +DialogBoxParamW@20 +DispatchMessageA@4 +DispatchMessageW@4 +DlgDirListA@20 +DlgDirListComboBoxA@20 +DlgDirListComboBoxW@20 +DlgDirListW@20 +DlgDirSelectComboBoxExA@16 +DlgDirSelectComboBoxExW@16 +DlgDirSelectExA@16 +DlgDirSelectExW@16 +DragDetect@12 +DragObject@20 +DrawAnimatedRects@16 +DrawCaption@16 +DrawEdge@16 +DrawFocusRect@8 +DrawFrame@16 +DrawFrameControl@16 +DrawIcon@16 +DrawIconEx@36 +DrawMenuBar@4 +DrawStateA@40 +DrawStateW@40 +DrawTextA@20 +DrawTextExA@24 +DrawTextExW@24 +DrawTextW@20 +EditWndProc@16 +EmptyClipboard@0 +EnableMenuItem@12 +EnableScrollBar@12 +EnableWindow@8 +EndDeferWindowPos@4 +EndDialog@8 +EndPaint@8 +EnumChildWindows@12 +EnumClipboardFormats@4 +EnumDesktopWindows@12 +EnumDesktopsA@12 +EnumDesktopsW@12 +EnumDisplaySettingsA@12 +EnumDisplaySettingsW@12 +EnumPropsA@8 +EnumPropsExA@12 +EnumPropsExW@12 +EnumPropsW@8 +EnumThreadWindows@12 +EnumWindowStationsA@8 +EnumWindowStationsW@8 +EnumWindows@8 +EqualRect@8 +ExcludeUpdateRgn@8 ExitWindowsEx@8 -;FillRect -;FindWindowA -;FindWindowExA -;FindWindowExW -;FindWindowW -;FlashWindow -;FrameRect -;FreeDDElParam -;FullScreenControl -;GetActiveWindow -;GetAncestor -;GetAppCompatFlags -;GetAsyncKeyState -;GetCapture -;GetCaretBlinkTime -;GetCaretPos -;GetClassInfoA -;GetClassInfoExA -;GetClassInfoExW -;GetClassInfoW -;GetClassLongA -;GetClassLongW -;GetClassNameA -;GetClassNameW -;GetClassWord -;GetClientRect -;GetClipCursor -;GetClipboardData -;GetClipboardFormatNameA -;GetClipboardFormatNameW -;GetClipboardOwner -;GetClipboardViewer -;GetCursor -;GetCursorInfo -;GetCursorPos -;GetDC -;GetDCEx -;GetDesktopWindow -;GetDialogBaseUnits -;GetDlgCtrlID -;GetDlgItem -;GetDlgItemInt -;GetDlgItemTextA -;GetDlgItemTextW -;GetDoubleClickTime -;GetFocus -;GetForegroundWindow -;GetGUIThreadInfo -;GetIconInfo -;GetInputDesktop -;GetInputState -;GetInternalWindowPos -;GetKBCodePage -;GetKeyNameTextA -;GetKeyNameTextW -;GetKeyState -;GetKeyboardLayout -;GetKeyboardLayoutList -;GetKeyboardLayoutNameA -;GetKeyboardLayoutNameW -;GetKeyboardState -;GetKeyboardType -;GetLastActivePopup -;GetMenu -;GetMenuCheckMarkDimensions -;GetMenuContextHelpId -;GetMenuDefaultItem -;GetMenuItemCount -;GetMenuItemID -;GetMenuItemInfoA -;GetMenuItemInfoW -;GetMenuItemRect -;GetMenuState -;GetMenuStringA -;GetMenuStringW -;GetMessageA -;GetMessageExtraInfo -;GetMessagePos -;GetMessageTime -;GetMessageW -;GetNextDlgGroupItem -;GetNextDlgTabItem -;GetOpenClipboardWindow -;GetParent -;GetPriorityClipboardFormat -;GetProcessWindowStation -;GetProgmanWindow -;GetPropA -;GetPropW -;GetQueueStatus -;GetScrollInfo -;GetScrollPos -;GetScrollRange -;GetShellWindow -;GetSubMenu -;GetSysColor -;GetSysColorBrush -;GetSystemMenu -;GetSystemMetrics -;GetTabbedTextExtentA -;GetTabbedTextExtentW -;GetTaskmanWindow -;GetThreadDesktop -;GetTopWindow -;GetUpdateRect -;GetUpdateRgn -;GetUserObjectInformationA -;GetUserObjectInformationW -;GetUserObjectSecurity -;GetWindow -;GetWindowContextHelpId -;GetWindowDC -;GetWindowLongA -;GetWindowLongW -;GetWindowModuleFileName -;GetWindowModuleFileNameA -;GetWindowModuleFileNameW -;GetWindowPlacement -;GetWindowRect -;GetWindowRgn -;GetWindowTextA -;GetWindowTextLengthA -;GetWindowTextLengthW -;GetWindowTextW -;GetWindowThreadProcessId -;GetWindowWord -;GrayStringA -;GrayStringW -;HideCaret -;HiliteMenuItem -;ImpersonateDdeClientWindow -;InSendMessage -;InflateRect -;InsertMenuA -;InsertMenuItemA -;InsertMenuItemW -;InsertMenuW -;InternalGetWindowText -;IntersectRect -;InvalidateRect -;InvalidateRgn -;InvertRect -;IsCharAlphaA -;IsCharAlphaNumericA -;IsCharAlphaNumericW -;IsCharAlphaW -;IsCharLowerA -;IsCharLowerW -;IsCharUpperA -;IsCharUpperW -;IsChild -;IsClipboardFormatAvailable -;IsDialogMessage -;IsDialogMessageA -;IsDialogMessageW -;IsDlgButtonChecked -;IsHungAppWindow -;IsIconic -;IsMenu -;IsRectEmpty -;IsWindow -;IsWindowEnabled -;IsWindowUnicode -;IsWindowVisible -;IsZoomed -;KillSystemTimer -;KillTimer -;LoadAcceleratorsA -;LoadAcceleratorsW -;LoadBitmapA -;LoadBitmapW -;LoadCursorA -;LoadCursorFromFileA -;LoadCursorFromFileW -;LoadCursorW -;LoadIconA -;LoadIconW -;LoadImageA -;LoadImageW -;LoadKeyboardLayoutA -;LoadKeyboardLayoutEx -;LoadKeyboardLayoutW -;LoadLocalFonts -;LoadMenuA -;LoadMenuIndirectA -;LoadMenuIndirectW -;LoadMenuW -;LoadRemoteFonts -;LoadStringA -;LoadStringW -;LockWindowStation -;LockWindowUpdate -;LookupIconIdFromDirectory -;LookupIconIdFromDirectoryEx -;MBToWCSEx -;MB_GetString -;MapDialogRect -;MapVirtualKeyA -;MapVirtualKeyExA -;MapVirtualKeyExW -;MapVirtualKeyW -;MapWindowPoints -;MenuItemFromPoint -;MenuWindowProcA -;MenuWindowProcW -;MessageBeep -;MessageBoxA -;MessageBoxExA -;MessageBoxExW -;MessageBoxIndirectA -;MessageBoxIndirectW -;MessageBoxW -;ModifyMenuA -;ModifyMenuW -;MoveWindow -;MsgWaitForMultipleObjects -;MsgWaitForMultipleObjectsEx -;NotifyWinEvent -;OemKeyScan -;OemToCharA -;OemToCharBuffA -;OemToCharBuffW -;OemToCharW -;OffsetRect -;OpenClipboard -;OpenDesktopA -;OpenDesktopW -;OpenIcon -;OpenInputDesktop -;OpenWindowStationA -;OpenWindowStationW -;PackDDElParam -;PaintDesktop -;PeekMessageA -;PeekMessageW -;PostMessageA -;PostMessageW -;PostQuitMessage -;PostThreadMessageA -;PostThreadMessageW -;PrivateExtractIconExA -;PrivateExtractIconExW -;PrivateExtractIconsA -;PrivateExtractIconsW -;PrivateKDBreakPoint -;PtInRect -;QuerySendMessage -;RealChildWindowFromPoint -;RealGetWindowClass -;RealGetWindowClassA -;RealGetWindowClassW -;RedrawWindow -;RegisterClassA -;RegisterClassExA -;RegisterClassExW -;RegisterClassW -;RegisterClipboardFormatA -;RegisterClipboardFormatW -;RegisterHotKey -;RegisterLogonProcess -;RegisterServicesProcess -;RegisterShellHookWindow -;RegisterSystemThread -;RegisterTasklist -;RegisterWindowMessageA -;RegisterWindowMessageW -;ReleaseCapture -;ReleaseDC -;RemoveMenu -;RemovePropA -;RemovePropW -;ReplyMessage -;ReuseDDElParam -;ScreenToClient -;ScrollChildren -;ScrollDC -;ScrollWindow -;ScrollWindowEx -;SendDlgItemMessageA -;SendDlgItemMessageW -;SendInput -;SendMessageA -;SendMessageCallbackA -;SendMessageCallbackW -;SendMessageTimeoutA -;SendMessageTimeoutW -;SendMessageW -;SendNotifyMessageA -;SendNotifyMessageW -;SetActiveWindow -;SetCapture -;SetCaretBlinkTime -;SetCaretPos -;SetClassLongA -;SetClassLongW -;SetClassWord -;SetClipboardData -;SetClipboardViewer -;SetConsoleReserveKeys -;SetCursor -;SetCursorContents -;SetCursorPos -;SetDebugErrorLevel -;SetDeskWallpaper -;SetDlgItemInt -;SetDlgItemTextA -;SetDlgItemTextW -;SetDoubleClickTime -;SetFocus -;SetForegroundWindow -;SetInternalWindowPos -;SetKeyboardState -;SetLastErrorEx -;SetLogonNotifyWindow -;SetMenu -;SetMenuContextHelpId -;SetMenuDefaultItem -;SetMenuItemBitmaps -;SetMenuItemInfoA -;SetMenuItemInfoW -;SetMessageExtraInfo -;SetMessageQueue -;SetParent -;SetProcessWindowStation -;SetProgmanWindow -;SetPropA -;SetPropW -;SetRect -;SetRectEmpty -;SetScrollInfo -;SetScrollPos -;SetScrollRange -;SetShellWindow -;SetShellWindowEx -;SetSysColors -;SetSysColorsTemp -;SetSystemCursor -;SetSystemMenu -;SetSystemTimer -;SetTaskmanWindow -;SetThreadDesktop -;SetTimer -;SetUserObjectInformationA -;SetUserObjectInformationW -;SetUserObjectSecurity -;SetWinEventHook -;SetWindowContextHelpId -;SetWindowLongA -;SetWindowLongW -;SetWindowPlacement -;SetWindowPos -;SetWindowRgn -;SetWindowStationUser -;SetWindowTextA -;SetWindowTextW -;SetWindowWord -;SetWindowsHookA -;SetWindowsHookExA -;SetWindowsHookExW -;SetWindowsHookW -;ShowCaret -;ShowCursor -;ShowOwnedPopups -;ShowScrollBar -;ShowStartGlass -;ShowWindow -;ShowWindowAsync -;SoftModalMessageBox -;SubtractRect -;SwapMouseButton -;SwitchDesktop -;SwitchToThisWindow -;SystemParametersInfoA -;SystemParametersInfoW -;TabbedTextOutA -;TabbedTextOutW -;TileChildWindows -;TileWindows -;ToAscii -;ToAsciiEx -;ToUnicode -;ToUnicodeEx -;TrackMouseEvent -;TrackPopupMenu -;TrackPopupMenuEx -;TranslateAccelerator -;TranslateAcceleratorA -;TranslateAcceleratorW -;TranslateMDISysAccel -;TranslateMessage -;TranslateMessageEx -;UnhookWinEvent -;UnhookWindowsHook -;UnhookWindowsHookEx -;UnionRect -;UnloadKeyboardLayout -;UnlockWindowStation -;UnpackDDElParam -;UnregisterClassA -;UnregisterClassW -;UnregisterHotKey -;UpdatePerUserSystemParameters -;UpdateWindow -;UserClientDllInitialize -;UserRealizePalette -;UserRegisterWowHandlers -;ValidateRect -;ValidateRgn -;VkKeyScanA -;VkKeyScanExA -;VkKeyScanExW -;VkKeyScanW -;WCSToMBEx -;WaitForInputIdle -;WaitMessage -;WinHelpA -;WinHelpW -;WindowFromDC -;WindowFromPoint -;keybd_event -;mouse_event +FillRect@12 +FindWindowA@8 +FindWindowExA@16 +FindWindowExW@16 +FindWindowW@8 +FlashWindow@8 +FrameRect@12 +FreeDDElParam@8 +GetActiveWindow@0 +GetAsyncKeyState@4 +GetCapture@0 +GetCaretBlinkTime@0 +GetCaretPos@4 +GetClassInfoA@12 +GetClassInfoExA@12 +GetClassInfoExW@12 +GetClassInfoW@12 +GetClassLongA@8 +GetClassLongW@8 +GetClassNameA@12 +GetClassNameW@12 +GetClassWord@8 +GetClientRect@8 +GetClipCursor@4 +GetClipboardData@4 +GetClipboardFormatNameA@12 +GetClipboardFormatNameW@12 +GetClipboardOwner@0 +GetClipboardViewer@0 +GetCursor@0 +GetCursorPos@4 +GetDC@4 +GetDCEx@12 +GetDesktopWindow@0 +GetDialogBaseUnits@0 +GetDlgCtrlID@4 +GetDlgItem@8 +GetDlgItemInt@16 +GetDlgItemTextA@16 +GetDlgItemTextW@16 +GetDoubleClickTime@0 +GetFocus@0 +GetForegroundWindow@0 +GetIconInfo@8 +GetInputDesktop@0 +GetInputState@0 +GetKBCodePage@0 +GetKeyNameTextA@12 +GetKeyNameTextW@12 +GetKeyState@4 +GetKeyboardLayout@4 +GetKeyboardLayoutList@8 +GetKeyboardLayoutNameA@4 +GetKeyboardLayoutNameW@4 +GetKeyboardState@4 +GetKeyboardType@4 +GetLastActivePopup@4 +GetMenu@4 +GetMenuCheckMarkDimensions@0 +GetMenuContextHelpId@4 +_imp__GetMenuContextHelpId@4 +GetMenuDefaultItem@12 +GetMenuItemCount@4 +GetMenuItemID@8 +GetMenuItemInfoA@16 +GetMenuItemInfoW@16 +GetMenuItemRect@16 +GetMenuState@12 +GetMenuStringA@20 +GetMenuStringW@20 +GetMessageA@16 +GetMessageExtraInfo@0 +GetMessagePos@0 +GetMessageTime@0 +GetMessageW@16 +GetNextDlgGroupItem@12 +GetNextDlgTabItem@12 +GetOpenClipboardWindow@0 +GetParent@4 +GetPriorityClipboardFormat@8 +GetProcessWindowStation@0 +GetPropA@8 +GetPropW@8 +GetQueueStatus@4 +GetScrollInfo@12 +GetScrollPos@8 +GetScrollRange@16 +GetShellWindow@0 +GetSubMenu@8 +GetSysColor@4 +GetSysColorBrush@4 +GetSystemMenu@8 +GetSystemMetrics@4 +GetTabbedTextExtentA@20 +GetTabbedTextExtentW@20 +GetThreadDesktop@4 +GetTopWindow@4 +GetUpdateRect@12 +GetUpdateRgn@12 +GetUserObjectInformationA@20 +GetUserObjectInformationW@20 +GetUserObjectSecurity@20 +GetWindow@8 +GetWindowContextHelpId@4 +_imp__GetWindowContextHelpId@4 +GetWindowDC@4 +GetWindowLongA@8 +GetWindowLongW@8 +GetWindowPlacement@8 +GetWindowRect@8 +GetWindowRgn@8 +GetWindowTextA@12 +GetWindowTextLengthA@4 +GetWindowTextLengthW@4 +GetWindowTextW@12 +GetWindowThreadProcessId@8 +GetWindowWord@8 +GrayStringA@36 +GrayStringW@36 +HideCaret@4 +HiliteMenuItem@16 +ImpersonateDdeClientWindow@8 +InSendMessage@0 +InflateRect@12 +InsertMenuA@20 +InsertMenuItemA@16 +InsertMenuItemW@16 +InsertMenuW@20 +IntersectRect@12 +InvalidateRect@12 +InvalidateRgn@12 +InvertRect@8 +IsCharAlphaA@4 +IsCharAlphaNumericA@4 +IsCharAlphaNumericW@4 +IsCharAlphaW@4 +IsCharLowerA@4 +IsCharLowerW@4 +IsCharUpperA@4 +IsCharUpperW@4 +IsChild@8 +IsClipboardFormatAvailable@4 +IsDialogMessage@8 +IsDialogMessageA@8 +IsDialogMessageW@8 +IsDlgButtonChecked@8 +IsIconic@4 +IsMenu@4 +IsRectEmpty@4 +IsWindow@4 +IsWindowEnabled@4 +IsWindowUnicode@4 +IsWindowVisible@4 +IsZoomed@4 +KillSystemTimer@8 +KillTimer@8 +LoadAcceleratorsA@8 +LoadAcceleratorsW@8 +LoadBitmapA@8 +LoadBitmapW@8 +LoadCursorA@8 +LoadCursorFromFileA@4 +LoadCursorFromFileW@4 +LoadCursorW@8 +LoadIconA@8 +LoadIconW@8 +LoadImageA@24 +LoadImageW@24 +LoadKeyboardLayoutA@8 +LoadKeyboardLayoutW@8 +LoadMenuA@8 +LoadMenuIndirectA@4 +LoadMenuIndirectW@4 +LoadMenuW@8 +LoadStringA@16 +LoadStringW@16 +LockWindowUpdate@4 +LookupIconIdFromDirectory@8 +LookupIconIdFromDirectoryEx@20 +MapDialogRect@8 +MapVirtualKeyA@8 +MapVirtualKeyExA@12 +MapVirtualKeyExW@12 +MapVirtualKeyW@8 +MapWindowPoints@16 +MenuItemFromPoint@16 +MessageBeep@4 +MessageBoxA@16 +MessageBoxExA@20 +MessageBoxExW@20 +MessageBoxIndirectA@4 +MessageBoxIndirectW@4 +MessageBoxW@16 +ModifyMenuA@20 +ModifyMenuW@20 +MoveWindow@24 +MsgWaitForMultipleObjects@20 +MsgWaitForMultipleObjectsEx@20 +OemKeyScan@4 +OemToCharA@8 +OemToCharBuffA@12 +OemToCharBuffW@12 +OemToCharW@8 +OffsetRect@12 +OpenClipboard@4 +OpenDesktopA@16 +OpenDesktopW@16 +OpenIcon@4 +OpenInputDesktop@12 +OpenWindowStationA@12 +OpenWindowStationW@12 +PackDDElParam@12 +PaintDesktop@4 +PeekMessageA@20 +PeekMessageW@20 +PostMessageA@16 +PostMessageW@16 +PostQuitMessage@4 +PostThreadMessageA@16 +PostThreadMessageW@16 +PtInRect@12 +RedrawWindow@16 +RegisterClassA@4 +RegisterClassExA@4 +RegisterClassExW@4 +RegisterClassW@4 +RegisterClipboardFormatA@4 +RegisterClipboardFormatW@4 +RegisterHotKey@16 +RegisterWindowMessageA@4 +RegisterWindowMessageW@4 +ReleaseCapture@0 +ReleaseDC@8 +RemoveMenu@12 +RemovePropA@8 +RemovePropW@8 +ReplyMessage@4 +ReuseDDElParam@20 +ScreenToClient@8 +ScrollChildren@12 +ScrollDC@28 +ScrollWindow@20 +ScrollWindowEx@32 +SendDlgItemMessageA@20 +SendDlgItemMessageW@20 +SendMessageA@16 +SendMessageCallbackA@24 +SendMessageCallbackW@24 +SendMessageTimeoutA@28 +SendMessageTimeoutW@28 +SendMessageW@16 +SendNotifyMessageA@16 +SendNotifyMessageW@16 +SetActiveWindow@4 +SetCapture@4 +SetCaretBlinkTime@4 +SetCaretPos@8 +SetClassLongA@12 +SetClassLongW@12 +SetClassWord@12 +SetClipboardData@8 +SetClipboardViewer@4 +SetCursor@4 +SetCursorPos@8 +SetDebugErrorLevel@4 +SetDeskWallpaper@4 +SetDlgItemInt@16 +SetDlgItemTextA@12 +SetDlgItemTextW@12 +SetDoubleClickTime@4 +SetFocus@4 +SetForegroundWindow@4 +SetKeyboardState@4 +SetLastErrorEx@8 +SetMenu@8 +SetMenuContextHelpId@8 +_imp__SetMenuContextHelpId@8 +SetMenuDefaultItem@12 +SetMenuItemBitmaps@20 +SetMenuItemInfoA@16 +SetMenuItemInfoW@16 +SetMessageExtraInfo@4 +SetMessageQueue@4 +SetParent@8 +SetProcessWindowStation@4 +SetPropA@12 +SetPropW@12 +SetRect@20 +SetRectEmpty@4 +SetScrollInfo@16 +SetScrollPos@16 +SetScrollRange@20 +SetShellWindow@4 +SetSysColors@12 +SetSystemCursor@8 +SetSystemMenu@8 +SetSystemTimer@16 +SetThreadDesktop@4 +SetTimer@16 +SetUserObjectInformationA@16 +SetUserObjectInformationW@16 +SetUserObjectSecurity@12 +SetWindowContextHelpId@8 +_imp__SetWindowContextHelpId@8 +SetWindowLongA@12 +SetWindowLongW@12 +SetWindowPlacement@8 +SetWindowPos@28 +SetWindowRgn@12 +SetWindowTextA@8 +SetWindowTextW@8 +SetWindowWord@12 +SetWindowsHookA@8 +SetWindowsHookExA@16 +SetWindowsHookExW@16 +SetWindowsHookW@8 +ShowCaret@4 +ShowCursor@4 +ShowOwnedPopups@8 +ShowScrollBar@12 +ShowWindow@8 +ShowWindowAsync@8 +SubtractRect@12 +SwapMouseButton@4 +SwitchDesktop@4 +SystemParametersInfoA@16 +SystemParametersInfoW@16 +TabbedTextOutA@32 +TabbedTextOutW@32 +TileChildWindows@8 +TileWindows@20 +ToAscii@20 +ToAsciiEx@24 +ToUnicode@24 +ToUnicodeEx@28 +TrackMouseEvent@4 +TrackPopupMenu@28 +TrackPopupMenuEx@24 +TranslateAccelerator@12 +TranslateAcceleratorA@12 +TranslateAcceleratorW@12 +TranslateMDISysAccel@8 +TranslateMessage@4 +UnhookWindowsHook@8 +UnhookWindowsHookEx@4 +UnionRect@12 +UnloadKeyboardLayout@4 +UnpackDDElParam@16 +UnregisterClassA@8 +UnregisterClassW@8 +UnregisterHotKey@8 +UpdateWindow@4 +ValidateRect@8 +ValidateRgn@8 +VkKeyScanA@4 +VkKeyScanExA@8 +VkKeyScanExW@8 +VkKeyScanW@4 +WaitForInputIdle@8 +WaitMessage@0 +WinHelpA@16 +WinHelpW@16 +WindowFromDC@4 +WindowFromPoint@8 +keybd_event@16 +mouse_event@20 wsprintfA wsprintfW wvsprintfA@12 -wvsprintfA = wvsprintfA@12 wvsprintfW@12 -wvsprintfW = wvsprintfW@12 - diff --git a/reactos/lib/user32/user32.edf b/reactos/lib/user32/user32.edf new file mode 100644 index 00000000000..3ad04bcd77b --- /dev/null +++ b/reactos/lib/user32/user32.edf @@ -0,0 +1,562 @@ +LIBRARY USER32 +EXPORTS +ActivateKeyboardLayout=ActivateKeyboardLayout@8 +AdjustWindowRect=AdjustWindowRect@12 +AdjustWindowRectEx=AdjustWindowRectEx@16 +AnyPopup=AnyPopup@0 +AppendMenuA=AppendMenuA@16 +AppendMenuW=AppendMenuW@16 +ArrangeIconicWindows=ArrangeIconicWindows@4 +AttachThreadInput=AttachThreadInput@12 +BeginDeferWindowPos=BeginDeferWindowPos@4 +BeginPaint=BeginPaint@8 +BringWindowToTop=BringWindowToTop@4 +BroadcastSystemMessage=BroadcastSystemMessage@20 +CalcChildScroll=CalcChildScroll@8 +CallMsgFilter=CallMsgFilter@8 +CallMsgFilterA=CallMsgFilterA@8 +CallMsgFilterW=CallMsgFilterW@8 +CallNextHookEx=CallNextHookEx@16 +CallWindowProcA=CallWindowProcA@20 +CallWindowProcW=CallWindowProcW@20 +CascadeChildWindows=CascadeChildWindows@8 +CascadeWindows=CascadeWindows@20 +ChangeClipboardChain=ChangeClipboardChain@8 +ChangeDisplaySettingsA=ChangeDisplaySettingsA@8 +ChangeDisplaySettingsW=ChangeDisplaySettingsW@8 +ChangeMenuA=ChangeMenuA@20 +ChangeMenuW=ChangeMenuW@20 +CharLowerA=CharLowerA@4 +CharLowerBuffA=CharLowerBuffA@8 +CharLowerBuffW=CharLowerBuffW@8 +CharLowerW=CharLowerW@4 +CharNextA=CharNextA@4 +CharNextExA=CharNextExA@12 +CharNextW=CharNextW@4 +CharPrevA=CharPrevA@8 +CharPrevExA=CharPrevExA@16 +CharPrevW=CharPrevW@8 +CharToOemA=CharToOemA@8 +CharToOemBuffA=CharToOemBuffA@12 +CharToOemBuffW=CharToOemBuffW@12 +CharToOemW=CharToOemW@8 +CharUpperA=CharUpperA@4 +CharUpperBuffA=CharUpperBuffA@8 +CharUpperBuffW=CharUpperBuffW@8 +CharUpperW=CharUpperW@4 +CheckDlgButton=CheckDlgButton@12 +CheckMenuItem=CheckMenuItem@12 +CheckMenuRadioItem=CheckMenuRadioItem@20 +CheckRadioButton=CheckRadioButton@16 +ChildWindowFromPoint=ChildWindowFromPoint@12 +ChildWindowFromPointEx=ChildWindowFromPointEx@16 +ClientToScreen=ClientToScreen@8 +ClipCursor=ClipCursor@4 +CloseClipboard=CloseClipboard@0 +CloseDesktop=CloseDesktop@4 +CloseWindow=CloseWindow@4 +CloseWindowStation=CloseWindowStation@4 +CopyAcceleratorTableA=CopyAcceleratorTableA@12 +CopyAcceleratorTableW=CopyAcceleratorTableW@12 +CopyIcon=CopyIcon@4 +CopyImage=CopyImage@20 +CopyRect=CopyRect@8 +CountClipboardFormats=CountClipboardFormats@0 +CreateAcceleratorTableA=CreateAcceleratorTableA@8 +CreateAcceleratorTableW=CreateAcceleratorTableW@8 +CreateCaret=CreateCaret@16 +CreateCursor=CreateCursor@28 +CreateDesktopA=CreateDesktopA@24 +CreateDesktopW=CreateDesktopW@24 +CreateDialogIndirectParamA=CreateDialogIndirectParamA@20 +CreateDialogIndirectParamW=CreateDialogIndirectParamW@20 +CreateDialogParamA=CreateDialogParamA@20 +CreateDialogParamW=CreateDialogParamW@20 +CreateIcon=CreateIcon@28 +CreateIconFromResource=CreateIconFromResource@16 +CreateIconFromResourceEx=CreateIconFromResourceEx@28 +CreateIconIndirect=CreateIconIndirect@4 +CreateMDIWindowA=CreateMDIWindowA@40 +CreateMDIWindowW=CreateMDIWindowW@40 +CreateMenu=CreateMenu@0 +CreatePopupMenu=CreatePopupMenu@0 +CreateWindowExA=CreateWindowExA@48 +CreateWindowExW=CreateWindowExW@48 +CreateWindowStationA=CreateWindowStationA@16 +CreateWindowStationW=CreateWindowStationW@16 +DdeAbandonTransaction=DdeAbandonTransaction@12 +DdeAccessData=DdeAccessData@8 +DdeAddData=DdeAddData@16 +DdeClientTransaction=DdeClientTransaction@32 +DdeCmpStringHandles=DdeCmpStringHandles@8 +DdeConnect=DdeConnect@16 +DdeConnectList=DdeConnectList@20 +DdeCreateDataHandle=DdeCreateDataHandle@28 +DdeCreateStringHandleA=DdeCreateStringHandleA@12 +DdeCreateStringHandleW=DdeCreateStringHandleW@12 +DdeDisconnect=DdeDisconnect@4 +DdeDisconnectList=DdeDisconnectList@4 +DdeEnableCallback=DdeEnableCallback@12 +DdeFreeDataHandle=DdeFreeDataHandle@4 +DdeFreeStringHandle=DdeFreeStringHandle@8 +DdeGetData=DdeGetData@16 +DdeGetLastError=DdeGetLastError@4 +DdeGetQualityOfService=DdeGetQualityOfService@12 +DdeImpersonateClient=DdeImpersonateClient@4 +DdeInitializeA=DdeInitializeA@16 +DdeInitializeW=DdeInitializeW@16 +DdeKeepStringHandle=DdeKeepStringHandle@8 +DdeNameService=DdeNameService@16 +DdePostAdvise=DdePostAdvise@12 +DdeQueryConvInfo=DdeQueryConvInfo@12 +DdeQueryNextServer=DdeQueryNextServer@8 +DdeQueryStringA=DdeQueryStringA@20 +DdeQueryStringW=DdeQueryStringW@20 +DdeReconnect=DdeReconnect@4 +DdeSetQualityOfService=DdeSetQualityOfService@12 +DdeSetUserHandle=DdeSetUserHandle@12 +DdeUnaccessData=DdeUnaccessData@4 +DdeUninitialize=DdeUninitialize@4 +DefDlgProcA=DefDlgProcA@16 +DefDlgProcW=DefDlgProcW@16 +DefFrameProcA=DefFrameProcA@20 +DefFrameProcW=DefFrameProcW@20 +DefMDIChildProcA=DefMDIChildProcA@16 +DefMDIChildProcW=DefMDIChildProcW@16 +DefWindowProcA=DefWindowProcA@16 +DefWindowProcW=DefWindowProcW@16 +DeferWindowPos=DeferWindowPos@32 +DeleteMenu=DeleteMenu@12 +DestroyAcceleratorTable=DestroyAcceleratorTable@4 +DestroyCaret=DestroyCaret@0 +DestroyCursor=DestroyCursor@4 +DestroyIcon=DestroyIcon@4 +DestroyMenu=DestroyMenu@4 +DestroyWindow=DestroyWindow@4 +DialogBoxIndirectParamA=DialogBoxIndirectParamA@20 +DialogBoxIndirectParamW=DialogBoxIndirectParamW@20 +DialogBoxParamA=DialogBoxParamA@20 +DialogBoxParamW=DialogBoxParamW@20 +DispatchMessageA=DispatchMessageA@4 +DispatchMessageW=DispatchMessageW@4 +DlgDirListA=DlgDirListA@20 +DlgDirListComboBoxA=DlgDirListComboBoxA@20 +DlgDirListComboBoxW=DlgDirListComboBoxW@20 +DlgDirListW=DlgDirListW@20 +DlgDirSelectComboBoxExA=DlgDirSelectComboBoxExA@16 +DlgDirSelectComboBoxExW=DlgDirSelectComboBoxExW@16 +DlgDirSelectExA=DlgDirSelectExA@16 +DlgDirSelectExW=DlgDirSelectExW@16 +DragDetect=DragDetect@12 +DragObject=DragObject@20 +DrawAnimatedRects=DrawAnimatedRects@16 +DrawCaption=DrawCaption@16 +DrawEdge=DrawEdge@16 +DrawFocusRect=DrawFocusRect@8 +DrawFrame=DrawFrame@16 +DrawFrameControl=DrawFrameControl@16 +DrawIcon=DrawIcon@16 +DrawIconEx=DrawIconEx@36 +DrawMenuBar=DrawMenuBar@4 +DrawStateA=DrawStateA@40 +DrawStateW=DrawStateW@40 +DrawTextA=DrawTextA@20 +DrawTextExA=DrawTextExA@24 +DrawTextExW=DrawTextExW@24 +DrawTextW=DrawTextW@20 +EditWndProc=EditWndProc@16 +EmptyClipboard=EmptyClipboard@0 +EnableMenuItem=EnableMenuItem@12 +EnableScrollBar=EnableScrollBar@12 +EnableWindow=EnableWindow@8 +EndDeferWindowPos=EndDeferWindowPos@4 +EndDialog=EndDialog@8 +EndPaint=EndPaint@8 +EnumChildWindows=EnumChildWindows@12 +EnumClipboardFormats=EnumClipboardFormats@4 +EnumDesktopWindows=EnumDesktopWindows@12 +EnumDesktopsA=EnumDesktopsA@12 +EnumDesktopsW=EnumDesktopsW@12 +EnumDisplaySettingsA=EnumDisplaySettingsA@12 +EnumDisplaySettingsW=EnumDisplaySettingsW@12 +EnumPropsA=EnumPropsA@8 +EnumPropsExA=EnumPropsExA@12 +EnumPropsExW=EnumPropsExW@12 +EnumPropsW=EnumPropsW@8 +EnumThreadWindows=EnumThreadWindows@12 +EnumWindowStationsA=EnumWindowStationsA@8 +EnumWindowStationsW=EnumWindowStationsW@8 +EnumWindows=EnumWindows@8 +EqualRect=EqualRect@8 +ExcludeUpdateRgn=ExcludeUpdateRgn@8 +ExitWindowsEx=ExitWindowsEx@8 +FillRect=FillRect@12 +FindWindowA=FindWindowA@8 +FindWindowExA=FindWindowExA@16 +FindWindowExW=FindWindowExW@16 +FindWindowW=FindWindowW@8 +FlashWindow=FlashWindow@8 +FrameRect=FrameRect@12 +FreeDDElParam=FreeDDElParam@8 +GetActiveWindow=GetActiveWindow@0 +GetAsyncKeyState=GetAsyncKeyState@4 +GetCapture=GetCapture@0 +GetCaretBlinkTime=GetCaretBlinkTime@0 +GetCaretPos=GetCaretPos@4 +GetClassInfoA=GetClassInfoA@12 +GetClassInfoExA=GetClassInfoExA@12 +GetClassInfoExW=GetClassInfoExW@12 +GetClassInfoW=GetClassInfoW@12 +GetClassLongA=GetClassLongA@8 +GetClassLongW=GetClassLongW@8 +GetClassNameA=GetClassNameA@12 +GetClassNameW=GetClassNameW@12 +GetClassWord=GetClassWord@8 +GetClientRect=GetClientRect@8 +GetClipCursor=GetClipCursor@4 +GetClipboardData=GetClipboardData@4 +GetClipboardFormatNameA=GetClipboardFormatNameA@12 +GetClipboardFormatNameW=GetClipboardFormatNameW@12 +GetClipboardOwner=GetClipboardOwner@0 +GetClipboardViewer=GetClipboardViewer@0 +GetCursor=GetCursor@0 +GetCursorPos=GetCursorPos@4 +GetDC=GetDC@4 +GetDCEx=GetDCEx@12 +GetDesktopWindow=GetDesktopWindow@0 +GetDialogBaseUnits=GetDialogBaseUnits@0 +GetDlgCtrlID=GetDlgCtrlID@4 +GetDlgItem=GetDlgItem@8 +GetDlgItemInt=GetDlgItemInt@16 +GetDlgItemTextA=GetDlgItemTextA@16 +GetDlgItemTextW=GetDlgItemTextW@16 +GetDoubleClickTime=GetDoubleClickTime@0 +GetFocus=GetFocus@0 +GetForegroundWindow=GetForegroundWindow@0 +GetIconInfo=GetIconInfo@8 +GetInputDesktop=GetInputDesktop@0 +GetInputState=GetInputState@0 +GetKBCodePage=GetKBCodePage@0 +GetKeyNameTextA=GetKeyNameTextA@12 +GetKeyNameTextW=GetKeyNameTextW@12 +GetKeyState=GetKeyState@4 +GetKeyboardLayout=GetKeyboardLayout@4 +GetKeyboardLayoutList=GetKeyboardLayoutList@8 +GetKeyboardLayoutNameA=GetKeyboardLayoutNameA@4 +GetKeyboardLayoutNameW=GetKeyboardLayoutNameW@4 +GetKeyboardState=GetKeyboardState@4 +GetKeyboardType=GetKeyboardType@4 +GetLastActivePopup=GetLastActivePopup@4 +GetMenu=GetMenu@4 +GetMenuCheckMarkDimensions=GetMenuCheckMarkDimensions@0 +GetMenuContextHelpId=GetMenuContextHelpId@4 +;_imp__GetMenuContextHelpId=_imp__GetMenuContextHelpId@4 +GetMenuDefaultItem=GetMenuDefaultItem@12 +GetMenuItemCount=GetMenuItemCount@4 +GetMenuItemID=GetMenuItemID@8 +GetMenuItemInfoA=GetMenuItemInfoA@16 +GetMenuItemInfoW=GetMenuItemInfoW@16 +GetMenuItemRect=GetMenuItemRect@16 +GetMenuState=GetMenuState@12 +GetMenuStringA=GetMenuStringA@20 +GetMenuStringW=GetMenuStringW@20 +GetMessageA=GetMessageA@16 +GetMessageExtraInfo=GetMessageExtraInfo@0 +GetMessagePos=GetMessagePos@0 +GetMessageTime=GetMessageTime@0 +GetMessageW=GetMessageW@16 +GetNextDlgGroupItem=GetNextDlgGroupItem@12 +GetNextDlgTabItem=GetNextDlgTabItem@12 +GetOpenClipboardWindow=GetOpenClipboardWindow@0 +GetParent=GetParent@4 +GetPriorityClipboardFormat=GetPriorityClipboardFormat@8 +GetProcessWindowStation=GetProcessWindowStation@0 +GetPropA=GetPropA@8 +GetPropW=GetPropW@8 +GetQueueStatus=GetQueueStatus@4 +GetScrollInfo=GetScrollInfo@12 +GetScrollPos=GetScrollPos@8 +GetScrollRange=GetScrollRange@16 +GetShellWindow=GetShellWindow@0 +GetSubMenu=GetSubMenu@8 +GetSysColor=GetSysColor@4 +GetSysColorBrush=GetSysColorBrush@4 +GetSystemMenu=GetSystemMenu@8 +GetSystemMetrics=GetSystemMetrics@4 +GetTabbedTextExtentA=GetTabbedTextExtentA@20 +GetTabbedTextExtentW=GetTabbedTextExtentW@20 +GetThreadDesktop=GetThreadDesktop@4 +GetTopWindow=GetTopWindow@4 +GetUpdateRect=GetUpdateRect@12 +GetUpdateRgn=GetUpdateRgn@12 +GetUserObjectInformationA=GetUserObjectInformationA@20 +GetUserObjectInformationW=GetUserObjectInformationW@20 +GetUserObjectSecurity=GetUserObjectSecurity@20 +GetWindow=GetWindow@8 +GetWindowContextHelpId=GetWindowContextHelpId@4 +;_imp__GetWindowContextHelpId=_imp__GetWindowContextHelpId@4 +GetWindowDC=GetWindowDC@4 +GetWindowLongA=GetWindowLongA@8 +GetWindowLongW=GetWindowLongW@8 +GetWindowPlacement=GetWindowPlacement@8 +GetWindowRect=GetWindowRect@8 +GetWindowRgn=GetWindowRgn@8 +GetWindowTextA=GetWindowTextA@12 +GetWindowTextLengthA=GetWindowTextLengthA@4 +GetWindowTextLengthW=GetWindowTextLengthW@4 +GetWindowTextW=GetWindowTextW@12 +GetWindowThreadProcessId=GetWindowThreadProcessId@8 +GetWindowWord=GetWindowWord@8 +GrayStringA=GrayStringA@36 +GrayStringW=GrayStringW@36 +HideCaret=HideCaret@4 +HiliteMenuItem=HiliteMenuItem@16 +ImpersonateDdeClientWindow=ImpersonateDdeClientWindow@8 +InSendMessage=InSendMessage@0 +InflateRect=InflateRect@12 +InsertMenuA=InsertMenuA@20 +InsertMenuItemA=InsertMenuItemA@16 +InsertMenuItemW=InsertMenuItemW@16 +InsertMenuW=InsertMenuW@20 +IntersectRect=IntersectRect@12 +InvalidateRect=InvalidateRect@12 +InvalidateRgn=InvalidateRgn@12 +InvertRect=InvertRect@8 +IsCharAlphaA=IsCharAlphaA@4 +IsCharAlphaNumericA=IsCharAlphaNumericA@4 +IsCharAlphaNumericW=IsCharAlphaNumericW@4 +IsCharAlphaW=IsCharAlphaW@4 +IsCharLowerA=IsCharLowerA@4 +IsCharLowerW=IsCharLowerW@4 +IsCharUpperA=IsCharUpperA@4 +IsCharUpperW=IsCharUpperW@4 +IsChild=IsChild@8 +IsClipboardFormatAvailable=IsClipboardFormatAvailable@4 +IsDialogMessage=IsDialogMessage@8 +IsDialogMessageA=IsDialogMessageA@8 +IsDialogMessageW=IsDialogMessageW@8 +IsDlgButtonChecked=IsDlgButtonChecked@8 +IsIconic=IsIconic@4 +IsMenu=IsMenu@4 +IsRectEmpty=IsRectEmpty@4 +IsWindow=IsWindow@4 +IsWindowEnabled=IsWindowEnabled@4 +IsWindowUnicode=IsWindowUnicode@4 +IsWindowVisible=IsWindowVisible@4 +IsZoomed=IsZoomed@4 +KillSystemTimer=KillSystemTimer@8 +KillTimer=KillTimer@8 +LoadAcceleratorsA=LoadAcceleratorsA@8 +LoadAcceleratorsW=LoadAcceleratorsW@8 +LoadBitmapA=LoadBitmapA@8 +LoadBitmapW=LoadBitmapW@8 +LoadCursorA=LoadCursorA@8 +LoadCursorFromFileA=LoadCursorFromFileA@4 +LoadCursorFromFileW=LoadCursorFromFileW@4 +LoadCursorW=LoadCursorW@8 +LoadIconA=LoadIconA@8 +LoadIconW=LoadIconW@8 +LoadImageA=LoadImageA@24 +LoadImageW=LoadImageW@24 +LoadKeyboardLayoutA=LoadKeyboardLayoutA@8 +LoadKeyboardLayoutW=LoadKeyboardLayoutW@8 +LoadMenuA=LoadMenuA@8 +LoadMenuIndirectA=LoadMenuIndirectA@4 +LoadMenuIndirectW=LoadMenuIndirectW@4 +LoadMenuW=LoadMenuW@8 +LoadStringA=LoadStringA@16 +LoadStringW=LoadStringW@16 +LockWindowUpdate=LockWindowUpdate@4 +LookupIconIdFromDirectory=LookupIconIdFromDirectory@8 +LookupIconIdFromDirectoryEx=LookupIconIdFromDirectoryEx@20 +MapDialogRect=MapDialogRect@8 +MapVirtualKeyA=MapVirtualKeyA@8 +MapVirtualKeyExA=MapVirtualKeyExA@12 +MapVirtualKeyExW=MapVirtualKeyExW@12 +MapVirtualKeyW=MapVirtualKeyW@8 +MapWindowPoints=MapWindowPoints@16 +MenuItemFromPoint=MenuItemFromPoint@16 +MessageBeep=MessageBeep@4 +MessageBoxA=MessageBoxA@16 +MessageBoxExA=MessageBoxExA@20 +MessageBoxExW=MessageBoxExW@20 +MessageBoxIndirectA=MessageBoxIndirectA@4 +MessageBoxIndirectW=MessageBoxIndirectW@4 +MessageBoxW=MessageBoxW@16 +ModifyMenuA=ModifyMenuA@20 +ModifyMenuW=ModifyMenuW@20 +MoveWindow=MoveWindow@24 +MsgWaitForMultipleObjects=MsgWaitForMultipleObjects@20 +MsgWaitForMultipleObjectsEx=MsgWaitForMultipleObjectsEx@20 +OemKeyScan=OemKeyScan@4 +OemToCharA=OemToCharA@8 +OemToCharBuffA=OemToCharBuffA@12 +OemToCharBuffW=OemToCharBuffW@12 +OemToCharW=OemToCharW@8 +OffsetRect=OffsetRect@12 +OpenClipboard=OpenClipboard@4 +OpenDesktopA=OpenDesktopA@16 +OpenDesktopW=OpenDesktopW@16 +OpenIcon=OpenIcon@4 +OpenInputDesktop=OpenInputDesktop@12 +OpenWindowStationA=OpenWindowStationA@12 +OpenWindowStationW=OpenWindowStationW@12 +PackDDElParam=PackDDElParam@12 +PaintDesktop=PaintDesktop@4 +PeekMessageA=PeekMessageA@20 +PeekMessageW=PeekMessageW@20 +PostMessageA=PostMessageA@16 +PostMessageW=PostMessageW@16 +PostQuitMessage=PostQuitMessage@4 +PostThreadMessageA=PostThreadMessageA@16 +PostThreadMessageW=PostThreadMessageW@16 +PtInRect=PtInRect@12 +RedrawWindow=RedrawWindow@16 +RegisterClassA=RegisterClassA@4 +RegisterClassExA=RegisterClassExA@4 +RegisterClassExW=RegisterClassExW@4 +RegisterClassW=RegisterClassW@4 +RegisterClipboardFormatA=RegisterClipboardFormatA@4 +RegisterClipboardFormatW=RegisterClipboardFormatW@4 +RegisterHotKey=RegisterHotKey@16 +RegisterWindowMessageA=RegisterWindowMessageA@4 +RegisterWindowMessageW=RegisterWindowMessageW@4 +ReleaseCapture=ReleaseCapture@0 +ReleaseDC=ReleaseDC@8 +RemoveMenu=RemoveMenu@12 +RemovePropA=RemovePropA@8 +RemovePropW=RemovePropW@8 +ReplyMessage=ReplyMessage@4 +ReuseDDElParam=ReuseDDElParam@20 +ScreenToClient=ScreenToClient@8 +ScrollChildren=ScrollChildren@12 +ScrollDC=ScrollDC@28 +ScrollWindow=ScrollWindow@20 +ScrollWindowEx=ScrollWindowEx@32 +SendDlgItemMessageA=SendDlgItemMessageA@20 +SendDlgItemMessageW=SendDlgItemMessageW@20 +SendMessageA=SendMessageA@16 +SendMessageCallbackA=SendMessageCallbackA@24 +SendMessageCallbackW=SendMessageCallbackW@24 +SendMessageTimeoutA=SendMessageTimeoutA@28 +SendMessageTimeoutW=SendMessageTimeoutW@28 +SendMessageW=SendMessageW@16 +SendNotifyMessageA=SendNotifyMessageA@16 +SendNotifyMessageW=SendNotifyMessageW@16 +SetActiveWindow=SetActiveWindow@4 +SetCapture=SetCapture@4 +SetCaretBlinkTime=SetCaretBlinkTime@4 +SetCaretPos=SetCaretPos@8 +SetClassLongA=SetClassLongA@12 +SetClassLongW=SetClassLongW@12 +SetClassWord=SetClassWord@12 +SetClipboardData=SetClipboardData@8 +SetClipboardViewer=SetClipboardViewer@4 +SetCursor=SetCursor@4 +SetCursorPos=SetCursorPos@8 +SetDebugErrorLevel=SetDebugErrorLevel@4 +SetDeskWallpaper=SetDeskWallpaper@4 +SetDlgItemInt=SetDlgItemInt@16 +SetDlgItemTextA=SetDlgItemTextA@12 +SetDlgItemTextW=SetDlgItemTextW@12 +SetDoubleClickTime=SetDoubleClickTime@4 +SetFocus=SetFocus@4 +SetForegroundWindow=SetForegroundWindow@4 +SetKeyboardState=SetKeyboardState@4 +SetLastErrorEx=SetLastErrorEx@8 +SetMenu=SetMenu@8 +SetMenuContextHelpId=SetMenuContextHelpId@8 +;_imp__SetMenuContextHelpId=_imp__SetMenuContextHelpId@8 +SetMenuDefaultItem=SetMenuDefaultItem@12 +SetMenuItemBitmaps=SetMenuItemBitmaps@20 +SetMenuItemInfoA=SetMenuItemInfoA@16 +SetMenuItemInfoW=SetMenuItemInfoW@16 +SetMessageExtraInfo=SetMessageExtraInfo@4 +SetMessageQueue=SetMessageQueue@4 +SetParent=SetParent@8 +SetProcessWindowStation=SetProcessWindowStation@4 +SetPropA=SetPropA@12 +SetPropW=SetPropW@12 +SetRect=SetRect@20 +SetRectEmpty=SetRectEmpty@4 +SetScrollInfo=SetScrollInfo@16 +SetScrollPos=SetScrollPos@16 +SetScrollRange=SetScrollRange@20 +SetShellWindow=SetShellWindow@4 +SetSysColors=SetSysColors@12 +SetSystemCursor=SetSystemCursor@8 +SetSystemMenu=SetSystemMenu@8 +SetSystemTimer=SetSystemTimer@16 +SetThreadDesktop=SetThreadDesktop@4 +SetTimer=SetTimer@16 +SetUserObjectInformationA=SetUserObjectInformationA@16 +SetUserObjectInformationW=SetUserObjectInformationW@16 +SetUserObjectSecurity=SetUserObjectSecurity@12 +SetWindowContextHelpId=SetWindowContextHelpId@8 +;_imp__SetWindowContextHelpId=_imp__SetWindowContextHelpId@8 +SetWindowLongA=SetWindowLongA@12 +SetWindowLongW=SetWindowLongW@12 +SetWindowPlacement=SetWindowPlacement@8 +SetWindowPos=SetWindowPos@28 +SetWindowRgn=SetWindowRgn@12 +SetWindowTextA=SetWindowTextA@8 +SetWindowTextW=SetWindowTextW@8 +SetWindowWord=SetWindowWord@12 +SetWindowsHookA=SetWindowsHookA@8 +SetWindowsHookExA=SetWindowsHookExA@16 +SetWindowsHookExW=SetWindowsHookExW@16 +SetWindowsHookW=SetWindowsHookW@8 +ShowCaret=ShowCaret@4 +ShowCursor=ShowCursor@4 +ShowOwnedPopups=ShowOwnedPopups@8 +ShowScrollBar=ShowScrollBar@12 +ShowWindow=ShowWindow@8 +ShowWindowAsync=ShowWindowAsync@8 +SubtractRect=SubtractRect@12 +SwapMouseButton=SwapMouseButton@4 +SwitchDesktop=SwitchDesktop@4 +SystemParametersInfoA=SystemParametersInfoA@16 +SystemParametersInfoW=SystemParametersInfoW@16 +TabbedTextOutA=TabbedTextOutA@32 +TabbedTextOutW=TabbedTextOutW@32 +TileChildWindows=TileChildWindows@8 +TileWindows=TileWindows@20 +ToAscii=ToAscii@20 +ToAsciiEx=ToAsciiEx@24 +ToUnicode=ToUnicode@24 +ToUnicodeEx=ToUnicodeEx@28 +TrackMouseEvent=TrackMouseEvent@4 +TrackPopupMenu=TrackPopupMenu@28 +TrackPopupMenuEx=TrackPopupMenuEx@24 +TranslateAccelerator=TranslateAccelerator@12 +TranslateAcceleratorA=TranslateAcceleratorA@12 +TranslateAcceleratorW=TranslateAcceleratorW@12 +TranslateMDISysAccel=TranslateMDISysAccel@8 +TranslateMessage=TranslateMessage@4 +UnhookWindowsHook=UnhookWindowsHook@8 +UnhookWindowsHookEx=UnhookWindowsHookEx@4 +UnionRect=UnionRect@12 +UnloadKeyboardLayout=UnloadKeyboardLayout@4 +UnpackDDElParam=UnpackDDElParam@16 +UnregisterClassA=UnregisterClassA@8 +UnregisterClassW=UnregisterClassW@8 +UnregisterHotKey=UnregisterHotKey@8 +UpdateWindow=UpdateWindow@4 +ValidateRect=ValidateRect@8 +ValidateRgn=ValidateRgn@8 +VkKeyScanA=VkKeyScanA@4 +VkKeyScanExA=VkKeyScanExA@8 +VkKeyScanExW=VkKeyScanExW@8 +VkKeyScanW=VkKeyScanW@4 +WaitForInputIdle=WaitForInputIdle@8 +WaitMessage=WaitMessage@0 +WinHelpA=WinHelpA@16 +WinHelpW=WinHelpW@16 +WindowFromDC=WindowFromDC@4 +WindowFromPoint=WindowFromPoint@8 +keybd_event=keybd_event@16 +mouse_event=mouse_event@20 +wsprintfA +wsprintfW +wvsprintfA=wvsprintfA@12 +wvsprintfW=wvsprintfW@12 diff --git a/reactos/makefile.dos b/reactos/makefile.dos new file mode 100644 index 00000000000..2c9e3e13196 --- /dev/null +++ b/reactos/makefile.dos @@ -0,0 +1,142 @@ +# +# Global makefile +# + +# +# Select your host +# +#HOST = mingw32-linux +#HOST = djgpp-msdos +HOST = mingw32-windows + +include rules.mak + +# +# Required to run the system +# +COMPONENTS = iface_native ntoskrnl +#DLLS = ntdll kernel32 crtdll user32 fmifs gdi32 +DLLS = ntdll kernel32 crtdll fmifs gdi32 +#DLLS = crtdll mingw32 +SUBSYS = win32k + +# +# Select the server(s) you want to build +# +SERVERS = win32 +# SERVERS = posix linux os2 + +# +# Select the loader(s) you want to build +# +LOADERS = dos +# LOADERS = boot + +# +# Select the device drivers and filesystems you want +# +DEVICE_DRIVERS = blue ide keyboard mouse null parallel serial vidport +# DEVICE_DRIVERS = beep event floppy ide_test sound test test1 +FS_DRIVERS = vfat +# FS_DRIVERS = minix ext2 template +KERNEL_SERVICES = $(DEVICE_DRIVERS) $(FS_DRIVERS) + +APPS = args hello shell test cat bench +# APPS = cmd + +all: $(COMPONENTS) $(DLLS) $(SUBSYS) $(LOADERS) $(KERNEL_SERVICES) $(APPS) +.PHONY: all + +clean: $(COMPONENTS:%=%_clean) $(DLLS:%=%_clean) $(LOADERS:%=%_clean) \ + $(KERNEL_SERVICES:%=%_clean) $(APPS:%=%_clean) +.PHONY: clean + +# +# Applications +# +$(APPS): %: + make -C apps/$* + +$(APPS:%=%_clean): %_clean: + make -C apps/$* clean + +.PHONY: $(APPS) $(APPS:%=%_clean) + +# +# Interfaces +# +iface_native: + make -C iface/native + +iface_native_clean: + make -C iface/native clean + +.PHONY: iface_native iface_native_clean + +# +# Device driver rules +# +$(DEVICE_DRIVERS): %: + make -C services/dd/$* + +$(DEVICE_DRIVERS:%=%_clean): %_clean: + make -C services/dd/$* clean + +.PHONY: $(DEVICE_DRIVERS) $(DEVICE_DRIVERS:%=%_clean) + +$(FS_DRIVERS): %: + make -C services/fs/$* + +$(FS_DRIVERS:%=%_clean): %_clean: + make -C services/fs/$* clean + +.PHONY: $(FS_DRIVERS) $(FS_DRIVERS:%=%_clean) + +# +# Kernel loaders +# + +$(LOADERS): %: + make -C loaders/$* + +$(LOADERS:%=%_clean): %_clean: + make -C loaders/$* clean + +.PHONY: $(LOADERS) $(LOADERS:%=%_clean) + +# +# Required system components +# + +ntoskrnl: + make -C ntoskrnl + +ntoskrnl_clean: + make -C ntoskrnl clean + +.PHONY: ntoskrnl ntoskrnl_clean + +# +# Required DLLs +# + +$(DLLS): %: + make -C lib/$* + +$(DLLS:%=%_clean): %_clean: + make -C lib/$* clean + +.PHONY: $(DLLS) $(DLLS:%=%_clean) + +# +# Kernel Subsystems +# +$(SUBSYS): %: + make -C subsys/$* + +$(SUBSYS:%=%_clean): %_clean: + make -C lib/$* clean + +.PHONY: $(SUBSYS) $(SUBSYS:%=%_clean) + + diff --git a/reactos/ntoskrnl/ldr/init.c b/reactos/ntoskrnl/ldr/init.c index f423fbc3fcb..b28dad4938c 100644 --- a/reactos/ntoskrnl/ldr/init.c +++ b/reactos/ntoskrnl/ldr/init.c @@ -12,6 +12,7 @@ * RJJ 10/12/98 Rolled in David's code to load COFF drivers * JM 14/12/98 Built initial PE user module loader * RJJ 06/03/99 Moved user PE loader into NTDLL + * EA 19990717 GetSystemDirectory() */ /* INCLUDES *****************************************************************/ @@ -33,406 +34,588 @@ #define NDEBUG #include +#include "syspath.h" + + /* FUNCTIONS ****************************************************************/ -/* LdrLoadImage +/********************************************************************** + * NAME + * LdrLoadImage + * * FUNCTION: * Builds the initial environment for a process. Should be used * to load the initial user process. + * * ARGUMENTS: * HANDLE ProcessHandle handle of the process to load the module into * PUNICODE_STRING Filename name of the module to load + * * RETURNS: * NTSTATUS */ #define STACK_TOP (0xb0000000) -static NTSTATUS LdrCreatePeb(HANDLE ProcessHandle) +static +NTSTATUS +LdrCreatePeb(HANDLE ProcessHandle) { - NTSTATUS Status; - PVOID PebBase; - ULONG PebSize; - NT_PEB Peb; - ULONG BytesWritten; - - PebBase = (PVOID)PEB_BASE; - PebSize = 0x1000; - Status = ZwAllocateVirtualMemory(ProcessHandle, - &PebBase, - 0, - &PebSize, - MEM_COMMIT, - PAGE_READWRITE); - if (!NT_SUCCESS(Status)) - { - return(Status); - } - - - memset(&Peb, 0, sizeof(Peb)); - Peb.StartupInfo = (PPROCESSINFOW)PEB_STARTUPINFO; + NTSTATUS Status; + PVOID PebBase; + ULONG PebSize; + NT_PEB Peb; + ULONG BytesWritten; - ZwWriteVirtualMemory(ProcessHandle, - (PVOID)PEB_BASE, - &Peb, - sizeof(Peb), - &BytesWritten); - - return(STATUS_SUCCESS); -} - -NTSTATUS LdrLoadImage(HANDLE ProcessHandle, PUNICODE_STRING Filename) -{ - char BlockBuffer[1024]; - DWORD ImageBase, LdrStartupAddr, StackBase; - ULONG ImageSize, StackSize; - NTSTATUS Status; - OBJECT_ATTRIBUTES FileObjectAttributes; - HANDLE FileHandle, SectionHandle, NTDllSectionHandle, ThreadHandle; - HANDLE DupNTDllSectionHandle; - CONTEXT Context; - UNICODE_STRING DllPathname; - PIMAGE_DOS_HEADER DosHeader; - PIMAGE_NT_HEADERS NTHeaders; - ULONG BytesWritten; - ULONG InitialViewSize; - ULONG i; - HANDLE DupSectionHandle; - - /* Locate and open NTDLL to determine ImageBase and LdrStartup */ - RtlInitUnicodeString(&DllPathname,L"\\??\\C:\\reactos\\system\\ntdll.dll"); - InitializeObjectAttributes(&FileObjectAttributes, - &DllPathname, - 0, - NULL, - NULL); - DPRINT("Opening NTDLL\n"); - Status = ZwOpenFile(&FileHandle, - FILE_ALL_ACCESS, - &FileObjectAttributes, - NULL, - 0, - 0); - if (!NT_SUCCESS(Status)) - { - DPRINT("NTDLL open failed "); - DbgPrintErrorMessage(Status); - return Status; - } - Status = ZwReadFile(FileHandle, 0, 0, 0, 0, BlockBuffer, 1024, 0, 0); - if (!NT_SUCCESS(Status)) - { - DPRINT("NTDLL header read failed "); - DbgPrintErrorMessage(Status); - ZwClose(FileHandle); - - return Status; - } - /* FIXME: this will fail if the NT headers are more than 1024 bytes from start */ - DosHeader = (PIMAGE_DOS_HEADER) BlockBuffer; - if (DosHeader->e_magic != IMAGE_DOS_MAGIC || - DosHeader->e_lfanew == 0L || - *(PULONG)((PUCHAR)BlockBuffer + DosHeader->e_lfanew) != IMAGE_PE_MAGIC) - { - DPRINT("NTDLL format invalid\n"); - ZwClose(FileHandle); - - return STATUS_UNSUCCESSFUL; - } - NTHeaders = (PIMAGE_NT_HEADERS)(BlockBuffer + DosHeader->e_lfanew); - ImageBase = NTHeaders->OptionalHeader.ImageBase; - ImageSize = NTHeaders->OptionalHeader.SizeOfImage; - /* FIXME: retrieve the offset of LdrStartup from NTDLL */ - DPRINT("ImageBase %x\n",ImageBase); - LdrStartupAddr = ImageBase + NTHeaders->OptionalHeader.AddressOfEntryPoint; - - /* Create a section for NTDLL */ - Status = ZwCreateSection(&NTDllSectionHandle, - SECTION_ALL_ACCESS, - NULL, - NULL, - PAGE_READWRITE, - MEM_COMMIT, - FileHandle); - if (!NT_SUCCESS(Status)) - { - DPRINT("NTDLL create section failed "); - DbgPrintErrorMessage(Status); - ZwClose(FileHandle); - - return Status; - } - - /* Map the NTDLL into the process */ - InitialViewSize = DosHeader->e_lfanew + sizeof(IMAGE_NT_HEADERS) - + sizeof(IMAGE_SECTION_HEADER) * NTHeaders->FileHeader.NumberOfSections; - Status = ZwMapViewOfSection(NTDllSectionHandle, - ProcessHandle, - (PVOID *)&ImageBase, - 0, - InitialViewSize, - NULL, - &InitialViewSize, - 0, - MEM_COMMIT, - PAGE_READWRITE); - if (!NT_SUCCESS(Status)) - { - DPRINT("NTDLL map view of secion failed "); - DbgPrintErrorMessage(Status); - - /* FIXME: destroy the section here */ - - ZwClose(FileHandle); - - return Status; - } - for (i=0; iFileHeader.NumberOfSections; i++) - { - PIMAGE_SECTION_HEADER Sections; - LARGE_INTEGER Offset; - ULONG Base; - - Sections = (PIMAGE_SECTION_HEADER)SECHDROFFSET(BlockBuffer); - Base = Sections[i].VirtualAddress + ImageBase; - Offset.u.LowPart = Sections[i].PointerToRawData; - Offset.u.HighPart = 0; - Status = ZwMapViewOfSection(NTDllSectionHandle, - ProcessHandle, - (PVOID *)&Base, - 0, - Sections[i].Misc.VirtualSize, - &Offset, - (PULONG)&Sections[i].Misc.VirtualSize, - 0, - MEM_COMMIT, - PAGE_READWRITE); + PebBase = (PVOID)PEB_BASE; + PebSize = 0x1000; + Status = ZwAllocateVirtualMemory( + ProcessHandle, + & PebBase, + 0, + & PebSize, + MEM_COMMIT, + PAGE_READWRITE + ); if (!NT_SUCCESS(Status)) - { - DPRINT("NTDLL map view of secion failed "); - DbgPrintErrorMessage(Status); - - /* FIXME: destroy the section here */ - - ZwClose(FileHandle); - return Status; - } - } - ZwClose(FileHandle); - - /* Open process image to determine ImageBase and StackBase/Size */ - InitializeObjectAttributes(&FileObjectAttributes, - Filename, - 0, - NULL, - NULL); - DPRINT("Opening image file %w\n",FileObjectAttributes.ObjectName->Buffer); - Status = ZwOpenFile(&FileHandle, FILE_ALL_ACCESS, &FileObjectAttributes, - NULL, 0, 0); - if (!NT_SUCCESS(Status)) - { - DPRINT("Image open failed "); - DbgPrintErrorMessage(Status); - - return Status; - } - Status = ZwReadFile(FileHandle, 0, 0, 0, 0, BlockBuffer, 1024, 0, 0); - if (!NT_SUCCESS(Status)) - { - DPRINT("Image header read failed "); - DbgPrintErrorMessage(Status); - ZwClose(FileHandle); - - return Status; - } - - /* FIXME: this will fail if the NT headers are more than 1024 bytes from start */ - - DosHeader = (PIMAGE_DOS_HEADER) BlockBuffer; - if (DosHeader->e_magic != IMAGE_DOS_MAGIC || - DosHeader->e_lfanew == 0L || - *(PULONG)((PUCHAR)BlockBuffer + DosHeader->e_lfanew) != IMAGE_PE_MAGIC) - { - DPRINT("Image invalid format rc=%08lx\n", Status); - ZwClose(FileHandle); - - return STATUS_UNSUCCESSFUL; - } - NTHeaders = (PIMAGE_NT_HEADERS)(BlockBuffer + DosHeader->e_lfanew); - ImageBase = NTHeaders->OptionalHeader.ImageBase; - ImageSize = NTHeaders->OptionalHeader.SizeOfImage; - - /* Create a section for the image */ - Status = ZwCreateSection(&SectionHandle, - SECTION_ALL_ACCESS, - NULL, - NULL, - PAGE_READWRITE, - MEM_COMMIT, - FileHandle); - if (!NT_SUCCESS(Status)) - { - DPRINT("Image create section failed "); - DbgPrintErrorMessage(Status); - ZwClose(FileHandle); - - return Status; - } - - /* Map the image into the process */ - InitialViewSize = DosHeader->e_lfanew + sizeof(IMAGE_NT_HEADERS) - + sizeof(IMAGE_SECTION_HEADER) * NTHeaders->FileHeader.NumberOfSections; - DPRINT("InitialViewSize %x\n",InitialViewSize); - Status = ZwMapViewOfSection(SectionHandle, - ProcessHandle, - (PVOID *)&ImageBase, - 0, - InitialViewSize, - NULL, - &InitialViewSize, - 0, - MEM_COMMIT, - PAGE_READWRITE); - if (!NT_SUCCESS(Status)) - { - DPRINT("Image map view of section failed "); - DbgPrintErrorMessage(Status); - - /* FIXME: destroy the section here */ - - ZwClose(FileHandle); - - return Status; - } - ZwClose(FileHandle); - - /* Create page backed section for stack */ - StackBase = (STACK_TOP - NTHeaders->OptionalHeader.SizeOfStackReserve); - StackSize = NTHeaders->OptionalHeader.SizeOfStackReserve; - Status = ZwAllocateVirtualMemory(ProcessHandle, - (PVOID *)&StackBase, - 0, - &StackSize, - MEM_COMMIT, - PAGE_READWRITE); - if (!NT_SUCCESS(Status)) - { - DPRINT("Stack allocation failed "); - DbgPrintErrorMessage(Status); - - /* FIXME: unmap the section here */ - /* FIXME: destroy the section here */ - - return Status; - } - - ZwDuplicateObject(NtCurrentProcess(), - &SectionHandle, - ProcessHandle, - &DupSectionHandle, - 0, - FALSE, - DUPLICATE_SAME_ACCESS); - ZwDuplicateObject(NtCurrentProcess(), - &NTDllSectionHandle, - ProcessHandle, - &DupNTDllSectionHandle, - 0, - FALSE, - DUPLICATE_SAME_ACCESS); - - ZwWriteVirtualMemory(ProcessHandle, - (PVOID)(STACK_TOP - 4), - &DupNTDllSectionHandle, - sizeof(DupNTDllSectionHandle), - &BytesWritten); - ZwWriteVirtualMemory(ProcessHandle, - (PVOID)(STACK_TOP - 8), - &ImageBase, - sizeof(ImageBase), - &BytesWritten); - ZwWriteVirtualMemory(ProcessHandle, - (PVOID)(STACK_TOP - 12), - &DupSectionHandle, - sizeof(DupSectionHandle), - &BytesWritten); + { + return(Status); + } - /* - * Create a peb (grungy) - */ - Status = LdrCreatePeb(ProcessHandle); - if (!NT_SUCCESS(Status)) - { - DbgPrint("LDR: Failed to create initial peb\n"); - return(Status); - } - - /* Initialize context to point to LdrStartup */ - memset(&Context,0,sizeof(CONTEXT)); - Context.SegSs = USER_DS; - Context.Esp = STACK_TOP - 16; - Context.EFlags = 0x202; - Context.SegCs = USER_CS; - Context.Eip = LdrStartupAddr; - Context.SegDs = USER_DS; - Context.SegEs = USER_DS; - Context.SegFs = USER_DS; - Context.SegGs = USER_DS; - - DPRINT("LdrStartupAddr %x\n",LdrStartupAddr); - /* FIXME: Create process and let 'er rip */ - Status = ZwCreateThread(&ThreadHandle, - THREAD_ALL_ACCESS, - NULL, - ProcessHandle, - NULL, - &Context, - NULL, - FALSE); - if (!NT_SUCCESS(Status)) - { - DPRINT("Thread creation failed "); - DbgPrintErrorMessage(Status); + memset( + & Peb, + 0, + sizeof Peb + ); + Peb.StartupInfo = (PPROCESSINFOW) PEB_STARTUPINFO; - /* FIXME: destroy the stack memory block here */ - /* FIXME: unmap the section here */ - /* FIXME: destroy the section here */ - - return Status; - } - - return STATUS_SUCCESS; + ZwWriteVirtualMemory( + ProcessHandle, + (PVOID) PEB_BASE, + & Peb, + sizeof Peb, + & BytesWritten + ); + + return(STATUS_SUCCESS); } -NTSTATUS LdrLoadInitialProcess(VOID) + +NTSTATUS +LdrLoadImage ( + HANDLE ProcessHandle, + PUNICODE_STRING Filename + ) +{ + CHAR BlockBuffer [1024]; + DWORD ImageBase; + DWORD LdrStartupAddr; + DWORD StackBase; + ULONG ImageSize; + ULONG StackSize; + NTSTATUS Status; + OBJECT_ATTRIBUTES FileObjectAttributes; + HANDLE FileHandle; + HANDLE SectionHandle; + HANDLE NTDllSectionHandle; + HANDLE ThreadHandle; + HANDLE DupNTDllSectionHandle; + CONTEXT Context; + UNICODE_STRING DllPathname; + PIMAGE_DOS_HEADER DosHeader; + PIMAGE_NT_HEADERS NTHeaders; + ULONG BytesWritten; + ULONG InitialViewSize; + ULONG i; + HANDLE DupSectionHandle; + + WCHAR TmpNameBuffer [MAX_PATH]; + + +/* -- PART I -- */ + + /* + * Locate and open NTDLL to determine ImageBase + * and LdrStartup + */ + GetSystemDirectory( + TmpNameBuffer, + sizeof TmpNameBuffer + ); + wcscat( + TmpNameBuffer, + L"\\ntdll.dll" + ); + RtlInitUnicodeString( + & DllPathname, + TmpNameBuffer + ); + InitializeObjectAttributes( + & FileObjectAttributes, + & DllPathname, + 0, + NULL, + NULL + ); + DPRINT("Opening NTDLL\n"); + Status = ZwOpenFile( + & FileHandle, + FILE_ALL_ACCESS, + & FileObjectAttributes, + NULL, + 0, + 0 + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("NTDLL open failed "); + DbgPrintErrorMessage(Status); + + return Status; + } + Status = ZwReadFile( + FileHandle, + 0, + 0, + 0, + 0, + BlockBuffer, + sizeof BlockBuffer, + 0, + 0 + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("NTDLL header read failed "); + DbgPrintErrorMessage(Status); + ZwClose(FileHandle); + + return Status; + } + /* + * FIXME: this will fail if the NT headers are + * more than 1024 bytes from start. + */ + DosHeader = (PIMAGE_DOS_HEADER) BlockBuffer; + NTHeaders = (PIMAGE_NT_HEADERS) (BlockBuffer + DosHeader->e_lfanew); + if ( + (DosHeader->e_magic != IMAGE_DOS_MAGIC) + || (DosHeader->e_lfanew == 0L) + || (*(PULONG) NTHeaders != IMAGE_PE_MAGIC) + ) + { + DPRINT("NTDLL format invalid\n"); + ZwClose(FileHandle); + + return STATUS_UNSUCCESSFUL; + } + ImageBase = NTHeaders->OptionalHeader.ImageBase; + ImageSize = NTHeaders->OptionalHeader.SizeOfImage; + /* + * FIXME: retrieve the offset of LdrStartup from NTDLL + */ + DPRINT("ImageBase %x\n",ImageBase); + LdrStartupAddr = + ImageBase + + NTHeaders->OptionalHeader.AddressOfEntryPoint; + /* + * Create a section for NTDLL + */ + Status = ZwCreateSection( + & NTDllSectionHandle, + SECTION_ALL_ACCESS, + NULL, + NULL, + PAGE_READWRITE, + MEM_COMMIT, + FileHandle + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("NTDLL create section failed "); + DbgPrintErrorMessage(Status); + ZwClose(FileHandle); + + return Status; + } + /* + * Map the NTDLL into the process + */ + InitialViewSize = + DosHeader->e_lfanew + + sizeof (IMAGE_NT_HEADERS) + + ( sizeof (IMAGE_SECTION_HEADER) + * NTHeaders->FileHeader.NumberOfSections + ); + Status = ZwMapViewOfSection( + NTDllSectionHandle, + ProcessHandle, + (PVOID *) & ImageBase, + 0, + InitialViewSize, + NULL, + & InitialViewSize, + 0, + MEM_COMMIT, + PAGE_READWRITE + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("NTDLL map view of secion failed "); + DbgPrintErrorMessage(Status); + + /* FIXME: destroy the section here */ + + ZwClose(FileHandle); + + return Status; + } + for ( i = 0; + (i < NTHeaders->FileHeader.NumberOfSections); + i++ + ) + { + PIMAGE_SECTION_HEADER Sections; + LARGE_INTEGER Offset; + ULONG Base; + + Sections = + (PIMAGE_SECTION_HEADER) SECHDROFFSET(BlockBuffer); + Base = + Sections[i].VirtualAddress + + ImageBase; + Offset.u.LowPart = + Sections[i].PointerToRawData; + Offset.u.HighPart = + 0; + Status = ZwMapViewOfSection( + NTDllSectionHandle, + ProcessHandle, + (PVOID *) & Base, + 0, + Sections[i].Misc.VirtualSize, + & Offset, + (PULONG) & Sections[i].Misc.VirtualSize, + 0, + MEM_COMMIT, + PAGE_READWRITE + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("NTDLL map view of secion failed "); + DbgPrintErrorMessage(Status); + + /* FIXME: destroy the section here */ + + ZwClose(FileHandle); + return Status; + } + } + ZwClose(FileHandle); + +/* -- PART II -- */ + + /* + * Open process image to determine ImageBase + * and StackBase/Size. + */ + InitializeObjectAttributes( + & FileObjectAttributes, + Filename, + 0, + NULL, + NULL + ); + DPRINT( + "Opening image file %w\n", + FileObjectAttributes.ObjectName->Buffer + ); + Status = ZwOpenFile( + & FileHandle, + FILE_ALL_ACCESS, + & FileObjectAttributes, + NULL, + 0, + 0 + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("Image open failed "); + DbgPrintErrorMessage(Status); + + return Status; + } + Status = ZwReadFile( + FileHandle, + 0, + 0, + 0, + 0, + BlockBuffer, + sizeof BlockBuffer, + 0, + 0 + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("Image header read failed "); + DbgPrintErrorMessage(Status); + ZwClose(FileHandle); + + return Status; + } + /* + * FIXME: this will fail if the NT headers + * are more than 1024 bytes from start. + */ + DosHeader = (PIMAGE_DOS_HEADER) BlockBuffer; + NTHeaders = + (PIMAGE_NT_HEADERS) (BlockBuffer + DosHeader->e_lfanew); + if ( + (DosHeader->e_magic != IMAGE_DOS_MAGIC) + || (DosHeader->e_lfanew == 0L) + || (*(PULONG) NTHeaders != IMAGE_PE_MAGIC) + ) + { + DPRINT("Image invalid format rc=%08lx\n", Status); + ZwClose(FileHandle); + + return STATUS_UNSUCCESSFUL; + } + ImageBase = NTHeaders->OptionalHeader.ImageBase; + ImageSize = NTHeaders->OptionalHeader.SizeOfImage; + /* + * Create a section for the image + */ + Status = ZwCreateSection( + & SectionHandle, + SECTION_ALL_ACCESS, + NULL, + NULL, + PAGE_READWRITE, + MEM_COMMIT, + FileHandle + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("Image create section failed "); + DbgPrintErrorMessage(Status); + ZwClose(FileHandle); + + return Status; + } + /* + * Map the image into the process + */ + InitialViewSize = + DosHeader->e_lfanew + + sizeof (IMAGE_NT_HEADERS) + + ( + sizeof(IMAGE_SECTION_HEADER) + * NTHeaders->FileHeader.NumberOfSections + ); + DPRINT("InitialViewSize %x\n",InitialViewSize); + Status = ZwMapViewOfSection( + SectionHandle, + ProcessHandle, + (PVOID *) & ImageBase, + 0, + InitialViewSize, + NULL, + & InitialViewSize, + 0, + MEM_COMMIT, + PAGE_READWRITE + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("Image map view of section failed "); + DbgPrintErrorMessage(Status); + + /* FIXME: destroy the section here */ + + ZwClose(FileHandle); + + return Status; + } + ZwClose(FileHandle); + +/* -- PART III -- */ + + /* + * Create page backed section for stack + */ + StackBase = ( + STACK_TOP + - NTHeaders->OptionalHeader.SizeOfStackReserve + ); + StackSize = + NTHeaders->OptionalHeader.SizeOfStackReserve; + + Status = ZwAllocateVirtualMemory( + ProcessHandle, + (PVOID *) & StackBase, + 0, + & StackSize, + MEM_COMMIT, + PAGE_READWRITE + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("Stack allocation failed "); + DbgPrintErrorMessage(Status); + + /* FIXME: unmap the section here */ + /* FIXME: destroy the section here */ + + return Status; + } + + ZwDuplicateObject( + NtCurrentProcess(), + & SectionHandle, + ProcessHandle, + & DupSectionHandle, + 0, + FALSE, + DUPLICATE_SAME_ACCESS + ); + ZwDuplicateObject( + NtCurrentProcess(), + & NTDllSectionHandle, + ProcessHandle, + &DupNTDllSectionHandle, + 0, + FALSE, + DUPLICATE_SAME_ACCESS + ); + + ZwWriteVirtualMemory( + ProcessHandle, + (PVOID) (STACK_TOP - 4), + & DupNTDllSectionHandle, + sizeof (DupNTDllSectionHandle), + & BytesWritten + ); + ZwWriteVirtualMemory( + ProcessHandle, + (PVOID) (STACK_TOP - 8), + & ImageBase, + sizeof (ImageBase), + & BytesWritten + ); + ZwWriteVirtualMemory( + ProcessHandle, + (PVOID) (STACK_TOP - 12), + & DupSectionHandle, + sizeof (DupSectionHandle), + & BytesWritten + ); + /* + * Create a peb (grungy) + */ + Status = LdrCreatePeb(ProcessHandle); + if (!NT_SUCCESS(Status)) + { + DbgPrint("LDR: Failed to create initial peb\n"); + return (Status); + } + /* + * Initialize context to point to LdrStartup + */ + memset(&Context,0,sizeof(CONTEXT)); + Context.SegSs = USER_DS; + Context.Esp = STACK_TOP - 16; + Context.EFlags = 0x202; + Context.SegCs = USER_CS; + Context.Eip = LdrStartupAddr; + Context.SegDs = USER_DS; + Context.SegEs = USER_DS; + Context.SegFs = USER_DS; + Context.SegGs = USER_DS; + + DPRINT("LdrStartupAddr %x\n",LdrStartupAddr); + /* + * FIXME: Create process and let 'er rip + */ + Status = ZwCreateThread( + & ThreadHandle, + THREAD_ALL_ACCESS, + NULL, + ProcessHandle, + NULL, + & Context, + NULL, + FALSE + ); + if (!NT_SUCCESS(Status)) + { + DPRINT("Thread creation failed "); + DbgPrintErrorMessage(Status); + + /* FIXME: destroy the stack memory block here */ + /* FIXME: unmap the section here */ + /* FIXME: destroy the section here */ + + return Status; + } + + return STATUS_SUCCESS; +} + + /* * FIXME: The location of the initial process should be configurable, * from command line or registry */ +NTSTATUS +LdrLoadInitialProcess (VOID) { - NTSTATUS Status; - HANDLE ProcessHandle; - UNICODE_STRING ProcessName; + NTSTATUS Status; + HANDLE ProcessHandle; + UNICODE_STRING ProcessName; + WCHAR TmpNameBuffer [MAX_PATH]; - Status = ZwCreateProcess(&ProcessHandle, - PROCESS_ALL_ACCESS, - NULL, - SystemProcessHandle, - FALSE, - NULL, - NULL, - NULL); - if (!NT_SUCCESS(Status)) - { - DbgPrint("Could not create process\n"); - return Status; - } - - RtlInitUnicodeString(&ProcessName, L"\\??\\C:\\reactos\\system\\shell.exe"); - Status = LdrLoadImage(ProcessHandle, &ProcessName); + + Status = ZwCreateProcess( + & ProcessHandle, + PROCESS_ALL_ACCESS, + NULL, + SystemProcessHandle, + FALSE, + NULL, + NULL, + NULL + ); + if (!NT_SUCCESS(Status)) + { + DbgPrint("Could not create process\n"); + return Status; + } + /* + * Get the system directory's name (a DOS device + * alias name which is in \\??\\). + */ + GetSystemDirectory( + TmpNameBuffer, + sizeof TmpNameBuffer + ); + wcscat( + TmpNameBuffer, + L"\\shell.exe" /* FIXME: should be smss.exe */ + ); + RtlInitUnicodeString( + & ProcessName, + TmpNameBuffer + ); + Status = LdrLoadImage( + ProcessHandle, + & ProcessName + ); - return Status; + return Status; } + +/* EOF */ diff --git a/reactos/ntoskrnl/ldr/loader.c b/reactos/ntoskrnl/ldr/loader.c index fbe47ea26ad..475b4f0a681 100644 --- a/reactos/ntoskrnl/ldr/loader.c +++ b/reactos/ntoskrnl/ldr/loader.c @@ -1,4 +1,5 @@ -/* +/* $Id: loader.c,v 1.30 1999/07/17 23:10:26 ea Exp $ + * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * FILE: ntoskrnl/ldr/loader.c @@ -34,6 +35,9 @@ #define NDEBUG #include +#include "syspath.h" + + /* FIXME: this should appear in a kernel header file */ NTSTATUS IoInitializeDriver(PDRIVER_INITIALIZE DriverEntry); @@ -168,33 +172,65 @@ VOID LdrInitModuleManagement(VOID) /* * load the auto config drivers. */ -VOID LdrLoadAutoConfigDrivers(VOID) +static +VOID +LdrLoadAutoConfigDriver ( + LPWSTR RelativeDriverName + ) { - NTSTATUS Status; - ANSI_STRING AnsiDriverName; - UNICODE_STRING DriverName; + WCHAR TmpFileName [MAX_PATH]; + NTSTATUS Status; + UNICODE_STRING DriverName; - RtlInitAnsiString(&AnsiDriverName,"\\??\\C:\\reactos\\system\\drivers\\keyboard.sys"); - RtlAnsiStringToUnicodeString(&DriverName, &AnsiDriverName, TRUE); - Status = LdrLoadDriver(&DriverName); - RtlFreeUnicodeString(&DriverName); - if (!NT_SUCCESS(Status)) - { - DbgPrint("driver load failed, status;%d(%x)\n", Status, Status); - DbgPrintErrorMessage(Status); - } - RtlInitAnsiString(&AnsiDriverName,"\\??\\C:\\reactos\\system\\drivers\\blue.sys"); - RtlAnsiStringToUnicodeString(&DriverName, &AnsiDriverName, TRUE); - Status = LdrLoadDriver(&DriverName); - RtlFreeUnicodeString(&DriverName); - if (!NT_SUCCESS(Status)) - { - DbgPrint("driver load failed, status;%d(%x)\n", Status, Status); - DbgPrintErrorMessage(Status); - } - + GetSystemDirectory( + TmpFileName, + (MAX_PATH * sizeof(WCHAR)) + ); + wcscat( + TmpFileName, + L"\\drivers\\" + ); + wcscat( + TmpFileName, + RelativeDriverName + ); + + DriverName.Buffer = + TmpFileName; + DriverName.Length = + wcslen(TmpFileName) + * sizeof (WCHAR); + DriverName.MaximumLength = + DriverName.Length + + sizeof(WCHAR); + + Status = LdrLoadDriver(&DriverName); + if (!NT_SUCCESS(Status)) + { + DbgPrint( + "driver load failed, status;%d(%x)\n", + Status, + Status + ); + DbgPrintErrorMessage(Status); + } } + +VOID +LdrLoadAutoConfigDrivers (VOID) +{ + /* + * Keyboard driver + */ + LdrLoadAutoConfigDriver( L"keyboard.sys" ); + /* + * Raw console driver + */ + LdrLoadAutoConfigDriver( L"blue.sys" ); +} + + static NTSTATUS LdrCreateModule(PVOID ObjectBody, PVOID Parent, diff --git a/reactos/ntoskrnl/ldr/pedump.c b/reactos/ntoskrnl/ldr/pedump.c index 6e4d8c74ddf..3c56286c79f 100644 --- a/reactos/ntoskrnl/ldr/pedump.c +++ b/reactos/ntoskrnl/ldr/pedump.c @@ -39,7 +39,7 @@ // // File: pedump.c ( I included header file into source file. ) -# include "ccx.h" +//# include "ccx.h" //typedef char CHAR; //typedef short WCHAR; diff --git a/reactos/ntoskrnl/ldr/syspath.c b/reactos/ntoskrnl/ldr/syspath.c new file mode 100644 index 00000000000..6dae0f8e424 --- /dev/null +++ b/reactos/ntoskrnl/ldr/syspath.c @@ -0,0 +1,90 @@ +/* $Id: syspath.c,v 1.1 1999/07/17 23:10:27 ea Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * FILE: ntoskrnl/ldr/syspath.c + * PURPOSE: Get system path + * PROGRAMMERS: EA + * UPDATE HISTORY: + * EA 19990717 GetSystemDirectory() + */ + +/* INCLUDES *****************************************************************/ + +#include +#include +#include +#include + + +/********************************************************************** + * NAME + * GetSystemDirectory + * + * DESCRIPTION + * Get the ReactOS system directory from the registry. + * (since registry does not work yet, fill the buffer + * with a literal which will remain as the default). + * + * RETURN VALUE + * NULL on error; otherwise SystemDirectoryName. + * + * REVISIONS + * 19990717 (EA) + */ +LPWSTR +GetSystemDirectory ( + LPWSTR SystemDirectoryName, + DWORD Size + ) +{ + LPWSTR DosDev = L"\\??\\"; + LPWSTR SDName = L"C:\\reactos\\system32"; + + if ( (NULL == SystemDirectoryName) + || ( + ( + (wcslen(DosDev) + + wcslen(SDName) + + 1 + ) + * sizeof (WCHAR) + ) + > Size + ) + ) + { + DbgPrint("GetSystemDirectory() failed\n"); + return NULL; + } + /* + * Prefix with the dos devices aliases + * directory, since the system directory + * is always given as a dos name by users + * (in the registry/by the boot loader?). + */ + wcscpy( + SystemDirectoryName, + L"\\??\\" + ); + if (FALSE) + { + /* + * FIXME: get the system directory + * from the registry. + */ + } + else + { + /* Default value */ + wcscat( + SystemDirectoryName, + SDName + ); + } + + return SystemDirectoryName; +} + + +/* EOF */ diff --git a/reactos/ntoskrnl/ldr/syspath.h b/reactos/ntoskrnl/ldr/syspath.h new file mode 100644 index 00000000000..3aa1b7bf6fd --- /dev/null +++ b/reactos/ntoskrnl/ldr/syspath.h @@ -0,0 +1,6 @@ +LPWSTR +GetSystemDirectory ( + LPWSTR SystemDirectoryName, + DWORD Size + ); + diff --git a/reactos/ntoskrnl/makefile_rex b/reactos/ntoskrnl/makefile_rex index a179e253389..dff7cb7971e 100644 --- a/reactos/ntoskrnl/makefile_rex +++ b/reactos/ntoskrnl/makefile_rex @@ -1,4 +1,4 @@ -# $Id: makefile_rex,v 1.27 1999/07/16 23:37:05 rex Exp $ +# $Id: makefile_rex,v 1.28 1999/07/17 23:10:25 ea Exp $ # # ReactOS Operating System # @@ -55,7 +55,7 @@ CM_OBJECTS = cm/registry.o DBG_OBJECTS = dbg/brkpoint.o dbg/errinfo.o -LDR_OBJECTS = ldr/loader.o ldr/init.o +LDR_OBJECTS = ldr/loader.o ldr/init.o ldr/syspath.o CC_OBJECTS = cc/cacheman.o cc/view.o @@ -134,6 +134,7 @@ $(TARGET).exe: $(OBJECTS) $(TARGET).def $(DLLTOOL) \ --dllname $(TARGET).exe \ --def $(TARGET).def \ + --kill-at \ --output-lib $(TARGET).a $(CC) \ $(TARGET).o \ @@ -152,7 +153,7 @@ $(TARGET).exe: $(OBJECTS) $(TARGET).def --dllname $(TARGET).exe \ --base-file base.tmp \ --output-exp temp.exp \ - --def $(TARGET).def + --def $(TARGET).edf - $(RM) base.tmp $(CC) \ $(TARGET).o \ diff --git a/reactos/ntoskrnl/nt/misc.c b/reactos/ntoskrnl/nt/misc.c index 4b0bdcf5d5a..1b02f422813 100644 --- a/reactos/ntoskrnl/nt/misc.c +++ b/reactos/ntoskrnl/nt/misc.c @@ -16,17 +16,9 @@ /* FUNCTIONS *****************************************************************/ -NTSTATUS STDCALL NtWriteRequestData(VOID) -{ - UNIMPLEMENTED; -} - NTSTATUS STDCALL NtVdmControl(VOID) { UNIMPLEMENTED; } -NTSTATUS STDCALL NtReadRequestData(VOID) -{ - UNIMPLEMENTED; -} +/* EOF */ diff --git a/reactos/ntoskrnl/nt/port.c b/reactos/ntoskrnl/nt/port.c index 0d2726ad091..192b3ad9aa4 100644 --- a/reactos/ntoskrnl/nt/port.c +++ b/reactos/ntoskrnl/nt/port.c @@ -1,4 +1,5 @@ -/* +/* $Id: port.c,v 1.7 1999/07/17 23:10:28 ea Exp $ + * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * FILE: ntoskrnl/nt/port.c @@ -280,12 +281,25 @@ NTSTATUS STDCALL NtQueryInformationPort(VOID) UNIMPLEMENTED; } +NTSTATUS +STDCALL +NtReadRequestData(VOID) +{ + UNIMPLEMENTED; +} + +NTSTATUS +STDCALL +NtWriteRequestData(VOID) +{ + UNIMPLEMENTED; +} #else NTSTATUS STDCALL NtAcceptConnectPort ( /* @24 */ IN HANDLE PortHandle, - DWORD a1, + OUT PHANDLE ConnectedPort, DWORD a2, DWORD a3, DWORD a4, @@ -309,15 +323,14 @@ NtCompleteConnectPort ( /* @4 */ NTSTATUS STDCALL NtConnectPort ( /* @32 */ - IN HANDLE PortHandle, - DWORD a1, - DWORD a2, - DWORD a3, - DWORD a4, - DWORD a5, - DWORD a6, - DWORD a7, - DWORD a8 + OUT PHANDLE ConnectedPort, + IN PUNICODE_STRING PortName, + IN POBJECT_ATTRIBUTES PortAttributes, + IN DWORD a3, + IN DWORD a4, + IN DWORD a5, + IN DWORD a6, + IN ULONG Flags ) { UNIMPLEMENTED; @@ -330,8 +343,8 @@ NtCreatePort ( /* @20 */ OUT PHANDLE PortHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, - IN DWORD a3, - IN DWORD a4 + IN DWORD a3, /* unknown */ + IN DWORD a4 /* unknown */ ) { UNIMPLEMENTED; @@ -432,6 +445,24 @@ NtRequestWaitReplyPort ( /* @12 */ } +/********************************************************************** + * NAME SYSTEM + * NtReadRequestData NOT EXPORTED + * + * DESCRIPTION + * Probably used only for FastLPC, to read data from the + * recipient's address space directly. + * + * ARGUMENTS + * + * RETURN VALUE + * + * NOTE + * The number of arguments is the same as in NT's. + * + * REVISIONS + * + */ NTSTATUS STDCALL NtReadRequestData ( /* @24 */ @@ -447,6 +478,24 @@ NtReadRequestData ( /* @24 */ } +/********************************************************************** + * NAME SYSTEM + * NtWriteRequestData NOT EXPORTED + * + * DESCRIPTION + * Probably used only for FastLPC, to write data in the + * recipient's address space directly. + * + * ARGUMENTS + * + * RETURN VALUE + * + * NOTE + * The number of arguments is the same as in NT's. + * + * REVISIONS + * + */ NTSTATUS STDCALL NtWriteRequestData ( /* @24 */ diff --git a/reactos/ntoskrnl/ntoskrnl.def b/reactos/ntoskrnl/ntoskrnl.def index dc9f1673e32..5919efea90c 100644 --- a/reactos/ntoskrnl/ntoskrnl.def +++ b/reactos/ntoskrnl/ntoskrnl.def @@ -1,4 +1,14 @@ +; $Id: ntoskrnl.def,v 1.13 1999/07/17 23:10:26 ea Exp $ +; +; reactos/ntoskrnl/ntoskrnl.def +; +; ReactOS Operating System +; EXPORTS +CcInitializeFileCache +CcRequestCachePage +CcReleaseCachePage +CcReleaseFileCache DbgPrint ExAcquireResourceExclusive ExAcquireResourceExclusiveLite @@ -71,7 +81,7 @@ KeBugCheck KeBugCheckEx KeFlushIoBuffers KeGetCurrentIrql -KeGetPreviousMode = KeGetPreviousMode@0 +KeGetPreviousMode@0 KeInitializeDpc KeInitializeEvent KeInitializeSpinLock @@ -111,6 +121,56 @@ IoStartTimer IoStopTimer MmGetSystemAddressForMdl MmMapIoSpace +NtAddAtom@8 +NtAdjustPrivilegesToken@24 +NtAllocateLocallyUniqueId@4 +NtAllocateUuids@12 +NtAllocateVirtualMemory@24 +;NtBuildNumber <--- variable? +NtClose@4 +;NtConnectPort@32 +NtConnectPort@8 +NtCreateEvent@20 +NtCreateFile@44 +NtCreateSection@28 +NtDeleteAtom@4 +NtDeleteFile@4 +NtDeviceIoControlFile@40 +NtDuplicateObject@28 +NtDuplicateToken@24 +NtFindAtom@8 +NtFreeVirtualMemory@16 +NtFsControlFile@40 +;NtGlobalFlag <--- variable? +NtLockFile@40 +NtMapViewOfSection@40 +NtNotifyChangeDirectoryFile@36 +NtOpenFile@24 +NtOpenProcess@16 +NtOpenProcessToken@12 +NtQueryDirectoryFile@44 +NtQueryEaFile@36 +;NtQueryInformationAtom <--- ? +NtQueryInformationFile@20 +NtQueryInformationProcess@20 +NtQueryInformationToken@20 +;NtQueryOleDirectoryFile@ <--- ? +NtQuerySecurityObject@20 +NtQueryVolumeInformationFile@20 +NtReadFile@36 +;NtRequestPort@8 +NtRequestPort@20 +;NtRequestWaitReplyPort@8 +NtRequestWaitReplyPort@0 +NtSetEvent@8 +NtSetInformationFile@20 +NtSetInformationProcess@16 +NtSetInformationThread@16 +NtSetSecurityObject@12 +NtUnlockFile@20 +;NtVdmControl@8 <--- ? +NtWaitForSingleObject@12 +NtWriteFile@36 RtlAnsiStringToUnicodeString RtlCompareMemory RtlConvertLongToLargeInteger @@ -128,88 +188,83 @@ RtlMoveMemory RtlTimeFieldsToTime RtlTimeToTimeFields RtlZeroMemory -CcInitializeFileCache -CcRequestCachePage -CcReleaseCachePage -CcReleaseFileCache -ZwAccessCheckAndAuditAlarm = ZwAccessCheckAndAuditAlarm@44 -ZwAlertThread = ZwAlertThread@4 -ZwAllocateVirtualMemory = ZwAllocateVirtualMemory@24 -ZwClearEvent = ZwClearEvent@4 -ZwClose = ZwClose@4 -ZwCloseObjectAuditAlarm = ZwCloseObjectAuditAlarm@12 -ZwConnectPort = ZwConnectPort@32 -ZwCreateDirectoryObject = ZwCreateDirectoryObject@12 +ZwAccessCheckAndAuditAlarm@44 +ZwAlertThread@4 +ZwAllocateVirtualMemory@24 +ZwClearEvent@4 +ZwClose@4 +ZwCloseObjectAuditAlarm@12 +ZwConnectPort@32 ZwCreateDirectoryObject@12 -ZwCreateEvent = ZwCreateEvent@20 -ZwCreateFile = ZwCreateFile@44 -ZwCreateKey = ZwCreateKey@28 -ZwCreateSection = ZwCreateSection@28 -ZwCreateSymbolicLinkObject = ZwCreateSymbolicLinkObject@16 -ZwDeleteFile = ZwDeleteFile@4 -ZwDeleteKey = ZwDeleteKey@4 -ZwDeleteValueKey = ZwDeleteValueKey@8 -ZwDeviceIoControlFile = ZwDeviceIoControlFile@40 -ZwDisplayString = ZwDisplayString@4 -ZwDuplicateObject = ZwDuplicateObject@28 -ZwDuplicateToken = ZwDuplicateToken@24 -ZwEnumerateKey = ZwEnumerateKey@24 -ZwEnumerateValueKey = ZwEnumerateValueKey@24 -ZwFlushInstructionCache = ZwFlushInstructionCache@12 -ZwFlushKey = ZwFlushKey@4 -ZwFreeVirtualMemory = ZwFreeVirtualMemory@16 -ZwFsControlFile = ZwFsControlFile@40 -ZwLoadDriver = ZwLoadDriver@4 -ZwLoadKey = ZwLoadKey@8 -ZwMakeTemporaryObject = ZwMakeTemporaryObject@4 -ZwMapViewOfSection = ZwMapViewOfSection@40 -ZwNotifyChangeKey = ZwNotifyChangeKey@40 -ZwOpenDirectoryObject = ZwOpenDirectoryObject@12 -ZwOpenEvent = ZwOpenEvent@12 -ZwOpenFile = ZwOpenFile@24 -ZwOpenKey = ZwOpenKey@12 -ZwOpenProcess = ZwOpenProcess@16 -ZwOpenProcessToken = ZwOpenProcessToken@12 -ZwOpenSection = ZwOpenSection@12 -ZwOpenSymbolicLinkObject = ZwOpenSymbolicLinkObject@12 -ZwOpenThread = ZwOpenThread@16 -ZwOpenThreadToken = ZwOpenThreadToken@16 -ZwPulseEvent = ZwPulseEvent@8 -ZwQueryDefaultLocale = ZwQueryDefaultLocale@8 -ZwQueryDirectoryFile = ZwQueryDirectoryFile@44 -ZwQueryInformationFile = ZwQueryInformationFile@20 -ZwQueryInformationProcess = ZwQueryInformationProcess@20 -ZwQueryInformationToken = ZwQueryInformationToken@20 -ZwQueryKey = ZwQueryKey@20 -ZwQueryObject = ZwQueryObject@20 -ZwQuerySection = ZwQuerySection@20 -ZwQuerySecurityObject = ZwQuerySecurityObject@20 -ZwQuerySymbolicLinkObject = ZwQuerySymbolicLinkObject@12 -ZwQuerySystemInformation = ZwQuerySystemInformation@16 -ZwQueryValueKey = ZwQueryValueKey@24 -ZwQueryVolumeInformationFile = ZwQueryVolumeInformationFile@20 -ZwReadFile = ZwReadFile@36 -ZwReplaceKey = ZwReplaceKey@12 -ZwRequestWaitReplyPort = ZwRequestWaitReplyPort@12 -ZwResetEvent = ZwResetEvent@8 -ZwSaveKey = ZwSaveKey@8 -ZwSetDefaultLocale = ZwSetDefaultLocale@8 -ZwSetEvent = ZwSetEvent@8 -ZwSetInformationFile = ZwSetInformationFile@20 -ZwSetInformationObject = ZwSetInformationObject@16 -ZwSetInformationProcess = ZwSetInformationProcess@16 -ZwSetInformationThread = ZwSetInformationThread@16 -ZwSetSystemInformation = ZwSetSystemInformation@12 -ZwSetSystemTime = ZwSetSystemTime@8 -ZwSetValueKey = ZwSetValueKey@24 -ZwTerminateProcess = ZwTerminateProcess@8 -ZwUnloadDriver = ZwUnloadDriver@4 -ZwUnloadKey = ZwUnloadKey@4 -ZwUnmapViewOfSection = ZwUnmapViewOfSection@8 -ZwWaitForMultipleObjects = ZwWaitForMultipleObjects@20 -ZwWaitForSingleObject = ZwWaitForSingleObject@12 -ZwWriteFile = ZwWriteFile@36 -ZwYieldExecution = ZwYieldExecution@0 +ZwCreateEvent@20 +ZwCreateFile@44 +ZwCreateKey@28 +ZwCreateSection@28 +ZwCreateSymbolicLinkObject@16 +ZwDeleteFile@4 +ZwDeleteKey@4 +ZwDeleteValueKey@8 +ZwDeviceIoControlFile@40 +ZwDisplayString@4 +ZwDuplicateObject@28 +ZwDuplicateToken@24 +ZwEnumerateKey@24 +ZwEnumerateValueKey@24 +ZwFlushInstructionCache@12 +ZwFlushKey@4 +ZwFreeVirtualMemory@16 +ZwFsControlFile@40 +ZwLoadDriver@4 +ZwLoadKey@8 +ZwMakeTemporaryObject@4 +ZwMapViewOfSection@40 +ZwNotifyChangeKey@40 +ZwOpenDirectoryObject@12 +ZwOpenEvent@12 +ZwOpenFile@24 +ZwOpenKey@12 +ZwOpenProcess@16 +ZwOpenProcessToken@12 +ZwOpenSection@12 +ZwOpenSymbolicLinkObject@12 +ZwOpenThread@16 +ZwOpenThreadToken@16 +ZwPulseEvent@8 +ZwQueryDefaultLocale@8 +ZwQueryDirectoryFile@44 +ZwQueryInformationFile@20 +ZwQueryInformationProcess@20 +ZwQueryInformationToken@20 +ZwQueryKey@20 +ZwQueryObject@20 +ZwQuerySection@20 +ZwQuerySecurityObject@20 +ZwQuerySymbolicLinkObject@12 +ZwQuerySystemInformation@16 +ZwQueryValueKey@24 +ZwQueryVolumeInformationFile@20 +ZwReadFile@36 +ZwReplaceKey@12 +ZwRequestWaitReplyPort@12 +ZwResetEvent@8 +ZwSaveKey@8 +ZwSetDefaultLocale@8 +ZwSetEvent@8 +ZwSetInformationFile@20 +ZwSetInformationObject@16 +ZwSetInformationProcess@16 +ZwSetInformationThread@16 +ZwSetSystemInformation@12 +ZwSetSystemTime@8 +ZwSetValueKey@24 +ZwTerminateProcess@8 +ZwUnloadDriver@4 +ZwUnloadKey@4 +ZwUnmapViewOfSection@8 +ZwWaitForMultipleObjects@20 +ZwWaitForSingleObject@12 +ZwWriteFile@36 +ZwYieldExecution@0 isdigit islower isprint diff --git a/reactos/ntoskrnl/ntoskrnl.edf b/reactos/ntoskrnl/ntoskrnl.edf new file mode 100644 index 00000000000..904222b2f44 --- /dev/null +++ b/reactos/ntoskrnl/ntoskrnl.edf @@ -0,0 +1,288 @@ +; $Id: ntoskrnl.edf,v 1.1 1999/07/17 23:10:26 ea Exp $ +; +; reactos/ntoskrnl/ntoskrnl.def +; +; ReactOS Operating System +; +EXPORTS +CcInitializeFileCache +CcRequestCachePage +CcReleaseCachePage +CcReleaseFileCache +DbgPrint +ExAcquireResourceExclusive +ExAcquireResourceExclusiveLite +ExAcquireResourceSharedLite +ExAcquireSharedStarveExclusive +ExAcquireSharedWaitForExclusive +ExAllocateFromNPagedLookasideList +ExAllocateFromPagedLookasideList +ExAllocateFromZone +ExAllocatePool +ExAllocatePoolWithQuota +;ExAllocatePoolWithQuotaTag +ExAllocatePoolWithTag +ExConvertExclusiveToSharedLite +ExDeleteNPagedLookasideList +ExDeletePagedLookasideList +ExDeleteResource +ExDeleteResourceLite +ExExtendZone +ExFreePool +ExFreeToNPagedLookasideList +ExFreeToPagedLookasideList +ExFreeToZone +ExGetCurrentResourceThread +ExGetExclusiveWaiterCount +ExGetSharedWaiterCount +ExInitializeFastMutex +ExInitializeNPagedLookasideList +ExInitializePagedLookasideList +ExInitializeResource +ExInitializeResourceLite +ExInitializeSListHead +ExInitializeWorkItem +ExInitializeZone +ExInterlockedAddLargeInteger +ExInterlockedAddUlong +ExInterlockedAllocateFromZone +ExInterlockedDecrementLong +ExInterlockedExchangeUlong +ExInterlockedExtendZone +ExInterlockedFreeToZone +ExInterlockedIncrementLong +ExInterlockedInsertHeadList +ExInterlockedInsertTailList +ExInterlockedPopEntryList +ExInterlockedPopEntrySList +ExInterlockedPushEntryList +ExInterlockedPushEntrySList +ExInterlockedRemoveHeadList +ExIsFullZone +ExIsObjectInFirstZoneSegment +ExIsResourceAcquiredExclusiveLite +ExIsResourceAcquiredSharedLite +ExLocalTimeToSystemTime +ExQueryDepthSListHead +ExQueueWorkItem +ExRaiseStatus +ExReinitializeResourceLite +ExReleaseFastMutex +ExReleaseFastMutexUnsafe +ExReleaseResource +ExReleaseResourceForThread +ExReleaseResourceForThreadLite +ExSystemTimeToLocalTime +ExTryToAcquireFastMutex +ExTryToAcquireResourceExclusiveLite +HalGetInterruptVector +HalRegisterServiceTable +KeBugCheck +KeBugCheckEx +KeFlushIoBuffers +KeGetCurrentIrql +KeGetPreviousMode=KeGetPreviousMode@0 +KeInitializeDpc +KeInitializeEvent +KeInitializeSpinLock +KeInsertQueueDpc +KeLowerIrql +KeStallExecutionProcessor +KeSynchronizeExecution +KeRaiseIrql +KeWaitForSingleObject +HalGetBusDataByOffset +HalSetBusDataByOffset +InitializeObjectAttributes +IoAllocateController +IoAttachDeviceToDeviceStack +IoBuildSynchronousFsdRequest +IoCallDriver +IoCompleteRequest +IoConnectInterrupt +IoCreateController +IoCreateDevice +IoCreateStreamFileObject +IoCreateSymbolicLink +IoDeleteController +IoDeleteDevice +IoDisconnectInterrupt +IoFreeController +IoGetCurrentIrpStackLocation +IoInitializeDpcRequest +IoInitializeTimer +IoMarkIrpPending +IoRegisterFileSystem +IoRequestDpc +IoStartPacket +IoStartNextPacket +IoStartNextPacketByKey +IoStartTimer +IoStopTimer +MmGetSystemAddressForMdl +MmMapIoSpace +NtAddAtom=NtAddAtom@8 +NtAdjustPrivilegesToken=NtAdjustPrivilegesToken@24 +NtAllocateLocallyUniqueId=NtAllocateLocallyUniqueId@4 +NtAllocateUuids=NtAllocateUuids@12 +NtAllocateVirtualMemory=NtAllocateVirtualMemory@24 +;NtBuildNumber <--- variable? +NtClose=NtClose@4 +;NtConnectPort=;NtConnectPort@32 +NtConnectPort=NtConnectPort@8 +NtCreateEvent=NtCreateEvent@20 +NtCreateFile=NtCreateFile@44 +NtCreateSection=NtCreateSection@28 +NtDeleteAtom=NtDeleteAtom@4 +NtDeleteFile=NtDeleteFile@4 +NtDeviceIoControlFile=NtDeviceIoControlFile@40 +NtDuplicateObject=NtDuplicateObject@28 +NtDuplicateToken=NtDuplicateToken@24 +NtFindAtom=NtFindAtom@8 +NtFreeVirtualMemory=NtFreeVirtualMemory@16 +NtFsControlFile=NtFsControlFile@40 +;NtGlobalFlag <--- variable? +NtLockFile=NtLockFile@40 +NtMapViewOfSection=NtMapViewOfSection@40 +NtNotifyChangeDirectoryFile=NtNotifyChangeDirectoryFile@36 +NtOpenFile=NtOpenFile@24 +NtOpenProcess=NtOpenProcess@16 +NtOpenProcessToken=NtOpenProcessToken@12 +NtQueryDirectoryFile=NtQueryDirectoryFile@44 +NtQueryEaFile=NtQueryEaFile@36 +;NtQueryInformationAtom <--- ? +NtQueryInformationFile=NtQueryInformationFile@20 +NtQueryInformationProcess=NtQueryInformationProcess@20 +NtQueryInformationToken=NtQueryInformationToken@20 +;NtQueryOleDirectoryFile=;NtQueryOleDirectoryFile@ <--- ? +NtQuerySecurityObject=NtQuerySecurityObject@20 +NtQueryVolumeInformationFile=NtQueryVolumeInformationFile@20 +NtReadFile=NtReadFile@36 +;NtRequestPort=;NtRequestPort@8 +NtRequestPort=NtRequestPort@20 +;NtRequestWaitReplyPort=;NtRequestWaitReplyPort@8 +NtRequestWaitReplyPort=NtRequestWaitReplyPort@0 +NtSetEvent=NtSetEvent@8 +NtSetInformationFile=NtSetInformationFile@20 +NtSetInformationProcess=NtSetInformationProcess@16 +NtSetInformationThread=NtSetInformationThread@16 +NtSetSecurityObject=NtSetSecurityObject@12 +NtUnlockFile=NtUnlockFile@20 +;NtVdmControl=;NtVdmControl@8 <--- ? +NtWaitForSingleObject=NtWaitForSingleObject@12 +NtWriteFile=NtWriteFile@36 +RtlAnsiStringToUnicodeString +RtlCompareMemory +RtlConvertLongToLargeInteger +RtlConvertUlongToLargeInteger +RtlCopyMemory +RtlEnlargedIntegerMultiply +RtlExtendedIntegerMultiply +RtlFreeUnicodeString +RtlInitAnsiString +RtlInitUnicodeString +RtlLargeIntegerAdd +RtlLargeIntegerGreaterThan +RtlLargeIntegerShiftRight +RtlMoveMemory +RtlTimeFieldsToTime +RtlTimeToTimeFields +RtlZeroMemory +ZwAccessCheckAndAuditAlarm=ZwAccessCheckAndAuditAlarm@44 +ZwAlertThread=ZwAlertThread@4 +ZwAllocateVirtualMemory=ZwAllocateVirtualMemory@24 +ZwClearEvent=ZwClearEvent@4 +ZwClose=ZwClose@4 +ZwCloseObjectAuditAlarm=ZwCloseObjectAuditAlarm@12 +ZwConnectPort=ZwConnectPort@32 +ZwCreateDirectoryObject=ZwCreateDirectoryObject@12 +ZwCreateEvent=ZwCreateEvent@20 +ZwCreateFile=ZwCreateFile@44 +ZwCreateKey=ZwCreateKey@28 +ZwCreateSection=ZwCreateSection@28 +ZwCreateSymbolicLinkObject=ZwCreateSymbolicLinkObject@16 +ZwDeleteFile=ZwDeleteFile@4 +ZwDeleteKey=ZwDeleteKey@4 +ZwDeleteValueKey=ZwDeleteValueKey@8 +ZwDeviceIoControlFile=ZwDeviceIoControlFile@40 +ZwDisplayString=ZwDisplayString@4 +ZwDuplicateObject=ZwDuplicateObject@28 +ZwDuplicateToken=ZwDuplicateToken@24 +ZwEnumerateKey=ZwEnumerateKey@24 +ZwEnumerateValueKey=ZwEnumerateValueKey@24 +ZwFlushInstructionCache=ZwFlushInstructionCache@12 +ZwFlushKey=ZwFlushKey@4 +ZwFreeVirtualMemory=ZwFreeVirtualMemory@16 +ZwFsControlFile=ZwFsControlFile@40 +ZwLoadDriver=ZwLoadDriver@4 +ZwLoadKey=ZwLoadKey@8 +ZwMakeTemporaryObject=ZwMakeTemporaryObject@4 +ZwMapViewOfSection=ZwMapViewOfSection@40 +ZwNotifyChangeKey=ZwNotifyChangeKey@40 +ZwOpenDirectoryObject=ZwOpenDirectoryObject@12 +ZwOpenEvent=ZwOpenEvent@12 +ZwOpenFile=ZwOpenFile@24 +ZwOpenKey=ZwOpenKey@12 +ZwOpenProcess=ZwOpenProcess@16 +ZwOpenProcessToken=ZwOpenProcessToken@12 +ZwOpenSection=ZwOpenSection@12 +ZwOpenSymbolicLinkObject=ZwOpenSymbolicLinkObject@12 +ZwOpenThread=ZwOpenThread@16 +ZwOpenThreadToken=ZwOpenThreadToken@16 +ZwPulseEvent=ZwPulseEvent@8 +ZwQueryDefaultLocale=ZwQueryDefaultLocale@8 +ZwQueryDirectoryFile=ZwQueryDirectoryFile@44 +ZwQueryInformationFile=ZwQueryInformationFile@20 +ZwQueryInformationProcess=ZwQueryInformationProcess@20 +ZwQueryInformationToken=ZwQueryInformationToken@20 +ZwQueryKey=ZwQueryKey@20 +ZwQueryObject=ZwQueryObject@20 +ZwQuerySection=ZwQuerySection@20 +ZwQuerySecurityObject=ZwQuerySecurityObject@20 +ZwQuerySymbolicLinkObject=ZwQuerySymbolicLinkObject@12 +ZwQuerySystemInformation=ZwQuerySystemInformation@16 +ZwQueryValueKey=ZwQueryValueKey@24 +ZwQueryVolumeInformationFile=ZwQueryVolumeInformationFile@20 +ZwReadFile=ZwReadFile@36 +ZwReplaceKey=ZwReplaceKey@12 +ZwRequestWaitReplyPort=ZwRequestWaitReplyPort@12 +ZwResetEvent=ZwResetEvent@8 +ZwSaveKey=ZwSaveKey@8 +ZwSetDefaultLocale=ZwSetDefaultLocale@8 +ZwSetEvent=ZwSetEvent@8 +ZwSetInformationFile=ZwSetInformationFile@20 +ZwSetInformationObject=ZwSetInformationObject@16 +ZwSetInformationProcess=ZwSetInformationProcess@16 +ZwSetInformationThread=ZwSetInformationThread@16 +ZwSetSystemInformation=ZwSetSystemInformation@12 +ZwSetSystemTime=ZwSetSystemTime@8 +ZwSetValueKey=ZwSetValueKey@24 +ZwTerminateProcess=ZwTerminateProcess@8 +ZwUnloadDriver=ZwUnloadDriver@4 +ZwUnloadKey=ZwUnloadKey@4 +ZwUnmapViewOfSection=ZwUnmapViewOfSection@8 +ZwWaitForMultipleObjects=ZwWaitForMultipleObjects@20 +ZwWaitForSingleObject=ZwWaitForSingleObject@12 +ZwWriteFile=ZwWriteFile@36 +ZwYieldExecution=ZwYieldExecution@0 +isdigit +islower +isprint +isspace +isupper +isxdigit +memchr +memcpy +memmove +memset +strtok +tolower +toupper +towlower +towupper +vsprintf +wcschr +wcscpy +wcslen +wcsncpy +wcsncat diff --git a/reactos/rules.mak b/reactos/rules.mak index f35db51ce97..c5b9ecacef2 100644 --- a/reactos/rules.mak +++ b/reactos/rules.mak @@ -61,10 +61,16 @@ endif CC = $(PREFIX)gcc NATIVE_CC = gcc -CFLAGS = -O2 -I../../../include -I../../include \ - -I../include -fno-builtin $(LEAN_AND_MEAN_DEFINE) \ - $(DEFINES) -Wall -Wstrict-prototypes $(DEBUGGING_CFLAGS) \ - $(EXTRA_CFLAGS) +CFLAGS = \ + -pipe \ + -O2 \ + -I../../../include \ + -I../../include \ + -I../include \ + -fno-builtin $(LEAN_AND_MEAN_DEFINE) \ + $(DEFINES) -Wall \ + -Wstrict-prototypes $(DEBUGGING_CFLAGS) \ + $(EXTRA_CFLAGS) CXXFLAGS = $(CFLAGS) NFLAGS = -i../../include/ -i../include/ -pinternal/asm.inc -f$(NASM_FORMAT) -d$(NASM_FORMAT) LD = $(PREFIX)ld diff --git a/reactos/services/lsass/init.c b/reactos/services/lsass/init.c new file mode 100644 index 00000000000..9152d4e3f92 --- /dev/null +++ b/reactos/services/lsass/init.c @@ -0,0 +1,43 @@ +/* $Id: init.c,v 1.1 1999/07/17 23:10:29 ea Exp $ + * + * init.c - Local Security Manager Initialization + * + * ReactOS Operating System + * + * -------------------------------------------------------------------- + * + * This software is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING.LIB. If not, write + * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, + * MA 02139, USA. + * + * -------------------------------------------------------------------- + * + * 19990704 (Emanuele Aliberti) + * Compiled successfully with egcs 1.1.2 + */ +#include + +BOOL +InitLsa( + HANDLE Children[] + ) +{ + /* FIXME: create the \SeLsaCommandPort LPC port */ + /* FIXME: create the \LsaAuthenticationPort LPC port */ + return TRUE; +} + + +/* EOF */ + diff --git a/reactos/services/lsass/lsasrv.def b/reactos/services/lsass/lsasrv.def new file mode 100644 index 00000000000..602d8383451 --- /dev/null +++ b/reactos/services/lsass/lsasrv.def @@ -0,0 +1,68 @@ +; $Id: lsasrv.def,v 1.1 1999/07/17 23:10:29 ea Exp $ +LIBRARY lsasrv +EXPORTS +LsaIAuditNotifyPackageLoad +LsaIAuditSamEvent +LsaIEnumerateSecrets +LsaIFree_LSAI_PRIVATE_DATA +LsaIFree_LSAI_SECRET_ENUM_BUFFER +LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER +LsaIFree_LSAPR_CR_CIPHER_VALUE +LsaIFree_LSAPR_POLICY_INFORMATION +LsaIFree_LSAPR_PRIVILEGE_ENUM_BUFFER +LsaIFree_LSAPR_PRIVILEGE_SET +LsaIFree_LSAPR_REFERENCED_DOMAIN_LIST +LsaIFree_LSAPR_SR_SECURITY_DESCRIPTOR +LsaIFree_LSAPR_TRANSLATED_NAMES +LsaIFree_LSAPR_TRANSLATED_SIDS +LsaIFree_LSAPR_TRUSTED_DOMAIN_INFO +LsaIFree_LSAPR_TRUSTED_ENUM_BUFFER +LsaIFree_LSAPR_TRUST_INFORMATION +LsaIFree_LSAPR_UNICODE_STRING +LsaIGetPrivateData +LsaIGetSerialNumberPolicy +LsaIGetSerialNumberPolicy2 +LsaIHealthCheck +LsaIInitializeWellKnownSids +LsaIOpenPolicyTrusted +LsaIQueryInformationPolicyTrusted +LsaISetPrivateData +LsaISetSerialNumberPolicy +LsaISetTimesSecret +LsaISetupWasRun +LsapAuOpenSam +LsapInitLsa +LsarAddPrivilegesToAccount +LsarClose +LsarCreateAccount +LsarCreateSecret +LsarCreateTrustedDomain +LsarDelete +LsarEnumerateAccounts +LsarEnumeratePrivileges +LsarEnumeratePrivilegesAccount +LsarEnumerateTrustedDomains +LsarGetQuotasForAccount +LsarGetSystemAccessAccount +LsarLookupNames +LsarLookupPrivilegeDisplayName +LsarLookupPrivilegeName +LsarLookupPrivilegeValue +LsarLookupSids +LsarOpenAccount +LsarOpenPolicy +LsarOpenSecret +LsarOpenTrustedDomain +LsarQueryInfoTrustedDomain +LsarQueryInformationPolicy +LsarQuerySecret +LsarQuerySecurityObject +LsarRemovePrivilegesFromAccount +LsarSetInformationPolicy +LsarSetInformationTrustedDomain +LsarSetQuotasForAccount +LsarSetSecret +LsarSetSecurityObject +LsarSetSystemAccessAccount +ServiceInit + diff --git a/reactos/services/lsass/lsass.c b/reactos/services/lsass/lsass.c new file mode 100644 index 00000000000..99841504965 --- /dev/null +++ b/reactos/services/lsass/lsass.c @@ -0,0 +1,72 @@ +/* $Id: lsass.c,v 1.1 1999/07/17 23:10:29 ea Exp $ + * + * reactos/services/lsass/lsass.c + * + * ReactOS Operating System + * + * -------------------------------------------------------------------- + * + * This software is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING.LIB. If not, write + * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, + * MA 02139, USA. + * + * -------------------------------------------------------------------- + * + * 19990704 (Emanuele Aliberti) + * Compiled successfully with egcs 1.1.2 + */ +#include +#include + +BOOL InitLsa(VOID); /* ./init.c */ + + +void +DisplayString( LPCWSTR lpwString ) +{ + UNICODE_STRING us; + + us.Buffer = (LPWSTR) lpwString; + us.Length = wcslen(lpwString) * sizeof (WCHAR); + us.MaximumLength = us.Length + sizeof (WCHAR); + NtDisplayString( & us ); +} + + +/* Native image's entry point */ + +void +NtProcessStartup( PSTARTUP_ARGUMENT StartupArgument ) +{ + DisplayString( L"Local Security Authority Subsystem:\n" ); + DisplayString( L"\tInitializing...\n" ); + + if (TRUE == InitLsa()) + { + DisplayString( L"\tInitialization OK\n" ); + /* FIXME: do nothing loop */ + while (TRUE) + { + NtYieldExecution(); + } + } + else + { + DisplayString( L"\tInitialization failed!\n" ); + } + NtTerminateProcess( NtCurrentProcess(), 0 ); +} + + +/* EOF */ diff --git a/reactos/services/lsass/lsass.rc b/reactos/services/lsass/lsass.rc new file mode 100644 index 00000000000..a266a9af4e0 --- /dev/null +++ b/reactos/services/lsass/lsass.rc @@ -0,0 +1,38 @@ +#include "../../include/defines.h" +#include "../../include/reactos/resource.h" + +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US + +VS_VERSION_INFO VERSIONINFO + FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD + PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", RES_STR_COMPANY_NAME + VALUE "FileDescription", "Local Security Authority\0" + VALUE "FileVersion", RES_STR_FILE_VERSION + VALUE "InternalName", "lsass\0" + VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT + VALUE "OriginalFilename", "lsass.exe\0" + VALUE "ProductName", RES_STR_PRODUCT_NAME + VALUE "ProductVersion", RES_STR_PRODUCT_VERSION + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + diff --git a/reactos/services/lsass/makefile b/reactos/services/lsass/makefile new file mode 100644 index 00000000000..38de765eaab --- /dev/null +++ b/reactos/services/lsass/makefile @@ -0,0 +1,36 @@ +# $Id: makefile,v 1.1 1999/07/17 23:10:29 ea Exp $ +# +# Local Security Authority Subsystem +# +# ReactOS Operating System +# +TARGET=lsass + +OBJECTS = $(TARGET).o init.o $(TARGET).coff + +LIBS = ../../lib/ntdll/ntdll.a + +all: $(TARGET).exe + +.phony: all + +clean: + - $(RM) $(TARGET).o + - $(RM) $(TARGET).exe + - $(RM) $(TARGET).sym + - $(RM) $(TARGET).coff + +.phony: clean + +$(TARGET).coff: $(TARGET).rc + $(RC) $(TARGET).rc $(TARGET).coff + +$(TARGET).exe: $(OBJECTS) $(LIBS) + $(LD) \ + $(OBJECTS) \ + $(LIBS) \ + -o $(TARGET).exe \ + --subsystem native + $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym + +include ../../rules.mak diff --git a/reactos/services/winlogon/init.c b/reactos/services/winlogon/init.c index 9e87ab06b17..40868f85f16 100644 --- a/reactos/services/winlogon/init.c +++ b/reactos/services/winlogon/init.c @@ -1,6 +1,6 @@ -/* $Id: init.c,v 1.1 1999/06/18 22:40:47 ea Exp $ +/* $Id: init.c,v 1.2 1999/07/17 23:10:29 ea Exp $ * - * resctos/services/winlogon/init.c + * reactos/services/winlogon/init.c * */ #include @@ -10,11 +10,11 @@ Initialize(VOID) { /* SERVICES CONTROLLER */ NtCreateProcess( - L"\\\\??\\C:\reactos\system\services.exe" + L"\\\\??\\C:\\reactos\\system\\services.exe" ); /* LOCAL SECURITY AUTORITY SUBSYSTEM */ NtCreateProcess( - L"\\\\??\\C:\reactos\system\lsass.exe" + L"\\\\??\\C:\\reactos\\system\\lsass.exe" ); return TRUE; } diff --git a/reactos/services/winlogon/winlogon.c b/reactos/services/winlogon/winlogon.c index fd3ede494af..109dd84d41e 100644 --- a/reactos/services/winlogon/winlogon.c +++ b/reactos/services/winlogon/winlogon.c @@ -1,4 +1,5 @@ -/* +/* $Id: winlogon.c,v 1.4 1999/07/17 23:10:30 ea Exp $ + * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * FILE: services/winlogon/winlogon.c @@ -86,6 +87,13 @@ HasSystemActiveSession (VOID) * * DESCRIPTION * Graphical login procedure + * + * NOTE + * Read values from + * + * HKEY_LOCAL-MACHINE + * SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon + * */ VOID GuiLogin (VOID) @@ -112,6 +120,13 @@ GuiMonitor (VOID) * * DESCRIPTION * Text mode (console) login procedure + * + * NOTE + * Read values from + * + * HKEY_LOCAL-MACHINE + * SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon + * */ VOID CuiLogin (VOID) @@ -211,20 +226,45 @@ Use the Task Manager to close an application that is not responding.\n\n\ } +HANDLE +ConnectToSmApiPort(VOID) +{ + HANDLE PortHandle; + NTSTATUS Status = STATUS_SUCCESS; + UNICODE_STRING SmApiPort; + LPWSTR PortName = L"\\SmApiPort"; + OBJECT_ATTRIBUTES PortAttributes = {0}; + + SmApiPort.Length = wcslen(PortName) * sizeof (WCHAR); + SmApiPort.MaxLength = SmApiPort.Length + sizeof (WCHAR); + SmApiPort.Buffer = PortName; + Status = NtConnectPort( + & PortHandle, + & SmApiPort, + & PortAttributes, /* FIXME: ? */ + 0, /* FIXME: ? */ + 0, /* FIXME: ? */ + 0, /* FIXME: ? */ + 0, /* FIXME: ? */ + 0x00010000 /* FIXME: ? */ + ); + return (NT_SUCCESS(Status)) + ? PortHandle + : INVALID_HANDLE_VALUE; +} + + /* Native process entry point */ void NtProcessStartup( PSTARTUP_ARGUMENT StartupArgument ) { - NTSTATUS Status = STATUS_SUCCESS; + NTSTATUS Status = STATUS_SUCCESS; /* FIXME: connnect to the Session Manager * for LPC calls */ - Status = NtConnectPort( - "\\SmApiPort", - & SM - ); - if (!NT_SUCCESS(Status)) + SM = ConnectToSmApiPort(); + if (INVALID_HANDLE_VALUE == SM) { NtTerminateProcess( NtCurrentProcess(), diff --git a/reactos/subsys/csrss/api.h b/reactos/subsys/csrss/api.h index 5c49ff50c0f..bcd7106bef4 100644 --- a/reactos/subsys/csrss/api.h +++ b/reactos/subsys/csrss/api.h @@ -1,13 +1,13 @@ -#include +#include -LPC_RETURN_CODE +DWORD CSR_CreateProcess ( - PLPC_REQUEST_REPLY pLpcRequestReply + PLPC_MESSAGE pLpcMessage ); -LPC_RETURN_CODE +DWORD CSR_TerminateProcess( - PLPC_REQUEST_REPLY pLpcRequestReply + PLPC_MESSAGE pLpcMessage ); diff --git a/reactos/subsys/csrss/api/process.c b/reactos/subsys/csrss/api/process.c index 7cb1c884bb2..1835d011bce 100644 --- a/reactos/subsys/csrss/api/process.c +++ b/reactos/subsys/csrss/api/process.c @@ -1,4 +1,4 @@ -/* $Id: process.c,v 1.1 1999/06/08 22:50:59 ea Exp $ +/* $Id: process.c,v 1.2 1999/07/17 23:10:30 ea Exp $ * * reactos/subsys/csrss/api/process.c * @@ -6,20 +6,22 @@ * * ReactOS Operating System */ -#include +#define PROTO_LPC +#include -LPC_RETURN_CODE + +DWORD CSR_CreateProcess ( - PLPC_REQUEST_REPLY pLpcRequestReply + PLPC_MESSAGE pLpcMessage ) { return LPC_ERROR_CALL_NOT_IMPLEMENTED; } -LPC_RETURN_CODE +DWORD CSR_TerminateProcess( - PLPC_REQUEST_REPLY pLpcRequestReply + PLPC_MESSAGE pLpcMessage ) { return LPC_ERROR_CALL_NOT_IMPLEMENTED; diff --git a/reactos/subsys/csrss/csrss.c b/reactos/subsys/csrss/csrss.c index 358300545cb..93bd2a81f5a 100644 --- a/reactos/subsys/csrss/csrss.c +++ b/reactos/subsys/csrss/csrss.c @@ -1,4 +1,4 @@ -/* $Id: csrss.c,v 1.1 1999/06/08 22:50:59 ea Exp $ +/* $Id: csrss.c,v 1.2 1999/07/17 23:10:30 ea Exp $ * * csrss.c - Client/Server Runtime subsystem * @@ -32,7 +32,6 @@ * actually does nothing but running). */ #include -//#include BOOL TerminationRequestPending = FALSE; diff --git a/reactos/subsys/csrss/init.c b/reactos/subsys/csrss/init.c index 039aeee8ad3..32435fc4f19 100644 --- a/reactos/subsys/csrss/init.c +++ b/reactos/subsys/csrss/init.c @@ -1,4 +1,4 @@ -/* $Id: init.c,v 1.1 1999/06/08 22:50:59 ea Exp $ +/* $Id: init.c,v 1.2 1999/07/17 23:10:30 ea Exp $ * * reactos/subsys/csrss/init.c * @@ -7,115 +7,200 @@ * ReactOS Operating System * */ +#define PROTO_LPC #include -#include +#include "csrss.h" -#if 0 -struct _SERVER_PORT -{ - HANDLE Port; - THREAD Thread; -}; - -struct _SERVER_PORTS -{ - struct _SERVER_PORT Api; - struct _SERVER_PORT SbApi; - -} void Thread_Api(void*); void Thread_SbApi(void*); +/* + * Server's named ports. + */ struct _SERVER_PORTS Server = { {INVALID_HANDLE_VALUE,Thread_Api}, {INVALID_HANDLE_VALUE,Thread_SbApi} }; - - +/********************************************************************** + * NAME + * Thread_Api + * + * DESCRIPTION + * Handle connection requests from clients to the port + * "\Windows\ApiPort". + */ static void Thread_Api(void * pPort) { - HANDLE port; + NTSTATUS Status; + HANDLE Port; + HANDLE ConnectedPort; - port = * (HANDLE*) pPort; + Port = * (HANDLE*) pPort; - NtListenPort(port); + /* + * Make the CSR API port listen. + */ + Status = NtListenPort( + Port, + CSRSS_API_PORT_QUEUE_SIZE + ); + if (!NT_SUCCESS(Status)) + { + /* + * FIXME: notify SM we could not + * make the port listen. + */ + return; + } + /* + * Wait for a client to connect + */ while (TRUE) { - NtAcceptConnectPort( - port - ); - if (NT_SUCCESS(NtCompleteConnectPort(port))) + /* + * Wait for a connection request; + * the new connected port's handle + * is stored in ConnectedPort. + */ + Status = NtAcceptConnectPort( + Port, + & ConnectedPort + ); + if (NT_SUCCESS(Status)) { - /* dispatch call */ + if (NT_SUCCESS(NtCompleteConnectPort(ConnectedPort))) + { + /* dispatch call */ + continue; + } + /* error */ } } } +/********************************************************************** + * NAME + * Thread_SbApi + * + * DESCRIPTION + * Handle connection requests from clients to the port + * "\Windows\SbApiPort". + */ static void Thread_SbApi(void * pPort) { - HANDLE port; + NTSTATUS Status; + HANDLE Port; + HANDLE ConnectedPort; - port = * (HANDLE*) pPort; + Port = * (HANDLE*) pPort; - NtListenPort(port); + Status = NtListenPort( + Port, + CSRSS_SBAPI_PORT_QUEUE_SIZE + ); + if (!NT_SUCCESS(Status)) + { + return; + } + /* + * Wait for a client to connect + */ while (TRUE) { - NtAcceptConnectPort( - port - ); - if (NT_SUCCESS(NtCompleteConnectPort(port))) + Status = NtAcceptConnectPort( + Port, + & ConnectedPort + ); + if (NT_SUCCESS(Status)) { - /* dispatch call */ + if (NT_SUCCESS(NtCompleteConnectPort(ConnectedPort))) + { + /* dispatch call */ + continue; + } + /* error: Port.CompleteConnect failed */ continue; } - /* error */ + /* error: Port.AcceptConnect failed */ } } #endif +/********************************************************************** + * NAME + * InitializeServer + * + * DESCRIPTION + * Create a directory object (\windows) and two named LPC ports: + * + * 1. \windows\ApiPort + * 2. \windows\SbApiPort + * + * RETURN VALUE + * TRUE: Initialization OK; otherwise FALSE. + */ BOOL InitializeServer(void) { + NTSTATUS Status; OBJECT_ATTRIBUTES ObAttributes; - HANDLE MySelf; -#if 0 - MySelf = NtCurrentProcess(); - /* \ApiPort */ - Server.Api.Port = - NtCreatePort( - LPC_CSR_PORT_NAME_APIPORT, + + + /* NEW NAMED PORT: \ApiPort */ + Status = NtCreatePort( + & Server.Api.Port, /* New port's handle */ + & ObAttributes, /* Port object's attributes */ ... ); - NtCreateThread( - & Server.Api.Thread, - 0, /* desired access */ - & ObAttributes, /* object attributes */ - MySelf, /* process' handle */ - 0, /* client id */ - Thread_ApiPort, - (void*) & Server.Api.Port - ); - /* \SbApiPort */ - Server.SbApi.Port = - NtCreatePort( - LPC_CSR_PORT_NAME_SBAPIPORT, + if (!NT_SUCCESS(Status)) + { + return FALSE; + } + Status = NtCreateThread( + & Server.Api.Thread, + 0, /* desired access */ + & ObAttributes, /* object attributes */ + NtCurrentProcess(), /* process' handle */ + 0, /* client id */ + Thread_ApiPort, + (void*) & Server.Api.Port + ); + if (!NT_SUCCESS(Status)) + { + NtClose(Server.Api.Port); + return FALSE; + } + /* NEW NAMED PORT: \SbApiPort */ + Status = NtCreatePort( + & Server.SbApi.Port, + & ObAttributes, ... ); - NtCreateThread( - & Server.SbApi.Thread, - Thread_SbApi, - (void*) & Server.SbApi.Port - ); -#endif + if (!NT_SUCCESS(Status)) + { + NtClose(Server.Api.Port); + return FALSE; + } + Status = NtCreateThread( + & Server.SbApi.Thread, + Thread_SbApi, + (void*) & Server.SbApi.Port + ); + if (!NT_SUCCESS(Status)) + { + NtClose(Server.Api.Port); + NtClose(Server.SbApi.Port); + return FALSE; + } return TRUE; } diff --git a/reactos/subsys/csrss/lpcstub.c b/reactos/subsys/csrss/lpcstub.c index ec9110e44ba..deaad469980 100644 --- a/reactos/subsys/csrss/lpcstub.c +++ b/reactos/subsys/csrss/lpcstub.c @@ -1,4 +1,4 @@ -/* $Id: lpcstub.c,v 1.1 1999/06/08 22:50:59 ea Exp $ +/* $Id: lpcstub.c,v 1.2 1999/07/17 23:10:30 ea Exp $ * * lpcstub.c * @@ -7,7 +7,6 @@ * */ #include -#include #include "api.h" diff --git a/reactos/subsys/psxss/api.c b/reactos/subsys/psxss/api.c new file mode 100644 index 00000000000..39905b338d3 --- /dev/null +++ b/reactos/subsys/psxss/api.c @@ -0,0 +1,30 @@ +/* $Id: api.c,v 1.1 1999/07/17 23:10:30 ea Exp $ + * + * reactos/subsys/psxss/api.c + * + * ReactOS Operating System + * + * + */ +#include +#include +#include "api.h" + +BOOL TerminationRequestPending = FALSE; + +long +port_dispatcher_api( + PLPC_REQUEST_REPLY pLpcRequestReply + ) +{ + switch (pLpcRequestReply->Function) + { + case LPC_PSX_API_PROCESS_CREATE: + return POSIX_PROCESS_Create(pLpcRequestReply); + case LPC_PSX_API_PROCESS_TERMINATE: + return POSIX_PROCESS_Terminate(pLpcRequestReply); + } + return LPC_ERROR_INVALID_FUNCTION; +} + +/* EOF */ diff --git a/reactos/subsys/psxss/api/process.c b/reactos/subsys/psxss/api/process.c new file mode 100644 index 00000000000..cbacdf754d1 --- /dev/null +++ b/reactos/subsys/psxss/api/process.c @@ -0,0 +1,27 @@ +/* $Id: process.c,v 1.1 1999/07/17 23:10:31 ea Exp $ + * + * reactos/subsys/psxss/api/process.c + * + * ReactOS Operating System + * + */ +static +LPC_RETURN_CODE +PSXSS_creat( + PLPC_REQUEST_REPLY pLpcRequestReply + ) +{ + return LPC_ERROR_CALL_NOT_IMPLEMENTED; +} + +static +LPC_RETURN_CODE +PSXSS_terminate( + PLPC_REQUEST_REPLY pLpcRequestReply + ) +{ + return LPC_ERROR_CALL_NOT_IMPLEMENTED; +} + + +/* EOF */ diff --git a/reactos/subsys/psxss/init.c b/reactos/subsys/psxss/init.c new file mode 100644 index 00000000000..99f2ae723d9 --- /dev/null +++ b/reactos/subsys/psxss/init.c @@ -0,0 +1,186 @@ +/* $Id: init.c,v 1.1 1999/07/17 23:10:31 ea Exp $ + * + * init.c + * + * ReactOS Operating System + * + */ +#include +#include + +struct _SERVER_DIRECTORIES +{ + HANDLE Root; /* MS & Interix(tm): \PSXSS\ */ + HANDLE Session; /* MS & Interix(tm): \PSXSS\PSXSES\ */ + HANDLE System; /* Interix(tm) only: \PSXSS\SYSTEM\ */ +}; + +struct _SERVER_PORT +{ + HANDLE Port; + THREAD Thread; +}; + +struct _SERVER +{ + struct _SERVER_DIRECTORIES Directory; + struct _SERVER_PORT Api; + struct _SERVER_PORT SbApi; + +}; + +void Thread_Api(void*); +void Thread_SbApi(void*); + +struct _SERVER +Server = +{ + {INVALID_HANDLE_VALUE,INVALID_HANDLE_VALUE}, + {INVALID_HANDLE_VALUE,Thread_Api}, + {INVALID_HANDLE_VALUE,Thread_SbApi} +}; + + +static +void +Thread_Api(void * pPort) +{ + HANDLE port; + + port = * (HANDLE*) pPort; + + NtListenPort(port); + while (TRUE) + { + NtAcceptConnectPort( + port + ); + if (NT_SUCCESS(NtCompleteConnectPort(port))) + { + /* dispatch call */ + } + } +} + + +static +void +Thread_SbApi(void * pPort) +{ + HANDLE port; + + port = * (HANDLE*) pPort; + + NtListenPort(port); + while (TRUE) + { + NtAcceptConnectPort( + port + ); + if (NT_SUCCESS(NtCompleteConnectPort(port))) + { + /* dispatch call */ + continue; + } + /* error */ + } +} + + +/*********************************************************************** + * InitializeServer + * + * DESCRIPTION + * Initialize the POSIX+ subsystem server process. That is: + * + * 1. create the directory object "\PSXSS\"; + * 2. create the API port "\PSXSS\ApiPort"; + * 3. create the debug port "\PSXSS\SbApiPort"; + * 4. create the sessions directory object "\PSXSS\PSXSES\"; + * 5. create the system directory object "\PSXSS\SYSTEM\"; + * 6. initialize port threads + * + * RETURN VALUE + * TRUE Initialization succeeded: + * FALSE Initialization failed. + * + * NOTE + * The "\PSXSS\SYSTEM\" directory object does not exist + * in the MS implementation, but appears in WNT's namespace + * when the Interix(tm) subsystem is installed. + */ +BOOL +InitializeServer(void) +{ + NTSTATUS Status; + OBJECT_ATTRIBUTES ObAttributes; + + + /* + * STEP 1 + * Create the directory object "\PSXSS\" + * + */ + Status = NtCreateDirectoryObject( + PSXSS_DIRECTORY_NAME_ROOT + & Server.Directory.Root + ); + /* + * STEP 2 + * Create the LPC port "\PSXSS\ApiPort" + * + */ + Server.Api.Port = + NtCreatePort( + PSXSS_PORT_NAME_APIPORT, + ... + ); + NtCreateThread( + & Server.Api.Thread, + 0, /* desired access */ + & ObAttributes, /* object attributes */ + NtCurrentProcess(), /* process' handle */ + 0, /* client id */ + Thread_ApiPort, + (void*) & Server.Api.Port + ); + /* + * STEP 3 + * Create the LPC port "\PSXSS\SbApiPort" + * + */ + Server.SbApi.Port = + NtCreatePort( + PSXSS_PORT_NAME_SBAPIPORT, + ... + ); + Status = NtCreateThread( + & Server.SbApi.Thread, + Thread_SbApi, + (void*) & Server.SbApi.Port + ); + /* + * STEP 4 + * Create the POSIX+ session directory object + * "\PSXSS\PSXSES\" + * + */ + Status = NtCreateDirectoryObject( + PSXSS_DIRECTORY_NAME_SESSIONS + & Server.Directory.Sessions + ); + /* + * STEP 5 + * Create the POSIX+ system directory object + * "\PSXSS\SYSTEM\" + * + */ + Status = NtCreateDirectoryObject( + PSXSS_DIRECTORY_NAME_SYSTEM + & Server.Directory.System + ); + return TRUE; +} + + +/* EOF */ diff --git a/reactos/subsys/psxss/makefile b/reactos/subsys/psxss/makefile new file mode 100644 index 00000000000..379b9f5379c --- /dev/null +++ b/reactos/subsys/psxss/makefile @@ -0,0 +1,36 @@ +# $Id: makefile,v 1.1 1999/07/17 23:10:31 ea Exp $ +# +# CSRSS: Client/server run-time subsystem +# +# ReactOS Operating System +# +TARGET=csrss + +OBJECTS = $(TARGET).o init.o $(TARGET).coff + +LIBS = ../../lib/ntdll/ntdll.a + +all: $(TARGET).exe + +.phony: all + +clean: + - $(RM) $(TARGET).o + - $(RM) $(TARGET).exe + - $(RM) $(TARGET).sym + - $(RM) $(TARGET).coff + +.phony: clean + +$(TARGET).coff: $(TARGET).rc + $(RC) $(TARGET).rc $(TARGET).coff + +$(TARGET).exe: $(OBJECTS) $(LIBS) + $(LD) \ + $(OBJECTS) \ + $(LIBS) \ + -o $(TARGET).exe \ + --subsystem native + $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym + +include ../../rules.mak diff --git a/reactos/subsys/psxss/psxss.c b/reactos/subsys/psxss/psxss.c new file mode 100644 index 00000000000..66b4d799822 --- /dev/null +++ b/reactos/subsys/psxss/psxss.c @@ -0,0 +1,81 @@ +/* $Id: psxss.c,v 1.1 1999/07/17 23:10:31 ea Exp $ + * + * reactos/subsys/psxss/psxss.c + * + * POSIX+ subsystem server process + * + * ReactOS Operating System + * + * -------------------------------------------------------------------- + * + * This software is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING.LIB. If not, write + * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, + * MA 02139, USA. + * + * -------------------------------------------------------------------- + * + * 19990605 (Emanuele Aliberti) + * Compiled successfully with egcs 1.1.2 + */ +#include +//#include + +BOOL TerminationRequestPending = FALSE; + +BOOL InitializeServer(void); + + +void +DisplayString( + LPCWSTR Message + ) +{ + UNICODE_STRING title; + + title.Buffer = (LPWSTR) Message; + title.Length = wcslen(title.Buffer) * sizeof (WCHAR); + title.MaximumLength = title.Length + sizeof (WCHAR); + NtDisplayString( & title ); +} + + +/* Native process' entry point */ + +void +NtProcessStartup( PSTARTUP_ARGUMENT StartupArgument ) +{ + DisplayString( L"POSIX+ Subsystem\n" ); + + if (TRUE == InitializeServer()) + { + while (FALSE == TerminationRequestPending) + { + /* Do nothing! Should it + * be the SbApi port's + * thread instead? + */ + NtYieldExecution(); + } + } + else + { + DisplayString( L"PSX: Subsystem initialization failed.\n" ); + /* + * Tell SM we failed. + */ + } + NtTerminateProcess( NtCurrentProcess(), 0 ); +} + +/* EOF */ diff --git a/reactos/subsys/psxss/psxss.rc b/reactos/subsys/psxss/psxss.rc new file mode 100644 index 00000000000..ee0eedb5cee --- /dev/null +++ b/reactos/subsys/psxss/psxss.rc @@ -0,0 +1,38 @@ +#include "../../include/defines.h" +#include "../../include/reactos/resource.h" + +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US + +VS_VERSION_INFO VERSIONINFO + FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD + PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", RES_STR_COMPANY_NAME + VALUE "FileDescription", "POSIX+ Subsystem Process\0" + VALUE "FileVersion", RES_STR_FILE_VERSION + VALUE "InternalName", "psxss\0" + VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT + VALUE "OriginalFilename", "psxss.exe\0" + VALUE "ProductName", RES_STR_PRODUCT_NAME + VALUE "ProductVersion", RES_STR_PRODUCT_VERSION + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + diff --git a/reactos/subsys/psxss/sbapi.c b/reactos/subsys/psxss/sbapi.c new file mode 100644 index 00000000000..72bbbaf8018 --- /dev/null +++ b/reactos/subsys/psxss/sbapi.c @@ -0,0 +1,23 @@ +/* $Id: sbapi.c,v 1.1 1999/07/17 23:10:31 ea Exp $ + * + * sbapi.c - Displatcher for the \SbApiPort + * + * ReactOS Operating System + * + * + */ +#include +#include + +/* The \SbApi dispatcher: what is this port for? */ + +LPC_RETURN_CODE +port_dispatcher_sbapi( + PLPC_REQUEST_REPLY pLpcRequestReply + ) +{ + return LPC_ERROR_INVALID_FUNCTION; +} + + +/* EOF */ diff --git a/reactos/subsys/win32k/objects/brush.c b/reactos/subsys/win32k/objects/brush.c index ca0aab87e1e..4bc175ac69e 100644 --- a/reactos/subsys/win32k/objects/brush.c +++ b/reactos/subsys/win32k/objects/brush.c @@ -1,3 +1,5 @@ +/* $Id: brush.c,v 1.3 1999/07/17 23:10:31 ea Exp $ + */ #undef WIN32_LEAN_AND_MEAN diff --git a/reactos/subsys/win32k/win32k.def b/reactos/subsys/win32k/win32k.def index 5b778326b6e..254b81fed0e 100644 --- a/reactos/subsys/win32k/win32k.def +++ b/reactos/subsys/win32k/win32k.def @@ -1,4 +1,4 @@ -; $Id: win32k.def,v 1.3 1999/05/27 23:08:13 rex Exp $ +; $Id: win32k.def,v 1.4 1999/07/17 23:10:31 ea Exp $ ; ; win32k.def ; @@ -6,7 +6,7 @@ ; LIBRARY win32k EXPORTS -W32kGetVectors +;W32kGetVectors BRUSHOBJ_pvAllocRbrush BRUSHOBJ_pvGetRbrush BRUSHOBJ_ulGetBrushColor