new patch for more stubs and misc changes
authorVizzini <vizzini@plasmic.com>
Fri, 12 Sep 2003 17:51:48 +0000 (17:51 +0000)
committerVizzini <vizzini@plasmic.com>
Fri, 12 Sep 2003 17:51:48 +0000 (17:51 +0000)
patch changes:
1.add mswsock.dll with stubs for allmost all functions (1 or 2 I cant get prototype of)
2.add some definitions to various header files
3.add some stubs to advapi32.dll
4.add a stub for GdiInitializeLanguagePack to gdi32.dll
5.add some stubs to iphlpapi.dll
6.add some stubs to kernel32.dll
7.add some stubs to ntdll.dll
8.add some stubs to ws2_32.dll
9.add some stub definitions to wsock32.dll
10.change wsock32.dll so that most functions redirect to ws2_32.dll or mswsock.dll (which is how microsoft does it)
11.turn -Wall -Werror on for cards
12.turn -Wall -Werror on for epsapi
13.turn -Wall -Werror on for fmifs and fix problems that resulted
14.turn -Wall -Werror on for freetype
15.turn -Wall -Werror on for vfatlib and fix problems that resulted
15.turn -Wall -Werror on for kernel32 and fix problems that resulted
16.turn -Wall -Werror on for ntdll and fix problems that resulted
17.turn -Wall -Werror on for lzexpand
18.turn -Wall -Werror on for msafd
19.turn -Wall -Werror on for psapi
20.turn -Wall -Werror on for twain
21.add some stubs to user32.dll
22.turn -Wall -Werror on for version
23.turn -Wall -Werror on for wshirda

svn path=/trunk/; revision=6055

78 files changed:
reactos/Makefile
reactos/include/base.h
reactos/include/funcs.h
reactos/include/iphlpapi.h
reactos/include/ntdll/rtl.h
reactos/include/ntos/rtl.h
reactos/include/structs.h
reactos/include/winsock2.h
reactos/lib/advapi32/advapi32.def
reactos/lib/advapi32/advapi32.edf
reactos/lib/advapi32/misc/stubs.c
reactos/lib/cards/Makefile
reactos/lib/epsapi/makefile
reactos/lib/fmifs/format.c
reactos/lib/fmifs/makefile
reactos/lib/freetype/Makefile
reactos/lib/fslib/vfatlib/Makefile
reactos/lib/fslib/vfatlib/fat12.c
reactos/lib/fslib/vfatlib/fat16.c
reactos/lib/fslib/vfatlib/fat32.c
reactos/lib/fslib/vfatlib/vfatlib.c
reactos/lib/gdi32/gdi32.def
reactos/lib/gdi32/gdi32.edf
reactos/lib/gdi32/misc/stubs.c
reactos/lib/iphlpapi/iphlpapi.c
reactos/lib/iphlpapi/iphlpapi.def
reactos/lib/iphlpapi/iphlpapi.edf
reactos/lib/kernel32/debug/output.c
reactos/lib/kernel32/file/copy.c
reactos/lib/kernel32/file/volume.c
reactos/lib/kernel32/kernel32.def
reactos/lib/kernel32/kernel32.edf
reactos/lib/kernel32/makefile
reactos/lib/kernel32/misc/computername.c
reactos/lib/kernel32/misc/console.c
reactos/lib/kernel32/misc/stubs.c
reactos/lib/kernel32/process/create.c
reactos/lib/kernel32/synch/event.c
reactos/lib/kernel32/thread/fiber.c
reactos/lib/kernel32/thread/thread.c
reactos/lib/lzexpand/Makefile
reactos/lib/msafd/makefile
reactos/lib/mswsock/.cvsignore [new file with mode: 0644]
reactos/lib/mswsock/Makefile [new file with mode: 0644]
reactos/lib/mswsock/mswsock.def [new file with mode: 0644]
reactos/lib/mswsock/mswsock.edf [new file with mode: 0644]
reactos/lib/mswsock/mswsock.rc [new file with mode: 0644]
reactos/lib/mswsock/stubs.c [new file with mode: 0644]
reactos/lib/ntdll/dbg/debug.c
reactos/lib/ntdll/def/ntdll.def
reactos/lib/ntdll/def/ntdll.edf
reactos/lib/ntdll/ldr/startup.c
reactos/lib/ntdll/ldr/utils.c
reactos/lib/ntdll/makefile
reactos/lib/ntdll/rtl/critical.c
reactos/lib/ntdll/rtl/env.c
reactos/lib/ntdll/rtl/i386/exception.c
reactos/lib/ntdll/rtl/nls.c
reactos/lib/ntdll/rtl/process.c
reactos/lib/ntdll/rtl/sd.c
reactos/lib/ntdll/rtl/timezone.c
reactos/lib/ntdll/stdio/sprintf.c
reactos/lib/ntdll/stdio/swprintf.c
reactos/lib/ntdll/stubs/stubs.c
reactos/lib/psapi/makefile
reactos/lib/twain/Makefile
reactos/lib/user32/misc/stubs.c
reactos/lib/user32/user32.def
reactos/lib/user32/user32.edf
reactos/lib/version/makefile
reactos/lib/ws2_32/misc/stubs.c
reactos/lib/ws2_32/ws2_32.def
reactos/lib/ws2_32/ws2_32.edf
reactos/lib/wshirda/makefile
reactos/lib/wsock32/Makefile
reactos/lib/wsock32/stubs.c
reactos/lib/wsock32/wsock32.def
reactos/lib/wsock32/wsock32.edf

index bb2b9c6..ee7df23 100644 (file)
@@ -35,10 +35,10 @@ LIB_STATIC = string rosrtl epsapi zlib
 
 # User mode libraries
 # advapi32 cards crtdll fmifs gdi32 kernel32 libpcap packet msafd msvcrt ntdll
-# epsapi psapi richedit rpcrt4 secur32 user32 version ws2help ws2_32 wsock32 wshirda
+# epsapi psapi richedit rpcrt4 secur32 user32 version ws2help ws2_32 wsock32 wshirda mswsock
 DLLS = advapi32 cards crtdll fmifs freetype gdi32 kernel32 packet lzexpand msafd \
        msvcrt ntdll psapi richedit secur32 syssetup twain user32 version winedbgc \
-       winspool ws2help ws2_32 wsock32 wshirda iphlpapi kbdus
+       winspool ws2help ws2_32 wsock32 wshirda iphlpapi kbdus mswsock
 
 SUBSYS = smss win32k csrss ntvdm
 
index 607df6d..b9255c7 100644 (file)
@@ -681,6 +681,12 @@ VOID
     ULONG_PTR dwParam
     );
 
+#ifdef __cplusplus
+#define REFGUID const GUID &
+#else
+#define REFGUID const GUID *
+#endif
+
 typedef DWORD (CALLBACK *PFE_EXPORT_FUNC)(PBYTE pbData,PVOID pvCallbackContext,ULONG ulLength);
 
 typedef DWORD (CALLBACK *PFE_IMPORT_FUNC)(PBYTE pbData,PVOID pvCallbackContext,PULONG ulLength);
@@ -705,6 +711,7 @@ typedef FARPROC ENHMFENUMPROC;
 typedef DWORD CCSTYLE, *PCCSTYLE, *LPCCSTYLE;
 typedef DWORD CCSTYLEFLAGA, *PCCSTYLEFLAGA, *LPCCSTYLEFLAGA;
 #define DECLARE_HANDLE(s) typedef HANDLE s
+typedef LANGID *PLANGID;
 
 #endif /* ! defined (RC_INVOKED) */
 
index 52f4288..66c7d84 100644 (file)
@@ -1025,6 +1025,1650 @@ typedef PPROGRESS_ROUTINE LPPROGRESS_ROUTINE;
 #endif /* UNICODE and ASCII defines */
 #endif /* _DISABLE_TIDENTS */
 
+NTSTATUS STDCALL CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,ULONG Size,ULONG AccessMask);
+
+BOOL STDCALL GetConsoleInputExeNameA(ULONG length,LPCSTR name);
+
+BOOL STDCALL GetConsoleInputExeNameW(ULONG length,LPCWSTR name);
+
+BOOL STDCALL IsValidUILanguage(LANGID langid);
+
+VOID STDCALL NlsConvertIntegerToString(ULONG Value,ULONG Base,ULONG strsize, LPWSTR str, ULONG strsize2);
+
+UINT STDCALL SetCPGlobal(UINT CodePage);
+
+BOOL
+STDCALL
+SetClientTimeZoneInformation(
+                      CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
+                      );
+
+NTSTATUS STDCALL DbgUiDebugActiveProcess(HANDLE process);
+
+NTSTATUS STDCALL DbgUiStopDebugging(HANDLE process);
+
+VOID
+STDCALL
+RtlInitializeSListHead (
+    PSLIST_HEADER ListHead
+    );
+PSLIST_ENTRY
+STDCALL
+RtlInterlockedFlushSList (
+    PSLIST_HEADER ListHead
+    );
+PSLIST_ENTRY
+STDCALL
+RtlInterlockedPopEntrySList (
+    PSLIST_HEADER ListHead
+    );
+PSLIST_ENTRY
+STDCALL
+RtlInterlockedPushEntrySList (
+    PSLIST_HEADER ListHead,
+    PSLIST_ENTRY ListEntry
+    );
+USHORT
+STDCALL
+RtlQueryDepthSList (
+    PSLIST_HEADER ListHead
+    );
+NTSTATUS
+STDCALL
+RtlCreateTimer(HANDLE TimerQueue,PHANDLE phNewTimer, WAITORTIMERCALLBACK Callback,PVOID Parameter,DWORD DueTime,DWORD Period,ULONG Flags);
+
+NTSTATUS
+STDCALL
+RtlCreateTimerQueue(PHANDLE TimerQueue);
+
+NTSTATUS
+STDCALL
+RtlDeleteTimer(HANDLE TimerQueue,HANDLE Timer,HANDLE CompletionEvent);
+
+NTSTATUS
+STDCALL
+RtlUpdateTimer(HANDLE TimerQueue,HANDLE Timer,ULONG DueTime,ULONG Period);
+
+NTSTATUS
+STDCALL
+RtlDeleteTimerQueueEx(HANDLE TimerQueue,HANDLE CompletionEvent);
+
+NTSTATUS
+STDCALL
+RtlDeleteTimerQueue(HANDLE TimerQueue);
+
+NTSTATUS
+STDCALL
+RtlRegisterWait(PHANDLE hOutput, HANDLE hObject,WAITORTIMERCALLBACK Callback,PVOID Context,ULONG dwMilliseconds,ULONG dwFlags);
+
+NTSTATUS
+STDCALL
+RtlDeregisterWait(
+    HANDLE WaitHandle
+    );
+
+NTSTATUS
+STDCALL
+RtlDeregisterWaitEx(
+    HANDLE WaitHandle,
+    HANDLE CompletionEvent
+    );
+
+NTSTATUS
+STDCALL
+RtlSetHeapInformation(
+    HANDLE HeapHandle,
+    HEAP_INFORMATION_CLASS HeapInformationClass,
+    PVOID HeapInformation OPTIONAL,
+    SIZE_T HeapInformationLength OPTIONAL
+    );
+
+NTSTATUS
+STDCALL
+RtlQueryHeapInformation(
+    HANDLE HeapHandle, 
+    HEAP_INFORMATION_CLASS HeapInformationClass,
+    PVOID HeapInformation OPTIONAL,
+    SIZE_T HeapInformationLength OPTIONAL,
+    PSIZE_T ReturnLength OPTIONAL
+    );
+
+NTSTATUS
+STDCALL
+NtCreateJobSet(
+    ULONG NumJob,
+    PJOB_SET_ARRAY UserJobSet,
+    ULONG Flags);
+
+NTSTATUS
+STDCALL
+ZwCreateJobSet(
+    ULONG NumJob,
+    PJOB_SET_ARRAY UserJobSet,
+    ULONG Flags);
+
+VOID
+STDCALL
+RtlReleaseActivationContext(
+    HANDLE hActCtx
+    );
+
+NTSTATUS
+STDCALL
+RtlQueryInformationActivationContext(
+    DWORD dwFlags,
+    HANDLE hActCtx,
+    PVOID pvSubInstance,
+    ULONG ulInfoClass,
+    PVOID pvBuffer,
+    SIZE_T cbBuffer OPTIONAL,
+    SIZE_T *pcbWrittenOrRequired OPTIONAL
+    );
+
+VOID
+STDCALL
+RtlAddRefActivationContext(
+    HANDLE hActCtx
+    );
+
+NTSTATUS
+STDCALL
+RtlGetActiveActivationContext(
+    HANDLE *lphActCtx);
+
+NTSTATUS
+STDCALL
+RtlZombifyActivationContext(
+    HANDLE hActCtx
+    );
+
+NTSTATUS
+STDCALL
+RtlDeactivateActivationContext(
+    DWORD dwFlags,
+    ULONG_PTR ulCookie
+    );
+
+ULONG 
+STDCALL
+RtlCreateTagHeap(      
+       IN HANDLE HeapHandle,
+       IN ULONG Flags,
+       IN PCWSTR TagName,
+       IN PCWSTR TagSubName
+       );
+
+PRTL_SPLAY_LINKS
+STDCALL
+RtlDelete(
+       IN PRTL_SPLAY_LINKS Links
+       );
+
+BOOLEAN
+STDCALL
+RtlDeleteElementGenericTable(
+       IN PRTL_GENERIC_TABLE Table,
+       IN PVOID Buffer
+       );
+
+VOID
+STDCALL
+RtlDeleteNoSplay(
+       IN PRTL_SPLAY_LINKS Links,
+       OUT PRTL_SPLAY_LINKS *Root
+       );
+
+PVOID
+STDCALL
+RtlEnumerateGenericTable(
+       IN PRTL_GENERIC_TABLE Table,
+       IN BOOLEAN Restart
+       );
+
+PVOID
+STDCALL
+RtlEnumerateGenericTableWithoutSplaying(
+       IN PRTL_GENERIC_TABLE Table,
+       IN PVOID *RestartKey
+       );
+
+VOID
+STDCALL
+RtlGetElementGenericTable(
+       IN PRTL_GENERIC_TABLE Table,
+       IN ULONG I
+       );
+
+PVOID
+STDCALL
+RtlLookupElementGenericTable(
+       IN PRTL_GENERIC_TABLE Table,
+       IN PVOID Buffer
+       );
+
+PVOID
+STDCALL
+RtlProtectHeap(
+       IN HANDLE Heap,
+       IN BOOLEAN ReadOnly
+       );
+
+PCWSTR 
+STDCALL
+RtlQueryTagHeap(
+       IN HANDLE HeapHandle,
+       IN ULONG Flags,
+       IN USHORT TagNumber,
+       IN BOOLEAN ZeroInternalTagInfo,
+       OUT PRTL_HEAP_TAG_INFO HeapTagInfo OPTIONAL
+       );
+
+PRTL_SPLAY_LINKS
+STDCALL
+RtlRealPredecessor(
+       IN PRTL_SPLAY_LINKS Links
+       );
+
+PRTL_SPLAY_LINKS
+STDCALL
+RtlRealSuccessor(
+       IN PRTL_SPLAY_LINKS Links
+       );
+
+PRTL_SPLAY_LINKS
+STDCALL
+RtlSplay(
+       IN PRTL_SPLAY_LINKS Links
+       );
+
+NTSTATUS
+STDCALL
+NtAccessCheckByType(
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN HANDLE TokenHandle,
+       IN ULONG DesiredAccess,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN PPRIVILEGE_SET PrivilegeSet,
+       IN PULONG PrivilegeSetLength,
+       OUT PACCESS_MASK GrantedAccess,
+       OUT PULONG AccessStatus
+       );
+
+NTSTATUS
+STDCALL
+NtAccessCheckByTypeAndAuditAlarm(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccess,
+       OUT PULONG AccessStatus,
+       OUT PBOOLEAN GenerateOnClose
+       );
+
+NTSTATUS
+STDCALL
+NtAccessCheckByTypeResultList(
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN HANDLE TokenHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN PPRIVILEGE_SET PrivilegeSet,
+       IN PULONG PrivilegeSetLength,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList
+       );
+
+NTSTATUS
+STDCALL
+NtAccessCheckByTypeResultListAndAuditAlarm(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList,
+       OUT PULONG GenerateOnClose
+       );
+
+NTSTATUS
+STDCALL
+NtAccessCheckByTypeResultListAndAuditAlarmByHandle(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN HANDLE TokenHandle,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList,
+       OUT PULONG GenerateOnClose
+       );
+
+NTSTATUS
+STDCALL
+NtAllocateUserPhysicalPages(
+       IN HANDLE ProcessHandle,
+       IN PULONG NumberOfPages,
+       OUT PULONG PageFrameNumbers
+       );
+
+NTSTATUS
+STDCALL
+NtAreMappedFilesTheSame(
+       IN PVOID Address1,
+       IN PVOID Address2
+       );
+
+NTSTATUS
+STDCALL
+NtCreateJobObject(
+       OUT PHANDLE JobHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes
+       );
+
+NTSTATUS
+STDCALL
+NtCreateKeyedEvent(
+       OUT PHANDLE KeyedEventHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes,
+       ULONG Reserved
+       );
+
+NTSTATUS
+STDCALL
+NtFilterToken(
+       IN HANDLE ExistingTokenHandle,
+       IN ULONG Flags,
+       IN PTOKEN_GROUPS SidsToDisable,
+       IN PTOKEN_PRIVILEGES PrivilegesToDelete,
+       IN PTOKEN_GROUPS SidsToRestricted,
+       OUT PHANDLE NewTokenHandle
+       );
+
+NTSTATUS
+STDCALL
+NtFreeUserPhysicalPages(
+       IN HANDLE ProcessHandle,
+       IN OUT PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       );
+
+NTSTATUS
+STDCALL
+NtGetWriteWatch(
+       IN HANDLE ProcessHandle,
+       IN ULONG Flags,
+       IN PVOID BaseAddress,
+       IN ULONG RegionSize,
+       OUT PULONG Buffer,
+       IN OUT PULONG BufferEntries,
+       OUT PULONG Granularity
+       );
+
+NTSTATUS
+STDCALL
+NtImpersonateAnonymousToken(
+       IN HANDLE ThreadHandle
+       );
+
+NTSTATUS
+STDCALL
+NtIsProcessInJob(
+       IN HANDLE JobHandle,
+       IN HANDLE ProcessHandle
+       );
+
+NTSTATUS
+STDCALL
+NtMakePermanentObject(
+       IN HANDLE Object
+       );
+
+NTSTATUS
+STDCALL
+NtMapUserPhysicalPages(
+       IN PVOID BaseAddress,
+       IN PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       );
+
+NTSTATUS
+STDCALL
+NtMapUserPhysicalPagesScatter(
+       IN PVOID *BaseAddresses,
+       IN PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       );
+
+NTSTATUS
+STDCALL
+NtOpenJobObject(
+       OUT PHANDLE JobHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes
+       );
+
+NTSTATUS
+STDCALL
+NtOpenKeyedEvent(
+       OUT PHANDLE KeyedEventHandle,
+       IN PACCESS_MASK DesiredAccess,
+       IN PUNICODE_STRING KeyedEventName
+       );
+
+NTSTATUS
+STDCALL
+NtOpenProcessTokenEx(
+       IN HANDLE ProcessHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN ULONG HandleAttributes,
+       OUT PHANDLE TokenHandle
+       );
+
+NTSTATUS
+STDCALL
+NtOpenThreadTokenEx(
+       IN HANDLE ThreadHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN BOOLEAN OpenAsSelf,
+       IN ULONG HandleAttributes,
+       OUT PHANDLE TokenHandle
+       );
+
+NTSTATUS
+STDCALL
+NtQueryDefaultUILanguage(
+       OUT PLANGID LanguageId
+       );
+
+NTSTATUS
+STDCALL
+NtQueryInformationJobObject(
+       IN HANDLE JobHandle,
+       IN JOBOBJECTINFOCLASS JobInformationClass,
+       OUT PVOID JobInformation,
+       IN ULONG JobInformationLength,
+       OUT PULONG ReturnLength OPTIONAL
+       );
+
+NTSTATUS
+STDCALL
+NtQueryInstallUILanguage(
+       OUT PLANGID LanguageId
+       );
+
+ULONG
+STDCALL
+NtQueryPortInformationProcess(
+       VOID
+       );
+
+NTSTATUS
+STDCALL
+NtReleaseKeyedEvent(
+       IN HANDLE KeyedEventHandle,
+       IN ULONG Requested,
+       IN BOOLEAN Alertable,
+       IN PLARGE_INTEGER Timeout OPTIONAL
+       );
+
+NTSTATUS
+STDCALL
+NtReplyWaitReceivePortEx(
+       IN HANDLE PortHandle,
+       OUT PULONG PortIdentifier OPTIONAL,
+       IN PPORT_MESSAGE ReplyMessage OPTIONAL,
+       OUT PPORT_MESSAGE Message,
+       IN PLARGE_INTEGER Timeout
+       );
+
+NTSTATUS
+STDCALL
+NtResetWriteWatch(
+       IN HANDLE ProcessHandle,
+       IN PVOID BaseAddress,
+       IN ULONG RegionSize
+       );
+
+NTSTATUS
+STDCALL
+NtResumeProcess(
+       IN HANDLE Process
+       );
+
+NTSTATUS
+STDCALL
+NtSecureConnectPort(
+       OUT PHANDLE PortHandle,
+       IN PUNICODE_STRING PortName,
+       IN PSECURITY_QUALITY_OF_SERVICE SecurityQos,
+       IN OUT PPORT_SECTION_WRITE WriteSection OPTIONAL,
+       IN PSID ServerSid OPTIONAL,
+       IN OUT PPORT_SECTION_READ ReadSection OPTIONAL,
+       OUT PULONG MaxMessageSize OPTIONAL,
+       IN OUT PVOID ConnectData OPTIONAL,
+       IN OUT PULONG ConnectDataLength OPTIONAL
+       );
+
+NTSTATUS
+STDCALL
+NtSetDefaultUILanguage(
+       IN LANGID LanguageId
+       );
+
+NTSTATUS
+STDCALL
+NtSetHighWaitLowThread(
+       VOID
+       );
+
+NTSTATUS
+STDCALL
+NtSetInformationJobObject(
+       IN HANDLE JobHandle,
+       IN JOBOBJECTINFOCLASS JobInformationClass,
+       IN PVOID JobInformation,
+       IN ULONG JobInformationLength
+       );
+
+NTSTATUS
+STDCALL
+NtSetLowWaitHighThread(
+       VOID
+       );
+
+NTSTATUS
+STDCALL
+NtSetQuotaInformationFile(
+       IN HANDLE FileHandle,
+       OUT PIO_STATUS_BLOCK IoStatusBlock,
+       IN PFILE_USER_QUOTA_INFORMATION Buffer,
+       IN ULONG BufferLength
+       );
+
+NTSTATUS
+STDCALL
+NtSetUuidSeed(
+       IN PUCHAR UuidSeed
+       );
+
+NTSTATUS
+STDCALL
+NtSuspendProcess(
+       IN HANDLE Process
+       );
+
+NTSTATUS
+STDCALL
+NtTerminateJobObject(
+       IN HANDLE JobHandle,
+       IN NTSTATUS ExitStatus
+       );
+
+NTSTATUS
+STDCALL
+NtWaitForKeyedEvent(
+       IN HANDLE KeyedEventHandle,
+       IN ULONG Requested,
+       IN BOOLEAN Alertable,
+       IN PLARGE_INTEGER Timeout OPTIONAL
+       );
+
+BOOLEAN
+STDCALL
+RtlDllShutdownInProgress(
+       VOID
+       );
+
+PPEB
+STDCALL
+RtlGetCurrentPeb(
+       VOID
+       );
+
+NTSTATUS
+STDCALL
+RtlGetLastNtStatus(
+       VOID
+       );
+
+ULONG
+STDCALL
+RtlGetLastWin32Error(
+       VOID
+       );
+
+NTSTATUS
+STDCALL
+RtlGetNativeSystemInformation(
+       IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
+       IN OUT PVOID SystemInformation,
+       IN ULONG SystemInformationLength,
+       OUT PULONG ReturnLength OPTIONAL
+       );
+
+USHORT
+STDCALL
+RtlLogStackBackTrace(
+       VOID
+       );
+
+NTSTATUS
+STDCALL
+RtlQueueWorkItem(
+       LPTHREAD_START_ROUTINE Function,
+       PVOID Context,
+       ULONG Flags
+       );
+
+VOID
+STDCALL
+RtlRestoreLastWin32Error(
+       IN ULONG Win32Error
+       );
+
+ULONG
+STDCALL
+RtlSetCriticalSectionSpinCount(
+   IN PRTL_CRITICAL_SECTION CriticalSection
+   );
+
+typedef
+VOID
+(CALLBACK *POVERLAPPED_COMPLETION_ROUTINE)(
+    DWORD dwErrorCode,
+    DWORD dwNumberOfBytesTransfered,
+    LPOVERLAPPED lpOverlapped
+    );
+
+
+NTSTATUS
+STDCALL
+RtlSetIoCompletionCallback(
+       IN HANDLE FileHandle,
+       IN POVERLAPPED_COMPLETION_ROUTINE CompletionRoutine,
+       IN ULONG Flags
+       );
+
+VOID
+STDCALL
+RtlSetLastWin32Error(
+       IN ULONG Win32Error
+       );
+
+VOID
+STDCALL
+RtlSetLastWin32ErrorAndNtStatusFromNtStatus(
+       IN NTSTATUS NtStatus
+       );
+
+NTSTATUS
+STDCALL
+ZwAccessCheckByType(
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN HANDLE TokenHandle,
+       IN ULONG DesiredAccess,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN PPRIVILEGE_SET PrivilegeSet,
+       IN PULONG PrivilegeSetLength,
+       OUT PACCESS_MASK GrantedAccess,
+       OUT PULONG AccessStatus
+       );
+
+NTSTATUS
+STDCALL
+ZwAccessCheckByTypeAndAuditAlarm(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccess,
+       OUT PULONG AccessStatus,
+       OUT PBOOLEAN GenerateOnClose
+       );
+
+NTSTATUS
+STDCALL
+ZwAccessCheckByTypeResultList(
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN HANDLE TokenHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN PPRIVILEGE_SET PrivilegeSet,
+       IN PULONG PrivilegeSetLength,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList
+       );
+
+NTSTATUS
+STDCALL
+ZwAccessCheckByTypeResultListAndAuditAlarm(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList,
+       OUT PULONG GenerateOnClose
+       );
+
+NTSTATUS
+STDCALL
+ZwAccessCheckByTypeResultListAndAuditAlarmByHandle(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN HANDLE TokenHandle,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList,
+       OUT PULONG GenerateOnClose
+       );
+
+NTSTATUS
+STDCALL
+ZwAllocateUserPhysicalPages(
+       IN HANDLE ProcessHandle,
+       IN PULONG NumberOfPages,
+       OUT PULONG PageFrameNumbers
+       );
+
+NTSTATUS
+STDCALL
+ZwAreMappedFilesTheSame(
+       IN PVOID Address1,
+       IN PVOID Address2
+       );
+
+NTSTATUS
+STDCALL
+ZwAssignProcessToJobObject(
+       IN HANDLE JobHandle,
+       IN HANDLE ProcessHandle
+       );
+
+NTSTATUS
+STDCALL
+ZwCreateJobObject(
+       OUT PHANDLE JobHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes
+       );
+
+NTSTATUS
+STDCALL
+ZwCreateKeyedEvent(
+       OUT PHANDLE KeyedEventHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes,
+       ULONG Reserved
+       );
+
+NTSTATUS
+STDCALL
+ZwCreateWaitablePort(
+       OUT PHANDLE PortHandle,
+       IN POBJECT_ATTRIBUTES ObjectAttributes,
+       IN ULONG MaxDataSize,
+       IN ULONG MaxMessageSize,
+       IN ULONG Reserved
+       );
+
+NTSTATUS
+STDCALL
+ZwFilterToken(
+       IN HANDLE ExistingTokenHandle,
+       IN ULONG Flags,
+       IN PTOKEN_GROUPS SidsToDisable,
+       IN PTOKEN_PRIVILEGES PrivilegesToDelete,
+       IN PTOKEN_GROUPS SidsToRestricted,
+       OUT PHANDLE NewTokenHandle
+       );
+
+NTSTATUS
+STDCALL
+ZwFreeUserPhysicalPages(
+       IN HANDLE ProcessHandle,
+       IN OUT PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       );
+
+NTSTATUS
+STDCALL
+ZwGetWriteWatch(
+       IN HANDLE ProcessHandle,
+       IN ULONG Flags,
+       IN PVOID BaseAddress,
+       IN ULONG RegionSize,
+       OUT PULONG Buffer,
+       IN OUT PULONG BufferEntries,
+       OUT PULONG Granularity
+       );
+
+NTSTATUS
+STDCALL
+ZwImpersonateAnonymousToken(
+       IN HANDLE ThreadHandle
+       );
+
+NTSTATUS
+STDCALL
+ZwIsProcessInJob(
+       IN HANDLE JobHandle,
+       IN HANDLE ProcessHandle
+       );
+
+NTSTATUS
+STDCALL
+ZwMakePermanentObject(
+       IN HANDLE Object
+       );
+
+NTSTATUS
+STDCALL
+ZwMapUserPhysicalPages(
+       IN PVOID BaseAddress,
+       IN PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       );
+
+NTSTATUS
+STDCALL
+ZwMapUserPhysicalPagesScatter(
+       IN PVOID *BaseAddresses,
+       IN PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       );
+
+NTSTATUS
+STDCALL
+ZwOpenJobObject(
+       OUT PHANDLE JobHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes
+       );
+
+NTSTATUS
+STDCALL
+ZwOpenKeyedEvent(
+       OUT PHANDLE KeyedEventHandle,
+       IN PACCESS_MASK DesiredAccess,
+       IN PUNICODE_STRING KeyedEventName
+       );
+
+NTSTATUS
+STDCALL
+ZwOpenProcessTokenEx(
+       IN HANDLE ProcessHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN ULONG HandleAttributes,
+       OUT PHANDLE TokenHandle
+       );
+
+NTSTATUS
+STDCALL
+ZwOpenThreadTokenEx(
+       IN HANDLE ThreadHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN BOOLEAN OpenAsSelf,
+       IN ULONG HandleAttributes,
+       OUT PHANDLE TokenHandle
+       );
+
+NTSTATUS
+STDCALL
+ZwQueryDefaultUILanguage(
+       OUT PLANGID LanguageId
+       );
+
+NTSTATUS
+STDCALL
+ZwQueryInformationJobObject(
+       IN HANDLE JobHandle,
+       IN JOBOBJECTINFOCLASS JobInformationClass,
+       OUT PVOID JobInformation,
+       IN ULONG JobInformationLength,
+       OUT PULONG ReturnLength OPTIONAL
+       );
+
+NTSTATUS
+STDCALL
+ZwQueryInstallUILanguage(
+       OUT PLANGID LanguageId
+       );
+
+ULONG
+STDCALL
+ZwQueryPortInformationProcess(
+       VOID
+       );
+
+NTSTATUS
+STDCALL
+ZwQueryQuotaInformationFile(
+       IN HANDLE FileHandle,
+       OUT PIO_STATUS_BLOCK IoStatusBlock,
+       OUT PFILE_USER_QUOTA_INFORMATION Buffer,
+       IN ULONG BufferLength,
+       IN BOOLEAN ReturnSingleEntry,
+       IN PFILE_QUOTA_LIST_INFORMATION QuotaList OPTIONAL,
+       IN ULONG QuotaListLength,
+       IN PSID ResumeSid OPTIONAL,
+       IN BOOLEAN RestartScan
+       );
+
+NTSTATUS
+STDCALL
+ZwReleaseKeyedEvent(
+       IN HANDLE KeyedEventHandle,
+       IN ULONG Requested,
+       IN BOOLEAN Alertable,
+       IN PLARGE_INTEGER Timeout OPTIONAL
+       );
+
+NTSTATUS
+STDCALL
+ZwReplyWaitReceivePortEx(
+       IN HANDLE PortHandle,
+       OUT PULONG PortIdentifier OPTIONAL,
+       IN PPORT_MESSAGE ReplyMessage OPTIONAL,
+       OUT PPORT_MESSAGE Message,
+       IN PLARGE_INTEGER Timeout
+       );
+
+NTSTATUS
+STDCALL
+ZwResetWriteWatch(
+       IN HANDLE ProcessHandle,
+       IN PVOID BaseAddress,
+       IN ULONG RegionSize
+       );
+
+NTSTATUS
+STDCALL
+ZwResumeProcess(
+       IN HANDLE Process
+       );
+
+NTSTATUS
+STDCALL
+ZwSecureConnectPort(
+       OUT PHANDLE PortHandle,
+       IN PUNICODE_STRING PortName,
+       IN PSECURITY_QUALITY_OF_SERVICE SecurityQos,
+       IN OUT PPORT_SECTION_WRITE WriteSection OPTIONAL,
+       IN PSID ServerSid OPTIONAL,
+       IN OUT PPORT_SECTION_READ ReadSection OPTIONAL,
+       OUT PULONG MaxMessageSize OPTIONAL,
+       IN OUT PVOID ConnectData OPTIONAL,
+       IN OUT PULONG ConnectDataLength OPTIONAL
+       );
+
+NTSTATUS
+STDCALL
+ZwSetDefaultUILanguage(
+       IN LANGID LanguageId
+       );
+
+NTSTATUS
+STDCALL
+ZwSetHighWaitLowThread(
+       VOID
+       );
+
+NTSTATUS
+STDCALL
+ZwSetInformationJobObject(
+       IN HANDLE JobHandle,
+       IN JOBOBJECTINFOCLASS JobInformationClass,
+       IN PVOID JobInformation,
+       IN ULONG JobInformationLength
+       );
+
+NTSTATUS
+STDCALL
+ZwSetLowWaitHighThread(
+       VOID
+       );
+
+NTSTATUS
+STDCALL
+ZwSetQuotaInformationFile(
+       IN HANDLE FileHandle,
+       OUT PIO_STATUS_BLOCK IoStatusBlock,
+       IN PFILE_USER_QUOTA_INFORMATION Buffer,
+       IN ULONG BufferLength
+       );
+
+NTSTATUS
+STDCALL
+ZwSetUuidSeed(
+       IN PUCHAR UuidSeed
+       );
+
+NTSTATUS
+STDCALL
+ZwSuspendProcess(
+       IN HANDLE Process
+       );
+
+NTSTATUS
+STDCALL
+ZwTerminateJobObject(
+       IN HANDLE JobHandle,
+       IN NTSTATUS ExitStatus
+       );
+
+NTSTATUS
+STDCALL
+ZwWaitForKeyedEvent(
+       IN HANDLE KeyedEventHandle,
+       IN ULONG Requested,
+       IN BOOLEAN Alertable,
+       IN PLARGE_INTEGER Timeout OPTIONAL
+       );
+DWORD
+STDCALL
+GetAppCompatFlags2(HTASK hTask);
+VOID STDCALL InitializeLpkHooks(FARPROC *hookfuncs);
+BOOL STDCALL EnterReaderModeHelper(HWND hwnd);
+BOOL STDCALL CtxInitUser32(VOID);
+BOOL STDCALL ReasonCodeNeedsBugID(ULONG reasoncode);
+BOOL STDCALL ReasonCodeNeedsComment(ULONG reasoncode);
+int
+STDCALL
+MessageBoxTimeoutW(
+    HWND hWnd,
+    LPCWSTR lpText,
+    LPCWSTR lpCaption,
+    UINT uType,
+    WORD wLanguageId,
+    DWORD dwTime);
+
+int
+STDCALL
+MessageBoxTimeoutA(
+    HWND hWnd,
+    LPCSTR lpText,
+    LPCSTR lpCaption,
+    UINT uType,
+    WORD wLanguageId,
+    DWORD dwTime);
+BOOL STDCALL DisplayExitWindowsWarnings(ULONG flags);
+FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PDelayLoadInfo pdli);
+VOID STDCALL WEP();
+DWORD STDCALL RtlDeleteSecurityObject(DWORD x1);
+DWORD     STDCALL RtlNewSecurityObject(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6);
+NTSTATUS  STDCALL RtlWalkHeap( HANDLE heap, PVOID entry_ptr );
+NTSTATUS  STDCALL RtlpUnWaitCriticalSection(RTL_CRITICAL_SECTION *crit);
+NTSTATUS  STDCALL RtlpWaitForCriticalSection(RTL_CRITICAL_SECTION *crit);
+NTSTATUS STDCALL LdrLockLoaderLock(ULONG flags, ULONG *result, ULONG *magic);
+NTSTATUS STDCALL LdrUnlockLoaderLock(ULONG flags, ULONG magic);
+NTSTATUS  STDCALL RtlAddAccessAllowedAceEx(
+       IN OUT PACL pAcl,
+       IN DWORD dwAceRevision, 
+       IN DWORD AceFlags,
+       IN DWORD AccessMask,
+       IN PSID pSid);
+NTSTATUS  STDCALL RtlAddAccessDeniedAceEx(
+       IN OUT PACL pAcl,
+       IN DWORD dwAceRevision,
+       IN DWORD AceFlags,
+       IN DWORD AccessMask,
+       IN PSID pSid);
+DWORD     STDCALL RtlComputeCrc32(DWORD dwInitial, PBYTE pData, INT iLen);
+WCHAR     STDCALL RtlDowncaseUnicodeChar(WCHAR wch);
+NTSTATUS  STDCALL RtlDuplicateUnicodeString(
+    int add_nul,
+    const UNICODE_STRING *source,
+    UNICODE_STRING *destination);
+NTSTATUS  STDCALL RtlFindCharInUnicodeString(
+    int flags,
+    const UNICODE_STRING *main_str,
+    const UNICODE_STRING *search_chars,
+    USHORT *pos);
+ULONG     STDCALL RtlFindClearRuns(PCRTL_BITMAP lpBits, PRTL_BITMAP_RUN lpSeries,
+                              ULONG ulCount, BOOLEAN bLongest);
+ULONG     STDCALL RtlFindLastBackwardRunClear(PCRTL_BITMAP lpBits, ULONG ulStart, PULONG lpPos);
+CCHAR     STDCALL RtlFindLeastSignificantBit(ULONGLONG ulLong);
+CCHAR     STDCALL RtlFindMostSignificantBit(ULONGLONG ulLong);
+ULONG     STDCALL RtlFindNextForwardRunClear(PCRTL_BITMAP lpBits, ULONG ulStart, PULONG lpPos);
+VOID      STDCALL RtlFreeOemString(POEM_STRING str);
+NTSTATUS  STDCALL RtlInitUnicodeStringEx(PUNICODE_STRING target,PCWSTR source);
+NTSTATUS  STDCALL RtlInitializeCriticalSectionAndSpinCount(RTL_CRITICAL_SECTION *crit, DWORD spincount);
+NTSTATUS  STDCALL RtlInt64ToUnicodeString(ULONGLONG value,ULONG base,UNICODE_STRING *str);
+void  *_lfind(const void* match, const void* start,unsigned int* array_size, unsigned int elem_size,int (*cf)(const void*,const void*));
+
+ULONG
+__cdecl
+DbgPrintEx(
+    IN ULONG ComponentId,
+    IN ULONG Level,
+    IN PCH Format,
+    ...
+    );
+ULONG
+__cdecl
+DbgPrintReturnControlC(
+    PCH Format,
+    ...
+    );
+NTSTATUS
+STDCALL
+DbgQueryDebugFilterState(
+    IN ULONG ComponentId,
+    IN ULONG Level
+    );
+NTSTATUS
+STDCALL
+DbgSetDebugFilterState(
+    IN ULONG ComponentId,
+    IN ULONG Level,
+    IN BOOL State
+    );
+NTSTATUS
+STDCALL
+NtCancelDeviceWakeupRequest(
+    IN HANDLE Device
+    );
+NTSTATUS
+STDCALL
+NtCompactKeys(
+    IN ULONG Count,
+    IN HANDLE KeyArray[]
+            );
+NTSTATUS
+STDCALL
+NtCompressKey(
+    IN HANDLE Key
+            );
+NTSTATUS
+STDCALL
+NtGetDevicePowerState(
+    IN HANDLE Device,
+    OUT DEVICE_POWER_STATE *State
+    );
+NTSTATUS
+STDCALL
+NtInitiatePowerAction(
+    IN POWER_ACTION SystemAction,
+    IN SYSTEM_POWER_STATE MinSystemState,
+    IN ULONG Flags,
+    IN BOOL Asynchronous
+    );
+BOOL
+STDCALL
+NtIsSystemResumeAutomatic(
+    VOID
+    );
+NTSTATUS
+STDCALL
+NtLockProductActivationKeys(
+    ULONG   *pPrivateVer,
+    ULONG   *pIsSafeMode
+    );
+NTSTATUS
+STDCALL
+NtLockRegistryKey(
+    IN HANDLE           KeyHandle
+    );
+NTSTATUS
+STDCALL
+NtNotifyChangeMultipleKeys(
+    IN HANDLE MasterKeyHandle,                 
+    IN ULONG Count,
+    IN OBJECT_ATTRIBUTES SlaveObjects[],
+    IN HANDLE Event OPTIONAL,
+    IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
+    IN PVOID ApcContext OPTIONAL,
+    OUT PIO_STATUS_BLOCK IoStatusBlock,
+    IN ULONG CompletionFilter,
+    IN BOOL WatchTree,
+    OUT PVOID Buffer,
+    IN ULONG BufferSize,
+    IN BOOL Asynchronous
+    );
+NTSTATUS
+STDCALL
+NtQueryOpenSubKeys(
+    IN POBJECT_ATTRIBUTES TargetKey,
+    OUT PULONG  HandleCount
+    );
+NTSTATUS
+STDCALL
+NtRenameKey(
+    IN HANDLE           KeyHandle,
+    IN PUNICODE_STRING  NewName
+    );
+NTSTATUS
+STDCALL
+NtRequestDeviceWakeup(
+    IN HANDLE Device
+    );
+NTSTATUS
+STDCALL
+NtRequestWakeupLatency(
+    IN LATENCY_TIME latency
+    );
+NTSTATUS
+STDCALL
+NtSaveKeyEx(
+    IN HANDLE KeyHandle,
+    IN HANDLE FileHandle,
+    IN ULONG  Format
+    );
+NTSTATUS
+STDCALL
+NtSaveMergedKeys(
+    IN HANDLE HighPrecedenceKeyHandle,
+    IN HANDLE LowPrecedenceKeyHandle,
+    IN HANDLE FileHandle
+    );
+NTSTATUS
+STDCALL
+NtSetThreadExecutionState(
+    IN EXECUTION_STATE esFlags,
+    OUT EXECUTION_STATE *PreviousFlags
+    );
+NTSTATUS
+STDCALL
+NtUnloadKeyEx(
+    IN POBJECT_ATTRIBUTES TargetKey,
+    IN HANDLE Event OPTIONAL
+    );
+NTSTATUS
+STDCALL
+RtlAddRange(
+    IN OUT PRTL_RANGE_LIST RangeList,
+    IN ULONGLONG Start,
+    IN ULONGLONG End,
+    IN UCHAR Attributes,
+    IN ULONG Flags,
+    IN PVOID UserData,  OPTIONAL
+    IN PVOID Owner      OPTIONAL
+    );
+NTSTATUS
+STDCALL
+RtlCopyRangeList(
+    OUT PRTL_RANGE_LIST CopyRangeList,
+    IN PRTL_RANGE_LIST RangeList
+    );
+NTSTATUS
+STDCALL
+RtlDeleteOwnersRanges(
+    IN OUT PRTL_RANGE_LIST RangeList,
+    IN PVOID Owner
+    );
+NTSTATUS
+STDCALL
+RtlDeleteRange(
+    IN OUT PRTL_RANGE_LIST RangeList,
+    IN ULONGLONG Start,
+    IN ULONGLONG End,
+    IN PVOID Owner
+    );
+NTSTATUS
+STDCALL
+RtlFindRange(
+    IN PRTL_RANGE_LIST RangeList,
+    IN ULONGLONG Minimum,
+    IN ULONGLONG Maximum,
+    IN ULONG Length,
+    IN ULONG Alignment,
+    IN ULONG Flags,
+    IN UCHAR AttributeAvailableMask,
+    IN PVOID Context OPTIONAL,
+    IN PRTL_CONFLICT_RANGE_CALLBACK Callback OPTIONAL,
+    OUT PULONGLONG Start
+    );
+VOID
+STDCALL
+RtlFreeRangeList(
+    IN PRTL_RANGE_LIST RangeList
+    );
+NTSTATUS
+STDCALL
+RtlGUIDFromString(
+    IN PUNICODE_STRING GuidString,
+    OUT GUID* Guid
+    );
+NTSTATUS
+STDCALL
+RtlGetFirstRange(
+    IN PRTL_RANGE_LIST RangeList,
+    OUT PRTL_RANGE_LIST_ITERATOR Iterator,
+    OUT PRTL_RANGE *Range
+    );
+NTSTATUS
+STDCALL
+RtlGetNextRange(
+    IN OUT PRTL_RANGE_LIST_ITERATOR Iterator,
+    OUT PRTL_RANGE *Range,
+    IN BOOL MoveForwards
+    );
+NTSTATUS
+STDCALL
+RtlGetVersion(
+    OUT PRTL_OSVERSIONINFOW lpVersionInformation
+    );
+NTSTATUS
+STDCALL
+RtlHashUnicodeString(
+    IN const UNICODE_STRING *String,
+    IN BOOL CaseInSensitive,
+    IN ULONG HashAlgorithm,
+    OUT PULONG HashValue
+    );
+VOID
+STDCALL
+RtlInitializeRangeList(
+    IN OUT PRTL_RANGE_LIST RangeList
+    );
+NTSTATUS
+STDCALL
+RtlInvertRangeList(
+    OUT PRTL_RANGE_LIST InvertedRangeList,
+    IN PRTL_RANGE_LIST RangeList
+    );
+NTSTATUS
+STDCALL
+RtlIsRangeAvailable(
+    IN PRTL_RANGE_LIST RangeList,
+    IN ULONGLONG Start,
+    IN ULONGLONG End,
+    IN ULONG Flags,
+    IN UCHAR AttributeAvailableMask,
+    IN PVOID Context OPTIONAL,
+    IN PRTL_CONFLICT_RANGE_CALLBACK Callback OPTIONAL,
+    OUT PBOOL Available
+    );
+NTSTATUS
+STDCALL
+RtlMergeRangeLists(
+    OUT PRTL_RANGE_LIST MergedRangeList,
+    IN PRTL_RANGE_LIST RangeList1,
+    IN PRTL_RANGE_LIST RangeList2,
+    IN ULONG Flags
+    );
+NTSTATUS
+STDCALL
+RtlStringFromGUID(
+    IN REFGUID Guid,
+    OUT PUNICODE_STRING GuidString
+    );
+USHORT
+FASTCALL
+RtlUshortByteSwap(
+    IN USHORT Source
+    );
+ULONG
+FASTCALL
+RtlUlongByteSwap(
+    IN ULONG Source
+    );
+ULONGLONG
+FASTCALL
+RtlUlonglongByteSwap(
+    IN ULONGLONG Source
+    );
+BOOL
+STDCALL
+RtlValidRelativeSecurityDescriptor (
+    IN PSECURITY_DESCRIPTOR SecurityDescriptorInput,
+    IN ULONG SecurityDescriptorLength,
+    IN SECURITY_INFORMATION RequiredInformation
+    );
+NTSTATUS
+STDCALL
+RtlVerifyVersionInfo(
+    IN PRTL_OSVERSIONINFOEXW VersionInfo,
+    IN ULONG TypeMask,
+    IN ULONGLONG  ConditionMask
+    );
+ULONG
+STDCALL
+RtlWalkFrameChain (
+    OUT PVOID *Callers,
+    IN ULONG Count,
+    IN ULONG Flags
+    );
+ULONG
+vDbgPrintEx(
+    IN ULONG ComponentId,
+    IN ULONG Level,
+    IN PCH Format,
+    va_list arglist
+    );
+ULONG
+vDbgPrintExWithPrefix(
+    IN PCH Prefix,
+    IN ULONG ComponentId,
+    IN ULONG Level,
+    IN PCH Format,
+    va_list arglist
+    );
+NTSTATUS
+STDCALL
+ZwCancelDeviceWakeupRequest(
+    IN HANDLE Device
+    );
+NTSTATUS
+STDCALL
+ZwCompactKeys(
+    IN ULONG Count,
+    IN HANDLE KeyArray[]
+            );
+NTSTATUS
+STDCALL
+ZwCompressKey(
+    IN HANDLE Key
+            );
+NTSTATUS
+STDCALL
+ZwGetDevicePowerState(
+    IN HANDLE Device,
+    OUT DEVICE_POWER_STATE *State
+    );
+NTSTATUS
+STDCALL
+ZwInitiatePowerAction(
+    IN POWER_ACTION SystemAction,
+    IN SYSTEM_POWER_STATE MinSystemState,
+    IN ULONG Flags,
+    IN BOOL Asynchronous
+    );
+BOOL
+STDCALL
+ZwIsSystemResumeAutomatic(
+    VOID
+    );
+NTSTATUS
+STDCALL
+ZwLockProductActivationKeys(
+    ULONG   *pPrivateVer,
+    ULONG   *pIsSafeMode
+    );
+NTSTATUS
+STDCALL
+ZwLockRegistryKey(
+    IN HANDLE           KeyHandle
+    );
+NTSTATUS
+STDCALL
+ZwNotifyChangeMultipleKeys(
+    IN HANDLE MasterKeyHandle,                 
+    IN ULONG Count,
+    IN OBJECT_ATTRIBUTES SlaveObjects[],
+    IN HANDLE Event OPTIONAL,
+    IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
+    IN PVOID ApcContext OPTIONAL,
+    OUT PIO_STATUS_BLOCK IoStatusBlock,
+    IN ULONG CompletionFilter,
+    IN BOOL WatchTree,
+    OUT PVOID Buffer,
+    IN ULONG BufferSize,
+    IN BOOL Asynchronous
+    );
+NTSTATUS
+STDCALL
+ZwQueryOpenSubKeys(
+    IN POBJECT_ATTRIBUTES TargetKey,
+    OUT PULONG  HandleCount
+    );
+NTSTATUS
+STDCALL
+ZwRenameKey(
+    IN HANDLE           KeyHandle,
+    IN PUNICODE_STRING  NewName
+    );
+NTSTATUS
+STDCALL
+ZwRequestDeviceWakeup(
+    IN HANDLE Device
+    );
+NTSTATUS
+STDCALL
+ZwRequestWakeupLatency(
+    IN LATENCY_TIME latency
+    );
+NTSTATUS
+STDCALL
+ZwSaveKeyEx(
+    IN HANDLE KeyHandle,
+    IN HANDLE FileHandle,
+    IN ULONG  Format
+    );
+NTSTATUS
+STDCALL
+ZwSaveMergedKeys(
+    IN HANDLE HighPrecedenceKeyHandle,
+    IN HANDLE LowPrecedenceKeyHandle,
+    IN HANDLE FileHandle
+    );
+NTSTATUS
+STDCALL
+ZwSetThreadExecutionState(
+    IN EXECUTION_STATE esFlags,
+    OUT EXECUTION_STATE *PreviousFlags
+    );
+NTSTATUS
+STDCALL
+ZwUnloadKeyEx(
+    IN POBJECT_ATTRIBUTES TargetKey,
+    IN HANDLE Event OPTIONAL
+    );
+BOOL STDCALL LdrFlushAlternateResourceModules(VOID);
+BOOL STDCALL LdrAlternateResourcesEnabled(VOID);
+
+VOID STDCALL MD4Init(PMD4_CONTEXT Context);
+VOID STDCALL MD4Update(PMD4_CONTEXT Context, PVOID Buffer, UINT BufferSize);
+VOID STDCALL MD4Final(PMD4_CONTEXT Context);
+
+VOID STDCALL MD5Init(PMD5_CONTEXT Context);
+VOID STDCALL MD5Update(PMD5_CONTEXT Context, PVOID Buffer, UINT BufferSize);
+VOID STDCALL MD5Final(PMD5_CONTEXT Context);
+
+VOID STDCALL A_SHAInit(PSHA_CONTEXT Context);
+VOID STDCALL A_SHAUpdate(PSHA_CONTEXT Context, PVOID Buffer, UINT BufferSize);
+VOID STDCALL A_SHAFinal(PSHA_CONTEXT Context, PVOID Result);
+
+VOID STDCALL GdiInitializeLanguagePack(DWORD InitParam);
+BOOL STDCALL SetConsoleIcon(HICON hicon);
+NTSTATUS STDCALL NtPowerInformation(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5);
+NTSTATUS STDCALL ZwPowerInformation(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5);
+double __cdecl _CIpow(double x,double y);
+LPSTR __cdecl _ui64toa(
+    ULONGLONG value,
+    LPSTR str,
+    INT radix);
+LPWSTR __cdecl _ui64tow(
+    ULONGLONG value,
+    LPWSTR str,
+    INT radix);
+INT __cdecl iswdigit( WCHAR wc );
+INT __cdecl iswlower( WCHAR wc );
+INT __cdecl iswxdigit( WCHAR wc );
+DWORD STDCALL GetHandleContext(HANDLE hnd);
+HANDLE STDCALL CreateSocketHandle(VOID);
+BOOL STDCALL SetHandleContext(HANDLE hnd,DWORD context);
+BOOL STDCALL SetConsoleInputExeNameA(LPCSTR name);
+BOOL STDCALL SetConsoleInputExeNameW(LPCWSTR name);
+BOOL STDCALL UTRegister( HMODULE hModule, LPSTR lpsz16BITDLL,
+                        LPSTR lpszInitName, LPSTR lpszProcName,
+                        FARPROC *ppfn32Thunk, FARPROC pfnUT32CallBack,
+                        LPVOID lpBuff );
+VOID STDCALL UTUnRegister( HMODULE hModule );
+BOOL STDCALL SynchronizeWindows31FilesAndWindowsNTRegistry( DWORD x1, DWORD x2, DWORD x3,DWORD x4 );
+BOOL STDCALL QueryWindows31FilesMigration( DWORD x1 );
+
 WINBOOL STDCALL GetConsoleKeyboardLayoutNameA(LPSTR name);
 WINBOOL STDCALL GetConsoleKeyboardLayoutNameW(LPWSTR name);
 
@@ -1972,7 +3616,7 @@ HeapQueryInformation (
 WINBOOL
 STDCALL
 HeapSetInformation (
-    HANDLE HeapHandle, 
+    HANDLE HeapHandle,
     HEAP_INFORMATION_CLASS HeapInformationClass,
     PVOID HeapInformation OPTIONAL,
     SIZE_T HeapInformationLength OPTIONAL
@@ -2101,9 +3745,9 @@ QueueUserAPC(
     ULONG_PTR dwData
     );
 
-WINBOOL
+NTSTATUS
 STDCALL
-QueueUserWorkItem(
+RtlQueueWorkItem(
     LPTHREAD_START_ROUTINE Function,
     PVOID Context,
     ULONG Flags
index bf469ca..b732097 100644 (file)
@@ -26,6 +26,28 @@ extern "C" {
 #include <ipexport.h>
 #include <iptypes.h>
 
+DWORD
+STDCALL
+NhpAllocateAndGetInterfaceInfoFromStack(
+    OUT IP_INTERFACE_NAME_INFO **ppTable,
+    OUT PDWORD                 pdwCount,
+    IN BOOL                    bOrder,
+    IN HANDLE                  hHeap,
+    IN DWORD                   dwFlags
+    );
+DWORD STDCALL AllocateAndGetIfTableFromStack(PMIB_IFTABLE *ppIfTable,
+ BOOL bOrder, HANDLE heap, DWORD flags);
+DWORD STDCALL AllocateAndGetIpAddrTableFromStack(PMIB_IPADDRTABLE *ppIpAddrTable,
+ BOOL bOrder, HANDLE heap, DWORD flags);
+DWORD STDCALL AllocateAndGetIpForwardTableFromStack(PMIB_IPFORWARDTABLE *
+ ppIpForwardTable, BOOL bOrder, HANDLE heap, DWORD flags);
+DWORD STDCALL AllocateAndGetIpNetTableFromStack(PMIB_IPNETTABLE *ppIpNetTable,
+ BOOL bOrder, HANDLE heap, DWORD flags);
+DWORD STDCALL AllocateAndGetTcpTableFromStack(PMIB_TCPTABLE *ppTcpTable,
+ BOOL bOrder, HANDLE heap, DWORD flags);
+DWORD STDCALL AllocateAndGetUdpTableFromStack(PMIB_UDPTABLE *ppUdpTable,
+ BOOL bOrder, HANDLE heap, DWORD flags);
+
 DWORD STDCALL GetNumberOfInterfaces(PDWORD pdwNumIf);
 
 DWORD STDCALL GetIfEntry(PMIB_IFROW pIfRow);
index 1e82652..b0c605f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: rtl.h,v 1.39 2003/05/31 11:07:00 ekohl Exp $
+/* $Id: rtl.h,v 1.40 2003/09/12 17:51:46 vizzini Exp $
  *
  */
 
@@ -57,6 +57,10 @@ typedef struct _CRITICAL_SECTION {
     DWORD Reserved;
 } CRITICAL_SECTION, *PCRITICAL_SECTION, *LPCRITICAL_SECTION;
 
+typedef CRITICAL_SECTION RTL_CRITICAL_SECTION;
+typedef PCRITICAL_SECTION PRTL_CRITICAL_SECTION;
+typedef LPCRITICAL_SECTION LPRTL_CRITICAL_SECTION;
+
 #endif /* !__USE_W32API */
 
 
index bb38147..b1db702 100755 (executable)
@@ -1,4 +1,4 @@
-/* $Id: rtl.h,v 1.18 2003/09/02 11:14:15 ekohl Exp $
+/* $Id: rtl.h,v 1.19 2003/09/12 17:51:46 vizzini Exp $
  * 
  */
 
@@ -386,6 +386,7 @@ RtlEqualUnicodeString (
        );
 
 VOID
+STDCALL
 RtlGetCallersAddress (
        PVOID   * CallersAddress
        );
index e23096a..9c1b1dc 100644 (file)
@@ -363,6 +363,22 @@ typedef struct tagPOINTS {
   SHORT y;
 } POINTS;
 
+typedef struct {
+       ULONG State[4];
+       ULONG Unknown[2];
+} MD4_CONTEXT, *PMD4_CONTEXT;
+
+typedef struct {
+       ULONG Unknown[2];
+       ULONG State[4];
+} MD5_CONTEXT, *PMD5_CONTEXT;
+
+typedef struct {
+       ULONG Unknown1[6];
+       ULONG State[5];
+       ULONG Unknown2[2];
+} SHA_CONTEXT, *PSHA_CONTEXT;
+
 typedef struct _tagCANDIDATEFORM {
   DWORD  dwIndex;
   DWORD  dwStyle;
@@ -457,25 +473,55 @@ typedef_tident(LPIMEPRO)
 typedef_tident(PIMEPRO)
 
 typedef struct _cpinfoexA {
-    UINT    MaxCharSize;                    // max length (in bytes) of a char
-    BYTE    DefaultChar[MAX_DEFAULTCHAR];   // default character (MB)
-    BYTE    LeadByte[MAX_LEADBYTES];        // lead byte ranges
-    WCHAR   UnicodeDefaultChar;             // default character (Unicode)
-    UINT    CodePage;                       // code page id
-    CHAR    CodePageName[MAX_PATH];         // code page name (Unicode)
+    UINT    MaxCharSize;
+    BYTE    DefaultChar[MAX_DEFAULTCHAR];
+    BYTE    LeadByte[MAX_LEADBYTES];
+    WCHAR   UnicodeDefaultChar;
+    UINT    CodePage;
+    CHAR    CodePageName[MAX_PATH];
 } CPINFOEXA, *LPCPINFOEXA;
 typedef struct _cpinfoexW {
-    UINT    MaxCharSize;                    // max length (in bytes) of a char
-    BYTE    DefaultChar[MAX_DEFAULTCHAR];   // default character (MB)
-    BYTE    LeadByte[MAX_LEADBYTES];        // lead byte ranges
-    WCHAR   UnicodeDefaultChar;             // default character (Unicode)
-    UINT    CodePage;                       // code page id
-    WCHAR   CodePageName[MAX_PATH];         // code page name (Unicode)
+    UINT    MaxCharSize;
+    BYTE    DefaultChar[MAX_DEFAULTCHAR];
+    BYTE    LeadByte[MAX_LEADBYTES];
+    WCHAR   UnicodeDefaultChar;
+    UINT    CodePage;
+    WCHAR   CodePageName[MAX_PATH];
 } CPINFOEXW, *LPCPINFOEXW;
 
 typedef_tident(CPINFOEX)
 typedef_tident(LPCPINFOEX)
 
+typedef struct _RTL_RANGE_LIST {
+    LIST_ENTRY ListHead;
+    ULONG Flags;
+    ULONG Count;
+    ULONG Stamp;
+} RTL_RANGE_LIST, *PRTL_RANGE_LIST;
+
+typedef struct _RTL_RANGE {
+    ULONGLONG Start;
+    ULONGLONG End;
+    PVOID UserData;
+    PVOID Owner;
+    UCHAR Attributes;
+    UCHAR Flags;
+} RTL_RANGE, *PRTL_RANGE;
+
+typedef
+BOOLEAN
+(CALLBACK *PRTL_CONFLICT_RANGE_CALLBACK) (
+PVOID Context,
+PRTL_RANGE Range
+    );
+
+typedef struct _RANGE_LIST_ITERATOR {
+    PLIST_ENTRY RangeListHead;
+    PLIST_ENTRY MergedHead;
+    PVOID Current;
+    ULONG Stamp;
+} RTL_RANGE_LIST_ITERATOR, *PRTL_RANGE_LIST_ITERATOR;
+
 typedef struct tagCBT_CREATEWNDA {
   LPCREATESTRUCTA lpcs;
   HWND            hwndInsertAfter;
@@ -950,6 +996,13 @@ typedef struct tagACTCTX_SECTION_KEYED_DATA {
 } ACTCTX_SECTION_KEYED_DATA, *PACTCTX_SECTION_KEYED_DATA;
 typedef const ACTCTX_SECTION_KEYED_DATA * PCACTCTX_SECTION_KEYED_DATA;
 
+typedef struct tagRTL_BITMAP_RUN {
+    ULONG StartOfRun;
+    ULONG SizeOfRun;
+} RTL_BITMAP_RUN, *PRTL_BITMAP_RUN;
+
+typedef const RTL_BITMAP *PCRTL_BITMAP;
+
 typedef struct _cpinfo {
   UINT MaxCharSize;
   BYTE DefaultChar[MAX_DEFAULTCHAR];
@@ -3890,7 +3943,7 @@ typedef struct _OSVERSIONINFOW {
   DWORD dwBuildNumber;
   DWORD dwPlatformId;
   WCHAR szCSDVersion[ 128 ];
-} OSVERSIONINFOW, *POSVERSIONINFOW, *LPOSVERSIONINFOW;
+} OSVERSIONINFOW, *POSVERSIONINFOW, *LPOSVERSIONINFOW, RTL_OSVERSIONINFOW, *PRTL_OSVERSIONINFOW;
 
 typedef_tident(OSVERSIONINFO)
 
@@ -3938,7 +3991,7 @@ typedef struct _OSVERSIONINFOEXW
  WORD wSuiteMask;
  BYTE wProductType;
  BYTE wReserved;
-} OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW;
+} OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW, RTL_OSVERSIONINFOEXW, *PRTL_OSVERSIONINFOEXW;
 
 typedef_tident(OSVERSIONINFOEX)
 
@@ -6152,6 +6205,89 @@ typedef struct tagTRACKMOUSEEVENT {
   DWORD dwHoverTime;
 } TRACKMOUSEEVENT, *LPTRACKMOUSEEVENT;
 
+typedef IMAGE_THUNK_DATA *          PImgThunkData;
+typedef const IMAGE_THUNK_DATA *    PCImgThunkData;
+
+typedef struct ImgDelayDescr {
+    DWORD           grAttrs;
+    LPCSTR          szName;
+    HMODULE *       phmod;
+    PImgThunkData   pIAT;
+    PCImgThunkData  pINT;
+    PCImgThunkData  pBoundIAT;
+    PCImgThunkData  pUnloadIAT;
+    DWORD           dwTimeStamp;
+    } ImgDelayDescr, * PImgDelayDescr;
+
+typedef const ImgDelayDescr *   PCImgDelayDescr;
+
+typedef struct DelayLoadProc {
+    BOOL                fImportByName;
+    union {
+        LPCSTR          szProcName;
+        DWORD           dwOrdinal;
+        };
+    } DelayLoadProc;
+
+typedef struct DelayLoadInfo {
+    DWORD               cb;
+    PCImgDelayDescr     pidd;
+    FARPROC *           ppfn;
+    LPCSTR              szDll;
+    DelayLoadProc       dlp;
+    HMODULE             hmodCur;
+    FARPROC             pfnCur;
+    DWORD               dwLastError;
+    } DelayLoadInfo, * PDelayLoadInfo;
+
+typedef struct _RTL_HEAP_TAG_INFO {
+       ULONG AllocCount;
+       ULONG FreeCount;
+       ULONG MemoryUsed;
+} RTL_HEAP_TAG_INFO, *LPRTL_HEAP_TAG_INFO, *PRTL_HEAP_TAG_INFO;
+
+typedef struct _PORT_MESSAGE {
+       USHORT DataSize;
+       USHORT MessageSize;
+       USHORT MessageType;
+       USHORT VirtualRangesOffset;
+       CLIENT_ID ClientId;
+       ULONG MessageId;
+       ULONG SectionSize;
+//     UCHAR Data [];
+} PORT_MESSAGE,*PPORT_MESSAGE;
+
+typedef struct _PORT_SECTION_WRITE {
+       ULONG Length;
+       HANDLE SectionHandle;
+       ULONG SectionOffset;
+       ULONG ViewSize;
+       PVOID ViewBase;
+       PVOID TargetViewBase;
+} PORT_SECTION_WRITE,*PPORT_SECTION_WRITE;
+
+typedef struct _PORT_SECTION_READ {
+       ULONG Length;
+       ULONG ViewSize;
+       ULONG ViewBase;
+} PORT_SECTION_READ,*PPORT_SECTION_READ;
+
+typedef struct _FILE_USER_QUOTA_INFORMATION {
+       ULONG NextEntryOffset;
+       ULONG SidLength;
+       LARGE_INTEGER ChangeTime;
+       LARGE_INTEGER QuotaUsed;
+       LARGE_INTEGER QuotaThreshold;
+       LARGE_INTEGER QuotaLimit;
+       SID Sid [1 ];
+} FILE_USER_QUOTA_INFORMATION,*PFILE_USER_QUOTA_INFORMATION;
+
+typedef struct _FILE_QUOTA_LIST_INFORMATION {
+       ULONG NextEntryOffset;
+       ULONG SidLength;
+       SID Sid [1 ];
+} FILE_QUOTA_LIST_INFORMATION,*PFILE_QUOTA_LIST_INFORMATION;
+
 typedef struct _BLENDFUNCTION {
   BYTE     BlendOp;
   BYTE     BlendFlags;
index 759f12b..e3c2e9c 100644 (file)
@@ -1827,6 +1827,28 @@ INT
 STDCALL
 WSARecvEx(SOCKET s,LPSTR buf,INT len,LPINT flags);
 
+struct netent * STDCALL getnetbyname(const char *name);
+void STDCALL s_perror(LPCSTR message);
+UINT STDCALL inet_network(const char *cp);
+BOOL STDCALL WSApSetPostRoutine(PVOID Routine);
+
+typedef  DWORD (* LPFN_NSPAPI) (VOID ) ;
+
+typedef struct _NS_ROUTINE {
+    DWORD        dwFunctionCount;
+    LPFN_NSPAPI *alpfnFunctions;
+    DWORD        dwNameSpace;
+    DWORD        dwPriority;
+} NS_ROUTINE, *PNS_ROUTINE, * FAR LPNS_ROUTINE;
+
+INT
+APIENTRY
+NPLoadNameSpaces (
+    IN OUT LPDWORD         lpdwVersion,
+    IN OUT LPNS_ROUTINE    nsrBuffer,
+    IN OUT LPDWORD         lpdwBufferLength
+    );
+
 #ifdef __cplusplus
 };
 #endif /* __cplusplus */
index dbd9110..9dc8e46 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: advapi32.def,v 1.10 2003/09/08 09:56:56 weiden Exp $
+; $Id: advapi32.def,v 1.11 2003/09/12 17:51:46 vizzini Exp $
 ;
 ; advapi32.def
 ;
@@ -8,9 +8,9 @@
 ;
 LIBRARY advapi32.dll
 EXPORTS
-;A_SHAFinal
-;A_SHAInit
-;A_SHAUpdate
+A_SHAFinal@8
+A_SHAInit@4
+A_SHAUpdate@12
 AbortSystemShutdownA@4
 AbortSystemShutdownW@4
 AccessCheck@32
@@ -411,12 +411,12 @@ LsaStorePrivateData@12
 MakeAbsoluteSD@44
 MakeSelfRelativeSD@12
 MapGenericMask@8
-;MD4Final
-;MD4Init
-;MD4Update
-;MD5Final
-;MD5Init
-;MD5Update
+MD4Final@4
+MD4Init@4
+MD4Update@12
+MD5Final@4
+MD5Init@4
+MD5Update@12
 ;@MSChapSrvChangePassword
 ;@MSChapSrvChangePassword2
 MakeAbsoluteSD2@8
@@ -465,7 +465,7 @@ QueryServiceStatusEx@20
 ;@QueryTraceA
 ;@QueryTraceW
 ;@QueryUsersOnEncryptedFile
-;QueryWindows31FilesMigration@4
+QueryWindows31FilesMigration@4
 ReadEncryptedFileRaw@12
 ReadEventLogA@28
 ReadEventLogW@28
index 82cee08..3ba9699 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: advapi32.edf,v 1.25 2003/09/08 09:56:56 weiden Exp $
+; $Id: advapi32.edf,v 1.26 2003/09/12 17:51:46 vizzini Exp $
 ;
 ; advapi32.edf
 ;
@@ -8,9 +8,9 @@
 ;
 LIBRARY advapi32.dll
 EXPORTS
-;A_SHAFinal
-;A_SHAInit
-;A_SHAUpdate
+A_SHAFinal=A_SHAFinal@8
+A_SHAInit=A_SHAInit@4
+A_SHAUpdate=A_SHAUpdate@12
 AbortSystemShutdownA=AbortSystemShutdownA@4
 AbortSystemShutdownW=AbortSystemShutdownW@4
 AccessCheck=AccessCheck@32
@@ -408,12 +408,12 @@ LsaNtStatusToWinError=NTDLL.RtlNtStatusToDosError
 MakeAbsoluteSD=MakeAbsoluteSD@44
 MakeSelfRelativeSD=MakeSelfRelativeSD@12
 MapGenericMask=MapGenericMask@8
-;MD4Final
-;MD4Init
-;MD4Update
-;MD5Final
-;MD5Init
-;MD5Update
+MD4Final=MD4Final@4
+MD4Init=MD4Init@4
+MD4Update=MD4Update@12
+MD5Final=MD5Final@4
+MD5Init=MD5Init@4
+MD5Update=MD5Update@12
 ;MSChapSrvChangePassword
 ;MSChapSrvChangePassword2
 MakeAbsoluteSD2=MakeAbsoluteSD2@8
@@ -464,7 +464,7 @@ QueryServiceStatusEx=QueryServiceStatusEx@20
 ;QueryTraceA
 ;QueryTraceW
 ;QueryUsersOnEncryptedFile
-;QueryWindows31FilesMigration=QueryWindows31FilesMigration@4
+QueryWindows31FilesMigration=QueryWindows31FilesMigration@4
 ReadEncryptedFileRaw=ReadEncryptedFileRaw@12
 ReadEventLogA=ReadEventLogA@28
 ReadEventLogW=ReadEventLogW@28
@@ -597,7 +597,7 @@ StartServiceW=StartServiceW@12
 ;StartTraceW
 ;StopTraceA
 ;StopTraceW
-;SynchronizeWindows31FilesAndWindowsNTRegistry=SynchronizeWindows31FilesAndWindowsNTRegistry@16
+ynchronizeWindows31FilesAndWindowsNTRegistry=SynchronizeWindows31FilesAndWindowsNTRegistry@16
 SystemFunction001=SystemFunction001@12
 SystemFunction002=SystemFunction002@12
 SystemFunction003=SystemFunction003@8
index 71b1092..4aec46b 100644 (file)
@@ -1454,3 +1454,82 @@ LPBOOL pfGenerateOnClose
 {
   return(FALSE);
 }
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL MD4Init(PMD4_CONTEXT Context)
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL MD4Update(PMD4_CONTEXT Context, PVOID Buffer, UINT BufferSize)
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL MD4Final(PMD4_CONTEXT Context)
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL MD5Init(PMD5_CONTEXT Context)
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL MD5Update(PMD5_CONTEXT Context, PVOID Buffer, UINT BufferSize)
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL MD5Final(PMD5_CONTEXT Context)
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL A_SHAInit(PSHA_CONTEXT Context)
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL A_SHAUpdate(PSHA_CONTEXT Context, PVOID Buffer, UINT BufferSize)
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL A_SHAFinal(PSHA_CONTEXT Context, PVOID Result)
+{
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL SynchronizeWindows31FilesAndWindowsNTRegistry( DWORD x1, DWORD x2, DWORD x3,DWORD x4 )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL QueryWindows31FilesMigration( DWORD x1 )
+{
+  return(FALSE);
+}
index 546f283..39e65e7 100644 (file)
@@ -9,7 +9,7 @@ TARGET_BASE = 0x701a0000
 TARGET_CFLAGS = -fno-builtin -D__USE_W32API
 
 # require os code to explicitly request A/W version of structs/functions
-TARGET_CFLAGS += -DUNICODE -D_UNICODE
+TARGET_CFLAGS += -DUNICODE -D_UNICODE -Wall -Werror
 
 TARGET_LFLAGS = -nostdlib -nostartfiles
 
index 9354c51..460bd66 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.2 2003/08/07 04:03:22 royce Exp $
+# $Id: makefile,v 1.3 2003/09/12 17:51:46 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -7,7 +7,7 @@ TARGET_TYPE = library
 TARGET_NAME = epsapi
 
 # require os code to explicitly request A/W version of structs/functions
-TARGET_CFLAGS += -D_DISABLE_TIDENTS
+TARGET_CFLAGS += -D_DISABLE_TIDENTS -Werror -Wall
 
 TARGET_OBJECTS = \
  enum/drivers.o \
index fbbd851..30b2cce 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: format.c,v 1.2 2003/04/05 23:17:21 chorns Exp $
+/* $Id: format.c,v 1.3 2003/09/12 17:51:46 vizzini Exp $
  *
  * COPYING:    See the top level directory
  * PROJECT:    ReactOS 
@@ -14,6 +14,7 @@
 #include <windows.h>
 #include <fmifs.h>
 #include <fslib/vfatlib.h>
+#include <string.h>
 
 #define NDEBUG
 #include <debug.h>
index ff42a53..83e0f06 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.19 2003/08/07 04:03:22 royce Exp $
+# $Id: makefile,v 1.20 2003/09/12 17:51:46 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -8,7 +8,7 @@ TARGET_NAME = fmifs
 
 TARGET_BASE = 0x76df0000
 
-TARGET_CFLAGS = -fno-builtin
+TARGET_CFLAGS = -fno-builtin -Werror -Wall
 
 # require os code to explicitly request A/W version of structs/functions
 TARGET_CFLAGS += -D_DISABLE_TIDENTS
index 21374bc..76170a4 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.5 2003/08/07 04:03:22 royce Exp $
+# $Id: Makefile,v 1.6 2003/09/12 17:51:46 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -18,7 +18,7 @@ else
 CFLAGS_DBG :=
 endif
 
-TARGET_CFLAGS = $(CFLAGS_DBG) -Iinclude -Wall
+TARGET_CFLAGS = $(CFLAGS_DBG) -Iinclude -Wall -Werror
 
 # require os code to explicitly request A/W version of structs/functions
 TARGET_CFLAGS += -D_DISABLE_TIDENTS
index 22384c0..692d7fa 100755 (executable)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.5 2003/08/24 16:15:31 ekohl Exp $
+# $Id: Makefile,v 1.6 2003/09/12 17:51:46 vizzini Exp $
 
 PATH_TO_TOP = ../../..
 
@@ -7,7 +7,7 @@ TARGET_TYPE = library
 TARGET_NAME = vfatlib
 
 # require os code to explicitly request A/W version of structs/functions
-TARGET_CFLAGS += -D_DISABLE_TIDENTS
+TARGET_CFLAGS += -D_DISABLE_TIDENTS -Wall -Werror
 
 TARGET_OBJECTS = \
  fat12.o \
index ca699f2..f22cb01 100644 (file)
@@ -13,6 +13,7 @@
 #define NTOS_MODE_USER
 #include <ntos.h>
 #include <ddk/ntddscsi.h>
+#include <mem.h>
 #include "vfatlib.h"
 
 
@@ -54,9 +55,7 @@ static NTSTATUS
 Fat12WriteBootSector(IN HANDLE FileHandle,
   IN PFAT16_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
-  UNICODE_STRING Name;
   NTSTATUS Status;
   PUCHAR NewBootSector;
   LARGE_INTEGER FileOffset;
@@ -106,9 +105,7 @@ Fat12WriteFAT(IN HANDLE FileHandle,
   ULONG SectorOffset,
   IN PFAT16_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
-  UNICODE_STRING Name;
   NTSTATUS Status;
   PUCHAR Buffer;
   LARGE_INTEGER FileOffset;
@@ -192,7 +189,6 @@ static NTSTATUS
 Fat12WriteRootDirectory(IN HANDLE FileHandle,
   IN PFAT16_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
   NTSTATUS Status;
   PUCHAR Buffer;
index 60785c6..d7a2877 100644 (file)
@@ -13,6 +13,7 @@
 #define NTOS_MODE_USER
 #include <ntos.h>
 #include <ddk/ntddscsi.h>
+#include <mem.h>
 #include "vfatlib.h"
 
 
@@ -54,9 +55,7 @@ static NTSTATUS
 Fat16WriteBootSector(IN HANDLE FileHandle,
   IN PFAT16_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
-  UNICODE_STRING Name;
   NTSTATUS Status;
   PUCHAR NewBootSector;
   LARGE_INTEGER FileOffset;
@@ -106,9 +105,7 @@ Fat16WriteFAT(IN HANDLE FileHandle,
   ULONG SectorOffset,
   IN PFAT16_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
-  UNICODE_STRING Name;
   NTSTATUS Status;
   PUCHAR Buffer;
   LARGE_INTEGER FileOffset;
@@ -195,7 +192,6 @@ static NTSTATUS
 Fat16WriteRootDirectory(IN HANDLE FileHandle,
   IN PFAT16_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
   NTSTATUS Status;
   PUCHAR Buffer;
index 9f651de..e6025de 100644 (file)
@@ -13,6 +13,7 @@
 #define NTOS_MODE_USER
 #include <ntos.h>
 #include <ddk/ntddscsi.h>
+#include <mem.h>
 #include "vfatlib.h"
 
 
@@ -54,9 +55,7 @@ static NTSTATUS
 Fat32WriteBootSector(IN HANDLE FileHandle,
   IN PFAT32_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
-  UNICODE_STRING Name;
   NTSTATUS Status;
   PUCHAR NewBootSector;
   LARGE_INTEGER FileOffset;
@@ -126,9 +125,7 @@ static NTSTATUS
 Fat32WriteFsInfo(IN HANDLE FileHandle,
   IN PFAT32_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
-  UNICODE_STRING Name;
   NTSTATUS Status;
   PFAT32_FSINFO FsInfo;
   LARGE_INTEGER FileOffset;
@@ -179,9 +176,7 @@ Fat32WriteFAT(IN HANDLE FileHandle,
   ULONG SectorOffset,
   IN PFAT32_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
-  UNICODE_STRING Name;
   NTSTATUS Status;
   PUCHAR Buffer;
   LARGE_INTEGER FileOffset;
@@ -276,7 +271,6 @@ static NTSTATUS
 Fat32WriteRootDirectory(IN HANDLE FileHandle,
   IN PFAT32_BOOT_SECTOR BootSector)
 {
-  OBJECT_ATTRIBUTES ObjectAttributes;
   IO_STATUS_BLOCK IoStatusBlock;
   NTSTATUS Status;
   PUCHAR Buffer;
index 2851f1a..bf443d7 100755 (executable)
@@ -38,7 +38,6 @@ VfatFormat(
   DISK_GEOMETRY DiskGeometry;
   IO_STATUS_BLOCK Iosb;
   HANDLE FileHandle;
-  SCSI_ADDRESS ScsiAddress;
   PARTITION_INFORMATION PartitionInfo;
   NTSTATUS Status;
 
index b95ba7c..ef9f0ac 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: gdi32.def,v 1.9 2003/08/28 19:36:59 gvg Exp $
+; $Id: gdi32.def,v 1.10 2003/09/12 17:51:46 vizzini Exp $
 ;
 ; gdi32.def
 ;
@@ -307,7 +307,7 @@ GdiGetSpoolFileHandle@12
 ;GdiGetSpoolMessage
 GdiGradientFill@24
 GdiInitSpool@0
-;GdiInitializeLanguagePack
+GdiInitializeLanguagePack@4
 GdiIsMetaFileDC@4
 GdiIsMetaPrintDC@4
 GdiIsPlayMetafileDC@4
index 1cdbfd3..9264bb6 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: gdi32.edf,v 1.7 2003/08/28 19:36:59 gvg Exp $
+; $Id: gdi32.edf,v 1.8 2003/09/12 17:51:46 vizzini Exp $
 ;
 ; gdi32.def
 ;
@@ -307,7 +307,7 @@ GdiGetSpoolFileHandle=GdiGetSpoolFileHandle@12
 ;GdiGetSpoolMessage
 GdiGradientFill=GdiGradientFill@24
 GdiInitSpool=GdiInitSpool@0
-;GdiInitializeLanguagePack
+GdiInitializeLanguagePack=GdiInitializeLanguagePack@4
 GdiIsMetaFileDC=GdiIsMetaFileDC@4
 GdiIsMetaPrintDC=GdiIsMetaPrintDC@4
 GdiIsPlayMetafileDC=GdiIsPlayMetafileDC@4
index b697b81..604cbf4 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stubs.c,v 1.35 2003/09/09 15:49:59 gvg Exp $
+/* $Id: stubs.c,v 1.36 2003/09/12 17:51:47 vizzini Exp $
  *
  * reactos/lib/gdi32/misc/stubs.c
  *
@@ -5241,3 +5241,11 @@ GdiPlayPrivatePageEMF
        SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
        return 0;
 }
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL GdiInitializeLanguagePack(DWORD InitParam)
+{
+       SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+}
index 642e899..114259b 100644 (file)
@@ -1043,3 +1043,63 @@ Icmp6ParseReplies(
     UNIMPLEMENTED
     return 0L;
 }
+
+/*
+ * @unimplemented
+ */
+DWORD STDCALL AllocateAndGetIfTableFromStack(PMIB_IFTABLE *ppIfTable,
+ BOOL bOrder, HANDLE heap, DWORD flags)
+{
+    UNIMPLEMENTED
+    return 0L;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD STDCALL AllocateAndGetIpAddrTableFromStack(PMIB_IPADDRTABLE *ppIpAddrTable,
+ BOOL bOrder, HANDLE heap, DWORD flags)
+{
+    UNIMPLEMENTED
+    return 0L;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD STDCALL AllocateAndGetIpForwardTableFromStack(PMIB_IPFORWARDTABLE *
+ ppIpForwardTable, BOOL bOrder, HANDLE heap, DWORD flags)
+{
+    UNIMPLEMENTED
+    return 0L;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD STDCALL AllocateAndGetIpNetTableFromStack(PMIB_IPNETTABLE *ppIpNetTable,
+ BOOL bOrder, HANDLE heap, DWORD flags)
+{
+    UNIMPLEMENTED
+    return 0L;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD STDCALL AllocateAndGetTcpTableFromStack(PMIB_TCPTABLE *ppTcpTable,
+ BOOL bOrder, HANDLE heap, DWORD flags)
+{
+    UNIMPLEMENTED
+    return 0L;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD STDCALL AllocateAndGetUdpTableFromStack(PMIB_UDPTABLE *ppUdpTable,
+ BOOL bOrder, HANDLE heap, DWORD flags)
+{
+    UNIMPLEMENTED
+    return 0L;
+}
index 97028a7..57c00a8 100644 (file)
@@ -18,15 +18,15 @@ GetUdpStatistics@4
 GetUdpTable@12
 FlushIpNetTable@4
 ;IpHlpDllEntry
-;AllocateAndGetArpEntTableFromStack
-;AllocateAndGetIfTableFromStack
-;AllocateAndGetIpAddrTableFromStack
-;AllocateAndGetIpForwardTableFromStack
-;AllocateAndGetIpNetTableFromStack
+;AllocateAndGetArpEntTableFromStack=AllocateAndGetArpEntTableFromStack
+AllocateAndGetIfTableFromStack=AllocateAndGetIfTableFromStack@16
+AllocateAndGetIpAddrTableFromStack=AllocateAndGetIpAddrTableFromStack@16
+AllocateAndGetIpForwardTableFromStack=AllocateAndGetIpForwardTableFromStack@16
+AllocateAndGetIpNetTableFromStack=AllocateAndGetIpNetTableFromStack@16
 ;AllocateAndGetTcpExTableFromStack
-;AllocateAndGetTcpTableFromStack
+AllocateAndGetTcpTableFromStack=AllocateAndGetTcpTableFromStack@16
 ;AllocateAndGetUdpExTableFromStack
-;AllocateAndGetUdpTableFromStack
+AllocateAndGetUdpTableFromStack=AllocateAndGetUdpTableFromStack@16
 CreateIpNetEntry@4
 CreateProxyArpEntry@12
 DeleteIPAddress@4
@@ -105,7 +105,7 @@ IpRenewAddress@4
 ;NhGetGuidFromInterfaceName
 ;NhGetInterfaceNameFromDeviceGuid
 ;NhGetInterfaceNameFromGuid
-;NhpAllocateAndGetInterfaceInfoFromStack
+NhpAllocateAndGetInterfaceInfoFromStack@20
 ;NhpGetInterfaceIndexFromStack
 NotifyAddrChange@8
 NotifyRouteChange@8
@@ -137,22 +137,22 @@ SetIpTTL@4
 SetTcpEntry@4
 ;SetTcpEntryToStack
 UnenableRouter@8
-;_PfAddFiltersToInterface@24
-;_PfAddGlobalFilterToInterface@8
-;_PfBindInterfaceToIPAddress@12
-;_PfBindInterfaceToIndex@16
-;_PfCreateInterface@24
-;_PfDeleteInterface@4
-;_PfDeleteLog@0
-;_PfGetInterfaceStatistics@16
-;_PfMakeLog@4
-;_PfRebindFilters@8
-;_PfRemoveFilterHandles@12
-;_PfRemoveFiltersFromInterface@20
-;_PfRemoveGlobalFilterFromInterface@8
-;_PfSetLogBuffer@28
-;_PfTestPacket@20
-;_PfUnBindInterface@4
+;@_PfAddFiltersToInterface@24
+;@_PfAddGlobalFilterToInterface@8
+;@_PfBindInterfaceToIPAddress@12
+;@_PfBindInterfaceToIndex@16
+;@_PfCreateInterface@24
+;@_PfDeleteInterface@4
+;@_PfDeleteLog@0
+;@_PfGetInterfaceStatistics@16
+;@_PfMakeLog@4
+;@_PfRebindFilters@8
+;@_PfRemoveFilterHandles@12
+;@_PfRemoveFiltersFromInterface@20
+;@_PfRemoveGlobalFilterFromInterface@8
+;@_PfSetLogBuffer@28
+;@_PfTestPacket@20
+;@_PfUnBindInterface@4
 ;do_echo_rep
 ;do_echo_req
 ;register_icmp
index 25439fb..ee7dffe 100644 (file)
@@ -19,14 +19,14 @@ GetUdpTable=GetUdpTable@12
 FlushIpNetTable=FlushIpNetTable@4
 ;IpHlpDllEntry
 ;AllocateAndGetArpEntTableFromStack
-;AllocateAndGetIfTableFromStack
-;AllocateAndGetIpAddrTableFromStack
-;AllocateAndGetIpForwardTableFromStack
-;AllocateAndGetIpNetTableFromStack
+AllocateAndGetIfTableFromStack@16
+AllocateAndGetIpAddrTableFromStack@16
+AllocateAndGetIpForwardTableFromStack@16
+AllocateAndGetIpNetTableFromStack@16
 ;AllocateAndGetTcpExTableFromStack
-;AllocateAndGetTcpTableFromStack
+AllocateAndGetTcpTableFromStack@16
 ;AllocateAndGetUdpExTableFromStack
-;AllocateAndGetUdpTableFromStack
+AllocateAndGetUdpTableFromStack@16
 CreateIpNetEntry=CreateIpNetEntry@4
 CreateProxyArpEntry=CreateProxyArpEntry@12
 DeleteIPAddress=DeleteIPAddress@4
@@ -105,7 +105,7 @@ IpRenewAddress=IpRenewAddress@4
 ;NhGetGuidFromInterfaceName
 ;NhGetInterfaceNameFromDeviceGuid
 ;NhGetInterfaceNameFromGuid
-;NhpAllocateAndGetInterfaceInfoFromStack
+NhpAllocateAndGetInterfaceInfoFromStack=NhpAllocateAndGetInterfaceInfoFromStack@20
 ;NhpGetInterfaceIndexFromStack
 NotifyAddrChange=NotifyAddrChange@8
 NotifyRouteChange=NotifyRouteChange@8
index 8cd2eb8..80897d2 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: output.c,v 1.2 2003/07/10 18:50:50 chorns Exp $
+/* $Id: output.c,v 1.3 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -16,8 +16,8 @@
 /* Open or create the mutex used to communicate with the debug monitor */
 HANDLE K32CreateDBMonMutex(void)
 {
static SID_IDENTIFIER_AUTHORITY siaNTAuth = SECURITY_NT_AUTHORITY;
static SID_IDENTIFIER_AUTHORITY siaWorldAuth = SECURITY_WORLD_SID_AUTHORITY;
      static SID_IDENTIFIER_AUTHORITY siaNTAuth = {SECURITY_NT_AUTHORITY};
      static SID_IDENTIFIER_AUTHORITY siaWorldAuth = {SECURITY_WORLD_SID_AUTHORITY};
 
  HANDLE hMutex;
 
index 02e3fff..6348dc3 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: copy.c,v 1.15 2003/07/10 18:50:51 chorns Exp $
+/* $Id: copy.c,v 1.16 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -210,7 +210,6 @@ CopyFileExW (
    IO_STATUS_BLOCK IoStatusBlock;
    FILE_STANDARD_INFORMATION FileStandard;
    FILE_BASIC_INFORMATION FileBasic;
-   FILE_DISPOSITION_INFORMATION FileDispInfo;
    WINBOOL RC = FALSE;
    WINBOOL KeepDestOnError = FALSE;
    DWORD SystemError;
index a5a87f0..0374b2c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: volume.c,v 1.31 2003/07/20 18:05:46 royce Exp $
+/* $Id: volume.c,v 1.32 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -604,7 +604,6 @@ GetVolumeInformationW(
   PFILE_FS_VOLUME_INFORMATION FileFsVolume;
   PFILE_FS_ATTRIBUTE_INFORMATION FileFsAttribute;
   IO_STATUS_BLOCK IoStatusBlock;
-  OBJECT_ATTRIBUTES ObjectAttributes;
   UCHAR Buffer[max(FS_VOLUME_BUFFER_SIZE, FS_ATTRIBUTE_BUFFER_SIZE)];
 
   HANDLE hFile;
index 5efa0cb..d0105d6 100644 (file)
@@ -125,7 +125,7 @@ CreateMutexA@12
 CreateMutexW@12
 CreateNamedPipeA@32
 CreateNamedPipeW@32
-;CreateNlsSecurityDescriptor
+CreateNlsSecurityDescriptor@12
 CreatePipe@16
 CreateProcessA@40
 ;CreateProcessInternalA
@@ -134,7 +134,7 @@ CreateProcessW@40
 CreateRemoteThread@28
 CreateSemaphoreA@16
 CreateSemaphoreW@16
-;CreateSocketHandle
+CreateSocketHandle@0
 CreateTapePartition@16
 CreateThread@24
 CreateTimerQueue@0
@@ -151,7 +151,7 @@ DebugBreakProcess@4
 DebugSetProcessKillOnExit@4
 DefineDosDeviceA@12
 DefineDosDeviceW@12
-;DelayLoadFailureHook
+DelayLoadFailureHook@8
 DeleteAtom@4
 DeleteCriticalSection@4
 DeleteFiber@4
@@ -323,11 +323,11 @@ GetConsoleDisplayMode@4
 GetConsoleFontInfo@16
 GetConsoleFontSize@8
 GetConsoleHardwareState@12
-;GetConsoleInputExeNameA
-;GetConsoleInputExeNameW
+GetConsoleInputExeNameA@8
+GetConsoleInputExeNameW@8
 GetConsoleInputWaitHandle@0
-;GetConsoleKeyboardLayoutNameA
-;GetConsoleKeyboardLayoutNameW
+GetConsoleKeyboardLayoutNameA@4
+GetConsoleKeyboardLayoutNameW@4
 GetConsoleMode@8
 ;GetConsoleNlsMode
 GetConsoleOutputCP@0
@@ -384,7 +384,7 @@ GetFullPathNameA@16
 GetFullPathNameW@16
 GetGeoInfoA@20
 GetGeoInfoW@20
-;GetHandleContext
+GetHandleContext@4
 GetHandleInformation@8
 GetLargestConsoleWindowSize@4
 GetLastError@0
@@ -586,7 +586,7 @@ IsSystemResumeAutomatic@0
 IsValidCodePage@4
 IsValidLanguageGroup@8
 IsValidLocale@8
-;IsValidUILanguage
+IsValidUILanguage@4
 IsWow64Process@8
 LCMapStringA@24
 LCMapStringW@24
@@ -638,7 +638,7 @@ MoveFileW@8
 MoveFileWithProgressW@20
 MulDiv@12
 MultiByteToWideChar@24
-;NlsConvertIntegerToString
+NlsConvertIntegerToString@20
 ;NlsGetCacheUpdateCount
 ;NlsResetProcessLocale
 ;NumaVirtualQueryNode
@@ -738,10 +738,10 @@ ScrollConsoleScreenBufferA@20
 ScrollConsoleScreenBufferW@20
 SearchPathA@24
 SearchPathW@24
-;SetCPGlobal
+SetCPGlobal@4
 SetCalendarInfoA@16
 SetCalendarInfoW@16
-;SetClientTimeZoneInformation
+SetClientTimeZoneInformation@4
 ;SetComPlusPackageInstallStatus
 SetCommBreak@4
 SetCommConfig@12
@@ -763,9 +763,9 @@ SetConsoleCursorPosition@8
 SetConsoleDisplayMode@12
 SetConsoleFont@8
 SetConsoleHardwareState@12
-;SetConsoleIcon
-;SetConsoleInputExeNameA
-;SetConsoleInputExeNameW
+SetConsoleIcon@4
+SetConsoleInputExeNameA@4
+SetConsoleInputExeNameW@4
 SetConsoleKeyShortcuts@16
 ;SetConsoleLocalEUDC
 SetConsoleMaximumWindowSize@8
@@ -806,7 +806,7 @@ SetFileTime@16
 SetFileValidData@12
 SetFirmwareEnvironmentVariableA@16
 SetFirmwareEnvironmentVariableW@16
-;SetHandleContext
+SetHandleContext@8
 SetHandleCount@4
 SetHandleInformation@12
 SetInformationJobObject@16
@@ -883,8 +883,8 @@ UnlockFileEx@20
 UnmapViewOfFile@4
 UpdateResourceA@24
 UpdateResourceW@24
-;UTRegister
-;UTUnRegister
+UTRegister@28
+UTUnRegister@4
 ;UnregisterConsoleIME
 UnregisterWait@4
 UnregisterWaitEx@8
index b7dce60..baf87d1 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: kernel32.edf,v 1.28 2003/09/08 09:56:56 weiden Exp $
+; $Id: kernel32.edf,v 1.29 2003/09/12 17:51:47 vizzini Exp $
 ;
 ; kernel32.edf
 ;
@@ -129,7 +129,7 @@ CreateMutexA=CreateMutexA@12
 CreateMutexW=CreateMutexW@12
 CreateNamedPipeA=CreateNamedPipeA@32
 CreateNamedPipeW=CreateNamedPipeW@32
-;CreateNlsSecurityDescriptor
+CreateNlsSecurityDescriptor=CreateNlsSecurityDescriptor@12
 CreatePipe=CreatePipe@16
 CreateProcessA=CreateProcessA@40
 ;CreateProcessInternalA
@@ -138,7 +138,7 @@ CreateProcessW=CreateProcessW@40
 CreateRemoteThread=CreateRemoteThread@28
 CreateSemaphoreA=CreateSemaphoreA@16
 CreateSemaphoreW=CreateSemaphoreW@16
-;CreateSocketHandle
+CreateSocketHandle=CreateSocketHandle@0
 CreateTapePartition=CreateTapePartition@16
 CreateThread=CreateThread@24
 CreateTimerQueue=CreateTimerQueue@0
@@ -155,7 +155,7 @@ DebugBreakProcess=DebugBreakProcess@4
 DebugSetProcessKillOnExit=DebugSetProcessKillOnExit@4
 DefineDosDeviceA=DefineDosDeviceA@12
 DefineDosDeviceW=DefineDosDeviceW@12
-;DelayLoadFailureHook
+DelayLoadFailureHook=DelayLoadFailureHook@8
 DeleteAtom=DeleteAtom@4
 DeleteCriticalSection=NTDLL.RtlDeleteCriticalSection
 DeleteFiber=DeleteFiber@4
@@ -327,11 +327,11 @@ GetConsoleDisplayMode=GetConsoleDisplayMode@4
 GetConsoleFontInfo=GetConsoleFontInfo@16
 GetConsoleFontSize=GetConsoleFontSize@8
 GetConsoleHardwareState=GetConsoleHardwareState@12
-;GetConsoleInputExeNameA
-;GetConsoleInputExeNameW
+GetConsoleInputExeNameA=GetConsoleInputExeNameA@8
+GetConsoleInputExeNameW=GetConsoleInputExeNameW@8
 GetConsoleInputWaitHandle=GetConsoleInputWaitHandle@0
-;GetConsoleKeyboardLayoutNameA
-;GetConsoleKeyboardLayoutNameW
+GetConsoleKeyboardLayoutNameA=GetConsoleKeyboardLayoutNameA@4
+GetConsoleKeyboardLayoutNameW=GetConsoleKeyboardLayoutNameW@4
 GetConsoleMode=GetConsoleMode@8
 ;GetConsoleNlsMode
 GetConsoleOutputCP=GetConsoleOutputCP@0
@@ -389,7 +389,7 @@ GetFullPathNameA=GetFullPathNameA@16
 GetFullPathNameW=GetFullPathNameW@16
 GetGeoInfoA=GetGeoInfoA@20
 GetGeoInfoW=GetGeoInfoW@20
-;GetHandleContext
+GetHandleContext=GetHandleContext@4
 GetHandleInformation=GetHandleInformation@8
 GetLargestConsoleWindowSize=GetLargestConsoleWindowSize@4
 GetLastError=GetLastError@0
@@ -591,7 +591,7 @@ IsSystemResumeAutomatic=IsSystemResumeAutomatic@0
 IsValidCodePage=IsValidCodePage@4
 IsValidLanguageGroup=IsValidLanguageGroup@8
 IsValidLocale=IsValidLocale@8
-;IsValidUILanguage
+IsValidUILanguage=IsValidUILanguage@4
 IsWow64Process=IsWow64Process@8
 LCMapStringA=LCMapStringA@24
 LCMapStringW=LCMapStringW@24
@@ -643,7 +643,7 @@ MoveFileW=MoveFileW@8
 MoveFileWithProgressW=MoveFileWithProgressW@20
 MulDiv=MulDiv@12
 MultiByteToWideChar=MultiByteToWideChar@24
-;NlsConvertIntegerToString
+NlsConvertIntegerToString=NlsConvertIntegerToString@20
 ;NlsGetCacheUpdateCount
 ;NlsResetProcessLocale
 ;NumaVirtualQueryNode
@@ -744,10 +744,10 @@ ScrollConsoleScreenBufferA=ScrollConsoleScreenBufferA@20
 ScrollConsoleScreenBufferW=ScrollConsoleScreenBufferW@20
 SearchPathA=SearchPathA@24
 SearchPathW=SearchPathW@24
-;SetCPGlobal
+SetCPGlobal=SetCPGlobal@4
 SetCalendarInfoA=SetCalendarInfoA@16
 SetCalendarInfoW=SetCalendarInfoW@16
-;SetClientTimeZoneInformation
+SetClientTimeZoneInformation=SetClientTimeZoneInformation@4
 ;SetComPlusPackageInstallStatus
 SetCommBreak=SetCommBreak@4
 SetCommConfig=SetCommConfig@12
@@ -769,9 +769,9 @@ SetConsoleCursorPosition=SetConsoleCursorPosition@8
 SetConsoleDisplayMode=SetConsoleDisplayMode@12
 SetConsoleFont=SetConsoleFont@8
 SetConsoleHardwareState=SetConsoleHardwareState@12
-;SetConsoleIcon
-;SetConsoleInputExeNameA
-;SetConsoleInputExeNameW
+SetConsoleIcon=SetConsoleIcon@4
+SetConsoleInputExeNameA=SetConsoleInputExeNameA@4
+SetConsoleInputExeNameW=SetConsoleInputExeNameW@4
 SetConsoleKeyShortcuts=SetConsoleKeyShortcuts@16
 ;SetConsoleLocalEUDC
 SetConsoleMaximumWindowSize=SetConsoleMaximumWindowSize@8
@@ -812,7 +812,7 @@ SetFileTime=SetFileTime@16
 SetFileValidData=SetFileValidData@12
 SetFirmwareEnvironmentVariableA=SetFirmwareEnvironmentVariableA@16
 SetFirmwareEnvironmentVariableW=SetFirmwareEnvironmentVariableW@16
-;SetHandleContext
+SetHandleContext=SetHandleContext@8
 SetHandleCount=SetHandleCount@4
 SetHandleInformation=SetHandleInformation@12
 SetInformationJobObject=SetInformationJobObject@16
@@ -889,8 +889,8 @@ UnlockFileEx=UnlockFileEx@20
 UnmapViewOfFile=UnmapViewOfFile@4
 UpdateResourceA=UpdateResourceA@24
 UpdateResourceW=UpdateResourceW@24
-;UTRegister
-;UTUnRegister
+UTRegister=UTRegister@28
+UTUnRegister=UTUnRegister@4
 ;UnregisterConsoleIME
 UnregisterWait=UnregisterWait@4
 UnregisterWaitEx=UnregisterWaitEx@8
index 5861a5a..70f3d9f 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.69 2003/08/28 19:34:10 gvg Exp $
+# $Id: makefile,v 1.70 2003/09/12 17:51:47 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -9,7 +9,7 @@ TARGET_NAME = kernel32
 TARGET_BASE = 0x77f00000
 
 # require os code to explicitly request A/W version of structs/functions
-TARGET_CFLAGS += -D_DISABLE_TIDENTS
+TARGET_CFLAGS += -D_DISABLE_TIDENTS -Wall -Werror
 
 TARGET_LFLAGS = -nostartfiles -nostdlib
 
index 702bd81..ce3def2 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: computername.c,v 1.2 2003/07/10 18:50:51 chorns Exp $
+/* $Id: computername.c,v 1.3 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -44,7 +44,6 @@ GetComputerNameA (LPSTR lpBuffer,
 {
   UNICODE_STRING UnicodeString;
   ANSI_STRING AnsiString;
-  BOOL Result;
 
   AnsiString.MaximumLength = *lpnSize;
   AnsiString.Length = 0;
index b1636ff..728718c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: console.c,v 1.68 2003/08/18 10:47:04 hbirr Exp $
+/* $Id: console.c,v 1.69 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -32,14 +32,11 @@ static BOOL IgnoreCtrlEvents = FALSE;
 
 static PHANDLER_ROUTINE* CtrlHandlers = NULL;
 static ULONG NrCtrlHandlers = 0;
-static ULONG CtrlHandlersArraySize = 0;
 
 /* Default Console Control Handler *******************************************/
 
 BOOL WINAPI DefaultConsoleCtrlHandler(DWORD Event)
 {
-       UINT ExitCode;
-
        switch(Event)
        {
        case CTRL_C_EVENT:
@@ -1280,7 +1277,6 @@ WINBOOL STDCALL FreeConsole(VOID)
    CSRSS_API_REQUEST Request;
    CSRSS_API_REPLY Reply;
    NTSTATUS Status;
-   HANDLE hStdError;
 
    Request.Type = CSRSS_FREE_CONSOLE;
    Status = CsrClientCallServer( &Request, &Reply, sizeof( CSRSS_API_REQUEST ), sizeof( CSRSS_API_REPLY ) );
@@ -1794,8 +1790,6 @@ WriteConsoleOutputA(HANDLE                 hConsoleOutput,
   CSRSS_API_REPLY Reply;
   NTSTATUS Status;
   ULONG Size;
-  BOOLEAN Result;
-  ULONG i, j;
   PVOID BufferBase;
   PVOID BufferTargetBase;
 
index 9882f9a..8b8cdb0 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stubs.c,v 1.57 2003/09/08 09:56:56 weiden Exp $
+/* $Id: stubs.c,v 1.58 2003/09/12 17:51:47 vizzini Exp $
  *
  * KERNEL32.DLL stubs (unimplemented functions)
  * Remove from this file, if you implement them.
@@ -3445,3 +3445,152 @@ WINBOOL STDCALL GetConsoleKeyboardLayoutNameW(LPWSTR name)
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return 0;
 }
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL SetConsoleIcon(HICON hicon)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD STDCALL GetHandleContext(HANDLE hnd)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+HANDLE STDCALL CreateSocketHandle(VOID)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL SetHandleContext(HANDLE hnd,DWORD context)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL SetConsoleInputExeNameA(LPCSTR name)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL SetConsoleInputExeNameW(LPCWSTR name)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL UTRegister( HMODULE hModule, LPSTR lpsz16BITDLL,
+                        LPSTR lpszInitName, LPSTR lpszProcName,
+                        FARPROC *ppfn32Thunk, FARPROC pfnUT32CallBack,
+                        LPVOID lpBuff )
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL UTUnRegister( HMODULE hModule )
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+}
+
+/*
+ * @unimplemented
+ */
+FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PDelayLoadInfo pdli)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,ULONG Size,ULONG AccessMask)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL GetConsoleInputExeNameA(ULONG length,LPCSTR name)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL GetConsoleInputExeNameW(ULONG length,LPCWSTR name)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL IsValidUILanguage(LANGID langid)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL NlsConvertIntegerToString(ULONG Value,ULONG Base,ULONG strsize, LPWSTR str, ULONG strsize2)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+}
+
+/*
+ * @unimplemented
+ */
+UINT STDCALL SetCPGlobal(UINT CodePage)
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+SetClientTimeZoneInformation(
+                      CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
+                      )
+{
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
index 0bb3c69..9b43a17 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: create.c,v 1.69 2003/08/18 10:47:04 hbirr Exp $
+/* $Id: create.c,v 1.70 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -680,7 +680,6 @@ CreateProcessW
 {
    HANDLE hSection, hProcess, hThread;
    NTSTATUS Status;
-   LPTHREAD_START_ROUTINE  lpStartAddress = NULL;
    WCHAR ImagePathName[256];
    UNICODE_STRING ImagePathName_U;
    PROCESS_BASIC_INFORMATION ProcessBasicInfo;
@@ -691,8 +690,7 @@ CreateProcessW
    CSRSS_API_REPLY CsrReply;
    CHAR ImageFileName[8];
    PWCHAR s, e;
-   ULONG i, len;
-   ANSI_STRING ProcedureName;
+   ULONG i;
    UNICODE_STRING CurrentDirectory_U;
    SECTION_IMAGE_INFORMATION Sii;
    WCHAR TempCurrentDirectoryW[256];
@@ -945,12 +943,6 @@ CreateProcessW
    {
       if (lpStartupInfo->lpReserved2)
       {
-         ULONG i, Count = *(ULONG*)lpStartupInfo->lpReserved2;
-         HANDLE * hFile;  
-        HANDLE hTemp;
-        PRTL_USER_PROCESS_PARAMETERS CurrPpb = NtCurrentPeb()->ProcessParameters;  
-
-
          /* FIXME:
          *    ROUND_UP(xxx,2) + 2 is a dirty hack. RtlCreateProcessParameters assumes that
          *    the runtimeinfo is a unicode string and use RtlCopyUnicodeString for duplication.
index e7d5d20..d951ac1 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: event.c,v 1.14 2003/07/10 18:50:51 chorns Exp $
+/* $Id: event.c,v 1.15 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -68,7 +68,6 @@ CreateEventW(LPSECURITY_ATTRIBUTES lpEventAttributes,
    NTSTATUS Status;
    HANDLE hEvent;
    UNICODE_STRING EventNameString;
-   POBJECT_ATTRIBUTES PtrObjectAttributes;
    OBJECT_ATTRIBUTES ObjectAttributes;
 
    ObjectAttributes.Length = sizeof(OBJECT_ATTRIBUTES);
index 07d65b3..b3fbbd1 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: fiber.c,v 1.7 2003/07/22 20:10:04 hyperion Exp $
+/* $Id: fiber.c,v 1.8 2003/09/12 17:51:47 vizzini Exp $
  *
  * FILE: lib/kernel32/thread/fiber.c
  *
@@ -64,6 +64,7 @@ BOOL WINAPI ConvertFiberToThread(void)
   RtlFreeHeap(pTeb->Peb->ProcessHeap, 0, pTeb->Tib.Fib.FiberData);
 
  /* success */
+ return TRUE;
 }
 
 
@@ -147,8 +148,6 @@ LPVOID WINAPI CreateFiberEx
  PSIZE_T pnStackCommit = NULL;
  USER_STACK usFiberStack;
  CONTEXT ctxFiberContext;
- PCHAR pStackBase;
- PCHAR pStackLimit;
  PTEB pTeb = NtCurrentTeb();
 
  /* allocate the fiber */
index 7d436dd..a5422c1 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: thread.c,v 1.44 2003/08/07 03:29:44 royce Exp $
+/* $Id: thread.c,v 1.45 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -99,7 +99,6 @@ CreateRemoteThread
  LPDWORD lpThreadId
 )
 {
- PSECURITY_DESCRIPTOR pSD = NULL;
  HANDLE hThread;
  CLIENT_ID cidClientId;
  NTSTATUS nErrCode;
index 7508915..e1042c9 100644 (file)
@@ -8,7 +8,7 @@ TARGET_NAME = lz32
 TARGET_BASE=0x76380000
 
 # require os code to explicitly request A/W version of structs/functions
-TARGET_CFLAGS += -D_DISABLE_TIDENTS
+TARGET_CFLAGS += -D_DISABLE_TIDENTS -Wall -Werror
 
 TARGET_SDKLIBS = ntdll.a kernel32.a
 
index 928a9e1..a1b11eb 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.10 2003/08/07 04:03:23 royce Exp $
+# $Id: makefile,v 1.11 2003/09/12 17:51:47 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -9,7 +9,7 @@ TARGET_NAME = msafd
 TARGET_BASE = 0x777a0000
 
 # require os code to explicitly request A/W version of structs/functions
-TARGET_CFLAGS += -D_DISABLE_TIDENTS
+TARGET_CFLAGS += -D_DISABLE_TIDENTS -Wall -Werror
 
 TARGET_SDKLIBS = ntdll.a kernel32.a
 
diff --git a/reactos/lib/mswsock/.cvsignore b/reactos/lib/mswsock/.cvsignore
new file mode 100644 (file)
index 0000000..f5b3f58
--- /dev/null
@@ -0,0 +1,9 @@
+*.a
+*.d
+*.o
+*.coff
+*.dll
+*.sym
+*.map
+*.tmp
+temp.exp
diff --git a/reactos/lib/mswsock/Makefile b/reactos/lib/mswsock/Makefile
new file mode 100644 (file)
index 0000000..2fdc4f6
--- /dev/null
@@ -0,0 +1,39 @@
+# $Id: Makefile,v 1.1 2003/09/12 17:51:47 vizzini Exp $
+
+PATH_TO_TOP = ../..
+
+TARGET_TYPE = dynlink
+
+TARGET_NAME = mswsock
+
+TARGET_BASE = 0x75050000
+
+TARGET_CFLAGS = \
+ -I./include \
+ -Wall \
+ -Werror \
+ -fno-builtin \
+ -DUNICODE \
+ -DLE \
+ -DDBG
+
+# require os code to explicitly request A/W version of structs/functions
+TARGET_CFLAGS += -D_DISABLE_TIDENTS
+
+TARGET_LFLAGS = -nostartfiles -nostdlib
+
+TARGET_SDKLIBS = kernel32.a
+
+TARGET_OBJECTS = stubs.o
+
+TARGET_CLEAN = $(DEP_FILES)
+
+include $(PATH_TO_TOP)/rules.mak
+
+include $(TOOLS_PATH)/helper.mk
+
+# Automatic dependency tracking
+DEP_OBJECTS := $(TARGET_OBJECTS)
+include $(PATH_TO_TOP)/tools/depend.mk
+
+# EOF
diff --git a/reactos/lib/mswsock/mswsock.def b/reactos/lib/mswsock/mswsock.def
new file mode 100644 (file)
index 0000000..13007a7
--- /dev/null
@@ -0,0 +1,41 @@
+; $Id: mswsock.def,v 1.1 2003/09/12 17:51:47 vizzini Exp $
+;
+; MSWSOCK.DLL - Windows Sockets 2 DLL
+
+LIBRARY mswsock.dll
+
+EXPORTS
+AcceptEx@32
+EnumProtocolsA@12
+EnumProtocolsW@12
+GetAcceptExSockaddrs@32
+GetAddressByNameA@40
+GetAddressByNameW@40
+GetNameByTypeA@12
+GetNameByTypeW@12
+GetServiceA@28
+GetServiceW@28
+GetTypeByNameA@8
+GetTypeByNameW@8
+;MigrateWinsockConfiguration
+;NPLoadNameSpaces
+SetServiceA@24
+SetServiceW@24
+TransmitFile@28
+WSARecvEx@16
+dn_expand@20
+getnetbyname@4
+inet_network@4
+rcmd@24
+rexec@24
+rresvport@4
+s_perror@4
+sethostname@8
+NSPStartup@8
+WSPStartup@76
+NPLoadNameSpaces@12
+;MigrateWinsockConfiguration
+;ServiceMain
+;StartWsdpService
+;StopWsdpService
+;SvchostPushServiceGlobals
diff --git a/reactos/lib/mswsock/mswsock.edf b/reactos/lib/mswsock/mswsock.edf
new file mode 100644 (file)
index 0000000..18e77cc
--- /dev/null
@@ -0,0 +1,41 @@
+; $Id: mswsock.edf,v 1.1 2003/09/12 17:51:47 vizzini Exp $
+;
+; MSWSOCK.DLL - Windows Sockets 2 DLL
+
+LIBRARY mswsock.dll
+
+EXPORTS
+AcceptEx=AcceptEx@32
+EnumProtocolsA=EnumProtocolsA@12
+EnumProtocolsW=EnumProtocolsW@12
+GetAcceptExSockaddrs=GetAcceptExSockaddrs@32
+GetAddressByNameA=GetAddressByNameA@40
+GetAddressByNameW=GetAddressByNameW@40
+GetNameByTypeA=GetNameByTypeA@12
+GetNameByTypeW=GetNameByTypeW@12
+GetServiceA=GetServiceA@28
+GetServiceW=GetServiceW@28
+GetTypeByNameA=GetTypeByNameA@8
+GetTypeByNameW=GetTypeByNameW@8
+;MigrateWinsockConfiguration
+;NPLoadNameSpaces
+SetServiceA=SetServiceA@24
+SetServiceW=SetServiceW@24
+TransmitFile=TransmitFile@28
+WSARecvEx=WSARecvEx@16
+dn_expand=dn_expand@20
+getnetbyname=getnetbyname@4
+inet_network=inet_network@4
+rcmd=rcmd@24
+rexec=rexec@24
+rresvport=rresvport@4
+s_perror=s_perror@4
+sethostname=sethostname@8
+NSPStartup=NSPStartup@8
+WSPStartup=WSPStartup@76
+NPLoadNameSpaces=NPLoadNameSpaces@12
+;MigrateWinsockConfiguration
+;ServiceMain
+;StartWsdpService
+;StopWsdpService
+;SvchostPushServiceGlobals
diff --git a/reactos/lib/mswsock/mswsock.rc b/reactos/lib/mswsock/mswsock.rc
new file mode 100644 (file)
index 0000000..0c4ab63
--- /dev/null
@@ -0,0 +1,41 @@
+/* $Id: mswsock.rc,v 1.1 2003/09/12 17:51:47 vizzini Exp $ */
+
+#include <defines.h>
+#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",   "Windows Sockets 2 DLL\0"
+            VALUE "FileVersion",       RES_STR_FILE_VERSION
+            VALUE "InternalName",      "mswsock\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "mswsock.dll\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/lib/mswsock/stubs.c b/reactos/lib/mswsock/stubs.c
new file mode 100644 (file)
index 0000000..1242ea8
--- /dev/null
@@ -0,0 +1,455 @@
+/* $Id: stubs.c,v 1.1 2003/09/12 17:51:47 vizzini Exp $
+ *
+ * COPYRIGHT:   See COPYING in the top level directory
+ * PROJECT:     ReactOS WinSock DLL
+ * FILE:        stubs.c
+ * PURPOSE:     Stub functions
+ * PROGRAMMERS: Ge van Geldorp (ge@gse.nl)
+ * REVISIONS:
+ */
+
+#include <windows.h>
+#include <stdlib.h>
+#include <winsock2.h>
+#include <ws2spi.h>
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+AcceptEx(SOCKET ListenSocket,
+         SOCKET AcceptSocket,
+         PVOID OutputBuffer,
+         DWORD ReceiveDataLength,
+         DWORD LocalAddressLength,
+         DWORD RemoteAddressLength,
+         LPDWORD BytesReceived,
+         LPOVERLAPPED Overlapped)
+{
+  OutputDebugStringW(L"w32sock AcceptEx stub called\n");
+
+  return FALSE;
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+EnumProtocolsA(LPINT ProtocolCount,
+               LPVOID ProtocolBuffer,
+               LPDWORD BufferLength)
+{
+  OutputDebugStringW(L"w32sock EnumProtocolsA stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+EnumProtocolsW(LPINT ProtocolCount,
+               LPVOID ProtocolBuffer,
+               LPDWORD BufferLength)
+{
+  OutputDebugStringW(L"w32sock EnumProtocolsW stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+GetAcceptExSockaddrs(PVOID OutputBuffer,
+                     DWORD ReceiveDataLength,
+                     DWORD LocalAddressLength,
+                     DWORD RemoteAddressLength,
+                     LPSOCKADDR* LocalSockaddr,
+                     LPINT LocalSockaddrLength,
+                     LPSOCKADDR* RemoteSockaddr,
+                     LPINT RemoteSockaddrLength)
+{
+  OutputDebugStringW(L"w32sock GetAcceptExSockaddrs stub called\n");
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+GetAddressByNameA(DWORD NameSpace,
+                  LPGUID ServiceType,
+                  LPSTR ServiceName,
+                  LPINT Protocols,
+                  DWORD Resolution,
+                  LPSERVICE_ASYNC_INFO ServiceAsyncInfo,
+                  LPVOID CsaddrBuffer,
+                  LPDWORD BufferLength,
+                  LPSTR AliasBuffer,
+                  LPDWORD AliasBufferLength)
+{
+  OutputDebugStringW(L"w32sock GetAddressByNameA stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+GetAddressByNameW(DWORD NameSpace,
+                  LPGUID ServiceType,
+                  LPWSTR ServiceName,
+                  LPINT Protocols,
+                  DWORD Resolution,
+                  LPSERVICE_ASYNC_INFO ServiceAsyncInfo,
+                  LPVOID CsaddrBuffer,
+                  LPDWORD BufferLength,
+                  LPWSTR AliasBuffer,
+                  LPDWORD AliasBufferLength)
+{
+  OutputDebugStringW(L"w32sock GetAddressByNameW stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+GetServiceA(DWORD NameSpace,
+            LPGUID Guid,
+            LPSTR ServiceName,
+            DWORD Properties,
+            LPVOID Buffer,
+            LPDWORD BufferSize,
+            LPSERVICE_ASYNC_INFO ServiceAsyncInfo)
+{
+  OutputDebugStringW(L"w32sock GetServiceA stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+GetServiceW(DWORD NameSpace,
+            LPGUID Guid,
+            LPWSTR ServiceName,
+            DWORD Properties,
+            LPVOID Buffer,
+            LPDWORD BufferSize,
+            LPSERVICE_ASYNC_INFO ServiceAsyncInfo)
+{
+  OutputDebugStringW(L"w32sock GetServiceW stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+GetTypeByNameA(LPSTR ServiceName,
+               LPGUID ServiceType)
+{
+  OutputDebugStringW(L"w32sock GetTypeByNameA stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+GetTypeByNameW(LPWSTR ServiceName,
+               LPGUID ServiceType)
+{
+  OutputDebugStringW(L"w32sock GetTypeByNameW stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+SetServiceA(DWORD NameSpace,
+            DWORD Operation,
+            DWORD Flags,
+            LPSERVICE_INFOA ServiceInfo,
+            LPSERVICE_ASYNC_INFO ServiceAsyncInfo,
+            LPDWORD dwStatusFlags)
+{
+  OutputDebugStringW(L"w32sock SetServiceA stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+SetServiceW(DWORD NameSpace,
+            DWORD Operation,
+            DWORD Flags,
+            LPSERVICE_INFOW ServiceInfo,
+            LPSERVICE_ASYNC_INFO ServiceAsyncInfo,
+            LPDWORD dwStatusFlags)
+{
+  OutputDebugStringW(L"w32sock SetServiceW stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+TransmitFile(SOCKET Socket,
+             HANDLE File,
+             DWORD NumberOfBytesToWrite,
+             DWORD NumberOfBytesPerSend,
+             LPOVERLAPPED Overlapped,
+             LPTRANSMIT_FILE_BUFFERS TransmitBuffers,
+             DWORD Flags)
+{
+  OutputDebugStringW(L"w32sock TransmitFile stub called\n");
+
+  return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+int
+STDCALL
+WSARecvEx(SOCKET Sock,
+          char *Buf,
+          int Len,
+          int *Flags)
+{
+  OutputDebugStringW(L"w32sock WSARecvEx stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+int
+STDCALL
+dn_expand(unsigned char *MessagePtr,
+          unsigned char *EndofMesOrig,
+          unsigned char *CompDomNam,
+          unsigned char *ExpandDomNam,
+          int Length)
+{
+  OutputDebugStringW(L"w32sock dn_expand stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+struct netent *
+STDCALL
+getnetbyname(const char *name)
+{
+  OutputDebugStringW(L"w32sock getnetbyname stub called\n");
+
+  return NULL;
+}
+
+
+/*
+ * @unimplemented
+ */
+UINT
+STDCALL
+inet_network(const char *cp)
+{
+  OutputDebugStringW(L"w32sock inet_network stub called\n");
+
+  return INADDR_NONE;
+}
+
+
+/*
+ * @unimplemented
+ */
+SOCKET
+STDCALL
+rcmd(char **AHost,
+     USHORT InPort,
+     char *LocUser,
+     char *RemUser,
+     char *Cmd,
+     int *Fd2p)
+{
+  OutputDebugStringW(L"w32sock rcmd stub called\n");
+
+  return INVALID_SOCKET;
+}
+
+
+/*
+ * @unimplemented
+ */
+SOCKET
+STDCALL
+rexec(char **AHost,
+      int InPort,
+      char *User,
+      char *Passwd,
+      char *Cmd,
+      int *Fd2p)
+{
+  OutputDebugStringW(L"w32sock rexec stub called\n");
+
+  return INVALID_SOCKET;
+}
+
+
+/*
+ * @unimplemented
+ */
+SOCKET
+STDCALL
+rresvport(int *port)
+{
+  OutputDebugStringW(L"w32sock rresvport stub called\n");
+
+  return INVALID_SOCKET;
+}
+
+
+/*
+ * @unimplemented
+ */
+void
+STDCALL
+s_perror(const char *str)
+{
+  OutputDebugStringW(L"w32sock s_perror stub called\n");
+}
+
+
+/*
+ * @unimplemented
+ */
+int
+STDCALL
+sethostname(char *Name, int NameLen)
+{
+  OutputDebugStringW(L"w32sock sethostname stub called\n");
+
+  return SOCKET_ERROR;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+DllMain(HINSTANCE InstDLL,
+        DWORD Reason,
+        LPVOID Reserved)
+{
+  return TRUE;
+}
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+GetNameByTypeA(LPGUID lpServiceType,LPSTR lpServiceName,DWORD dwNameLength)
+{
+  OutputDebugStringW(L"w32sock GetNameByTypeA stub called\n");
+  return TRUE;
+}
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+GetNameByTypeW(LPGUID lpServiceType,LPWSTR lpServiceName,DWORD dwNameLength)
+{
+  OutputDebugStringW(L"w32sock GetNameByTypeW stub called\n");
+  return TRUE;
+}
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+NSPStartup(
+    LPGUID lpProviderId,
+    LPNSP_ROUTINE lpnspRoutines
+    )
+{
+  return TRUE;
+}
+
+/*
+ * @unimplemented
+ */
+int
+STDCALL
+WSPStartup(
+    IN WORD wVersionRequested,
+    OUT LPWSPDATA lpWSPData,
+    IN LPWSAPROTOCOL_INFOW lpProtocolInfo,
+    IN WSPUPCALLTABLE UpcallTable,
+    OUT LPWSPPROC_TABLE lpProcTable
+    )
+{
+  return TRUE;
+}
+
+/*
+ * @unimplemented
+ */
+INT
+STDCALL
+NPLoadNameSpaces (
+    IN OUT LPDWORD         lpdwVersion,
+    IN OUT LPNS_ROUTINE    nsrBuffer,
+    IN OUT LPDWORD         lpdwBufferLength
+    )
+{
+  return TRUE;
+}
index e83baf7..689c19c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: debug.c,v 1.10 2003/07/11 13:50:23 royce Exp $
+/* $Id: debug.c,v 1.11 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -191,6 +191,7 @@ NTSTATUS STDCALL DbgUiRemoteBreakin(VOID)
  RtlExitUserThread(0);
 
  DbgBreakPoint();
+ return STATUS_SUCCESS;
 }
 
 NTSTATUS STDCALL DbgUiIssueRemoteBreakin(HANDLE Process)
index fe1e2a5..7a86854 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: ntdll.def,v 1.110 2003/09/10 06:12:21 vizzini Exp $
+; $Id: ntdll.def,v 1.111 2003/09/12 17:51:47 vizzini Exp $
 ;
 ; ReactOS Operating System
 ;
@@ -340,10 +340,10 @@ RtlCreateEnvironment@8
 RtlCreateHeap@24
 RtlCreateProcessParameters@40
 ;RtlCreatePropertySet
-;RtlCreateQueryDebugBuffer
+RtlCreateQueryDebugBuffer@8
 RtlCreateRegistryKey@8
 RtlCreateSecurityDescriptor@8
-;RtlCreateTagHeap
+RtlCreateTagHeap@16
 RtlCreateUnicodeString@8
 RtlCreateUnicodeStringFromAsciiz@8
 RtlCreateUserProcess@40
@@ -354,21 +354,21 @@ RtlCustomCPToUnicodeN@24
 RtlDeNormalizeProcessParams@4
 RtlDecompressBuffer@24
 RtlDecompressFragment@32
-;RtlDelete
+RtlDelete@4
 RtlDeleteAce@8
 RtlDeleteAtomFromAtomTable@8
 RtlDeleteCriticalSection@4
-;RtlDeleteElementGenericTable
-;RtlDeleteNoSplay
+RtlDeleteElementGenericTable@8
+RtlDeleteNoSplay@8
 RtlDeleteRegistryValue@12
 RtlDeleteResource@4
-;RtlDeleteSecurityObject
+RtlDeleteSecurityObject@4
 RtlDestroyAtomTable@4
 RtlDestroyEnvironment@4
 RtlDestroyHandleTable@4
 RtlDestroyHeap@4
 RtlDestroyProcessParameters@4
-;RtlDestroyQueryDebugBuffer
+RtlDestroyQueryDebugBuffer@4
 RtlDetermineDosPathNameType_U@4
 RtlDoesFileExists_U@4
 RtlDosPathNameToNtPathName_U@16
@@ -381,8 +381,8 @@ RtlEnlargedUnsignedDivide@16
 RtlEnlargedUnsignedMultiply@8
 RtlEnterCriticalSection@4
 RtlEnumProcessHeaps@8
-;RtlEnumerateGenericTable
-;RtlEnumerateGenericTableWithoutSplaying
+RtlEnumerateGenericTable@8
+RtlEnumerateGenericTableWithoutSplaying@8
 ;RtlEnumerateProperties
 RtlEqualComputerName@8
 RtlEqualDomainName@8
@@ -420,12 +420,12 @@ RtlFreeUnicodeString@4
 RtlFreeUserThreadStack@8
 RtlGenerate8dot3Name@16
 RtlGetAce@12
-;RtlGetCallersAddress
+RtlGetCallersAddress@4
 RtlGetCompressionWorkSpaceSize@12
 RtlGetControlSecurityDescriptor@12
 RtlGetCurrentDirectory_U@8
 RtlGetDaclSecurityDescriptor@16
-;RtlGetElementGenericTable
+RtlGetElementGenericTable@8
 RtlGetFullPathName_U@16
 RtlGetGroupSecurityDescriptor@12
 RtlGetLongestNtPathLength@0
@@ -452,16 +452,16 @@ RtlInitUnicodeString@8
 RtlInitializeBitMap@12
 RtlInitializeContext@20
 RtlInitializeCriticalSection@4
-;RtlInitializeGenericTable
+RtlInitializeGenericTable@20
 RtlInitializeHandleTable@12
 ;RtlInitializeRXact
 RtlInitializeResource@4
 RtlInitializeSid@12
-;RtlInsertElementGenericTable
+RtlInsertElementGenericTable@16
 RtlIntegerToChar@16
 RtlIntegerToUnicodeString@12
 RtlIsDosDeviceName_U@4
-;RtlIsGenericTableEmpty
+RtlIsGenericTableEmpty@4
 RtlIsNameLegalDOS8Dot3@12
 RtlIsTextUnicode@12
 RtlIsValidHandle@8
@@ -481,7 +481,7 @@ RtlLengthSid@4
 RtlLocalTimeToSystemTime@8
 RtlLockHeap@4
 RtlLookupAtomInAtomTable@12
-;RtlLookupElementGenericTable
+RtlLookupElementGenericTable@8
 RtlMakeSelfRelativeSD@12
 RtlMapGenericMask@8
 RtlMoveMemory@12
@@ -489,10 +489,10 @@ RtlMultiByteToUnicodeN@20
 RtlMultiByteToUnicodeSize@12
 ;RtlNewInstanceSecurityObject
 ;RtlNewSecurityGrantedAccess
-;RtlNewSecurityObject
+RtlNewSecurityObject@24
 RtlNormalizeProcessParams@4
 RtlNtStatusToDosError@4
-;RtlNumberGenericTableElements
+RtlNumberGenericTableElements@4
 RtlNumberOfClearBits@4
 RtlNumberOfSetBits@4
 RtlOemStringToUnicodeSize@4
@@ -504,12 +504,12 @@ RtlPinAtomInAtomTable@8
 RtlPrefixString@12
 RtlPrefixUnicodeString@12
 ;RtlPropertySetNameToGuid
-;RtlProtectHeap
+RtlProtectHeap@8
 RtlQueryAtomInAtomTable@24
 RtlQueryEnvironmentVariable_U@12
 RtlQueryInformationAcl@16
 ;RtlQueryProcessBackTraceInformation
-;RtlQueryProcessDebugInformation
+RtlQueryProcessDebugInformation@12
 ;RtlQueryProcessHeapInformation
 ;RtlQueryProcessLockInformation
 ;RtlQueryProperties
@@ -517,14 +517,14 @@ RtlQueryInformationAcl@16
 ;RtlQueryPropertySet
 RtlQueryRegistryValues@20
 ;RtlQuerySecutityObject
-;RtlQueryTagHeap
+RtlQueryTagHeap@20
 RtlQueryTimeZoneInformation@4
 RtlRaiseException@4
 RtlRaiseStatus@4
 RtlRandom@4
 RtlReAllocateHeap@16
-;RtlRealPredecessor
-;RtlRealSuccessor
+RtlRealPredecessor@4
+RtlRealSuccessor@4
 RtlReleasePebLock@0
 RtlReleaseResource@4
 ;RtlRemoteCall
@@ -554,7 +554,7 @@ RtlSetTimeZoneInformation@4
 ;RtlSetUserFlagsHeap
 ;RtlSetUserValueHeap
 RtlSizeHeap@12
-;RtlSplay
+RtlSplay@4
 ;RtlStartRXact
 RtlSubAuthorityCountSid@4
 RtlSubAuthoritySid@8
@@ -596,7 +596,7 @@ RtlValidSecurityDescriptor@4
 RtlValidSid@4
 RtlValidateHeap@12
 RtlValidateProcessHeaps@0
-;RtlWalkHeap
+RtlWalkHeap@8
 RtlWriteRegistryValue@24
 ;RtlZeroHeap
 RtlZeroMemory@8
@@ -606,8 +606,8 @@ RtlpNtMakeTemporaryKey@4
 RtlpNtOpenKey@16
 RtlpNtQueryValueKey@20
 RtlpNtSetValueKey@16
-;RtlpUnWaitCriticalSection
-;RtlpWaitForCriticalSection
+RtlpUnWaitCriticalSection@4
+RtlpWaitForCriticalSection@4
 RtlxAnsiStringToUnicodeSize@4
 RtlxOemStringToUnicodeSize@4
 RtlxUnicodeStringToAnsiSize@4
@@ -905,7 +905,7 @@ qsort
 sin
 sprintf
 sqrt
-;sscanf
+sscanf
 strcat
 strchr
 strcmp
@@ -953,127 +953,127 @@ _NtCurrentTeb@0
 ;?Allocate@CBufferAllocator@@UAEPAXK@Z
 ;CsrCaptureMessageMultiUnicodeStringsInPlace
 ;CsrGetProcessId
-;DbgPrintEx
-;DbgPrintReturnControlC
-;DbgQueryDebugFilterState
-;DbgSetDebugFilterState
+DbgPrintEx
+DbgPrintReturnControlC
+DbgQueryDebugFilterState@8
+DbgSetDebugFilterState@12
 ;DbgUiConvertStateChangeStructure
-;DbgUiDebugActiveProcess
+DbgUiDebugActiveProcess@4
 ;DbgUiGetThreadDebugObject
 ;DbgUiSetThreadDebugObject
-;DbgUiStopDebugging
+DbgUiStopDebugging@4
 ;LdrAccessOutOfProcessResource
 ;LdrAddRefDll
-;LdrAlternateResourcesEnabled
+LdrAlternateResourcesEnabled@0
 ;LdrCreateOutOfProcessImage
 ;LdrDestroyOutOfProcessImage
 ;LdrEnumerateLoadedModules
 ;LdrFindCreateProcessManifest
 ;LdrFindResourceEx_U
-;LdrFlushAlternateResourceModules
+LdrFlushAlternateResourceModules@0
 ;LdrGetDllHandleEx
 ;LdrInitShimEngineDynamic
 ;LdrLoadAlternateResourceModule
-;LdrLockLoaderLock
+LdrLockLoaderLock@12
 ;LdrSetAppCompatDllRedirectionCallback
 ;LdrSetDllManifestProber
 ;LdrUnloadAlternateResourceModule
-;LdrUnlockLoaderLock
+LdrUnlockLoaderLock@8
 ;NPXEMULATORTABLE
-;NtAccessCheckByType
-;NtAccessCheckByTypeAndAuditAlarm
-;NtAccessCheckByTypeResultList
-;NtAccessCheckByTypeResultListAndAuditAlarm
-;NtAccessCheckByTypeResultListAndAuditAlarmByHandle
+NtAccessCheckByType@44
+NtAccessCheckByTypeAndAuditAlarm@64
+NtAccessCheckByTypeResultList@44
+NtAccessCheckByTypeResultListAndAuditAlarm@64
+NtAccessCheckByTypeResultListAndAuditAlarmByHandle@68
 ;NtAddBootEntry
-;NtAllocateUserPhysicalPages
-;NtAreMappedFilesTheSame
+NtAllocateUserPhysicalPages@12
+NtAreMappedFilesTheSame@8
 ;NtAssignProcessToJobObject
-;NtCancelDeviceWakeupRequest
-;NtCompactKeys
+NtCancelDeviceWakeupRequest@4
+NtCompactKeys@8
 ;NtCompareTokens
-;NtCompressKey
+NtCompressKey@4
 ;NtCreateDebugObject
-;NtCreateJobObject
-;NtCreateJobSet
-;NtCreateKeyedEvent
+NtCreateJobObject@12
+NtCreateJobSet@12
+NtCreateKeyedEvent@16
 ;NtCreateProcessEx
 ;NtDebugActiveProcess
 ;NtDebugContinue
 ;NtDeleteBootEntry
 ;NtEnumerateBootEntries
 ;NtEnumerateSystemEnvironmentValuesEx
-;NtFilterToken
-;NtFreeUserPhysicalPages
-;NtGetDevicePowerState
-;NtGetWriteWatch
-;NtImpersonateAnonymousToken
-;NtInitiatePowerAction
-;NtIsProcessInJob
-;NtIsSystemResumeAutomatic
-;NtLockProductActivationKeys
-;NtLockRegistryKey
-;NtMakePermanentObject
-;NtMapUserPhysicalPages
-;NtMapUserPhysicalPagesScatter
+NtFilterToken@24
+NtFreeUserPhysicalPages@12
+NtGetDevicePowerState@8
+NtGetWriteWatch@28
+NtImpersonateAnonymousToken@4
+NtInitiatePowerAction@16
+NtIsProcessInJob@8
+NtIsSystemResumeAutomatic@0
+NtLockProductActivationKeys@8
+NtLockRegistryKey@4
+NtMakePermanentObject@4
+NtMapUserPhysicalPages@12
+NtMapUserPhysicalPagesScatter@12
 ;NtModifyBootEntry
-;NtNotifyChangeMultipleKeys
-;NtOpenJobObject
-;NtOpenKeyedEvent
-;NtOpenProcessTokenEx
-;NtOpenThreadTokenEx
-;NtPowerInformation
+NtNotifyChangeMultipleKeys@48
+NtOpenJobObject@12
+NtOpenKeyedEvent@12
+NtOpenProcessTokenEx@16
+NtOpenThreadTokenEx@20
+NtPowerInformation@20
 ;NtQueryBootEntryOrder
 ;NtQueryBootOptions
 ;NtQueryDebugFilterState
-;NtQueryDefaultUILanguage
-;NtQueryInformationJobObject
-;NtQueryInstallUILanguage
-;NtQueryOpenSubKeys
-;NtQueryPortInformationProcess
+NtQueryDefaultUILanguage@4
+NtQueryInformationJobObject@20
+NtQueryInstallUILanguage@4
+NtQueryOpenSubKeys@8
+NtQueryPortInformationProcess@0
 ;NtQuerySystemEnvironmentValueEx
-;NtReleaseKeyedEvent
+NtReleaseKeyedEvent@16
 ;NtRemoveProcessDebug
-;NtRenameKey
-;NtReplyWaitReceivePortEx
-;NtRequestDeviceWakeup
-;NtRequestWakeupLatency
-;NtResetWriteWatch
-;NtResumeProcess
-;NtSaveKeyEx
-;NtSaveMergedKeys
-;NtSecureConnectPort
+NtRenameKey@8
+NtReplyWaitReceivePortEx@20
+NtRequestDeviceWakeup@4
+NtRequestWakeupLatency@4
+NtResetWriteWatch@12
+NtResumeProcess@4
+NtSaveKeyEx@12
+NtSaveMergedKeys@12
+NtSecureConnectPort@36
 ;NtSetBootEntryOrder
 ;NtSetBootOptions
 ;NtSetDebugFilterState
-;NtSetDefaultUILanguage
+NtSetDefaultUILanguage@4
 ;NtSetEventBoostPriority
-;NtSetHighWaitLowThread
+NtSetHighWaitLowThread@0
 ;NtSetInformationDebugObject
-;NtSetInformationJobObject
-;NtSetLowWaitHighThread
-;NtSetQuotaInformationFile
+NtSetInformationJobObject@16
+NtSetLowWaitHighThread@0
+NtSetQuotaInformationFile@16
 ;NtSetSystemEnvironmentValueEx
-;NtSetThreadExecutionState
-;NtSetUuidSeed
-;NtSuspendProcess
-;NtTerminateJobObject
+NtSetThreadExecutionState@8
+NtSetUuidSeed@4
+NtSuspendProcess@4
+NtTerminateJobObject@8
 ;NtTraceEvent
 ;NtTranslateFilePath
-;NtUnloadKeyEx
+NtUnloadKeyEx@8
 ;NtWaitForDebugEvent
-;NtWaitForKeyedEvent
+NtWaitForKeyedEvent@16
 ;RtlActivateActivationContext
 ;RtlActivateActivationContextEx
 ;RtlActivateActivationContextUnsafeFast
-;RtlAddAccessAllowedAceEx
+RtlAddAccessAllowedAceEx@20
 ;RtlAddAccessAllowedObjectAce
-;RtlAddAccessDeniedAceEx
+RtlAddAccessDeniedAceEx@20
 ;RtlAddAccessDeniedObjectAce
 ;RtlAddAuditAccessAceEx
 ;RtlAddAuditAccessObjectAce
-;RtlAddRange
-;RtlAddRefActivationContext
+RtlAddRange@36
+RtlAddRefActivationContext@4
 ;RtlAddRefMemoryStream
 ;RtlAddVectoredExceptionHandler
 ;RtlAddressInSectionTable
@@ -1081,14 +1081,14 @@ _NtCurrentTeb@0
 ;RtlApplicationVerifierStop
 ;RtlAssert2
 ;RtlCancelTimer
-;RtlCaptureContext
+RtlCaptureContext@4
 ;RtlCaptureStackContext
 ;RtlCheckForOrphanedCriticalSections
 ;RtlCheckProcessParameters
 ;RtlCloneMemoryStream
 ;RtlCommitMemoryStream
 ;RtlCompareVariants
-;RtlComputeCrc32
+RtlComputeCrc32@12
 ;RtlComputeImportTableHash
 ;RtlComputePrivatizedDllName_U
 ;RtlConvertPropertyToVariant
@@ -1096,30 +1096,30 @@ _NtCurrentTeb@0
 ;RtlConvertVariantToProperty
 ;RtlCopyMemoryStreamTo
 ;RtlCopyOutOfProcessMemoryStreamTo
-;RtlCopyRangeList
+RtlCopyRangeList@8
 ;RtlCreateActivationContext
 ;RtlCreateBootStatusDataFile
 ;RtlCreateSystemVolumeInformationFolder
-;RtlCreateTimer
-;RtlCreateTimerQueue
-;RtlDeactivateActivationContext
+RtlCreateTimer@28
+RtlCreateTimerQueue@4
+RtlDeactivateActivationContext@8
 ;RtlDeactivateActivationContextUnsafeFast
 ;RtlDebugPrintTimes
 ;RtlDefaultNpAcl
 ;RtlDeleteElementGenericTableAvl
-;RtlDeleteOwnersRanges
-;RtlDeleteRange
-;RtlDeleteTimer
-;RtlDeleteTimerQueue
-;RtlDeleteTimerQueueEx
-;RtlDeregisterWait
-;RtlDeregisterWaitEx
-;RtlDllShutdownInProgress
+RtlDeleteOwnersRanges@8
+RtlDeleteRange@24
+RtlDeleteTimer@12
+RtlDeleteTimerQueue@4
+RtlDeleteTimerQueueEx@8
+RtlDeregisterWait@4
+RtlDeregisterWaitEx@8
+RtlDllShutdownInProgress@0
 ;RtlDnsHostNameToComputerName
 ;RtlDosApplyFileIsolationRedirection_Ustr
 ;RtlDosSearchPath_Ustr
-;RtlDowncaseUnicodeChar
-;RtlDuplicateUnicodeString
+RtlDowncaseUnicodeChar@4
+RtlDuplicateUnicodeString@12
 ;RtlEnableEarlyCriticalSectionEventCreation
 ;RtlEnumerateGenericTableAvl
 ;RtlEnumerateGenericTableLikeADirectory
@@ -1127,48 +1127,48 @@ _NtCurrentTeb@0
 ;RtlFinalReleaseOutOfProcessMemoryStream
 ;RtlFindActivationContextSectionGuid
 ;RtlFindActivationContextSectionString
-;RtlFindCharInUnicodeString
-;RtlFindClearRuns
-;RtlFindLastBackwardRunClear
-;RtlFindLeastSignificantBit
-;RtlFindMostSignificantBit
-;RtlFindNextForwardRunClear
-;RtlFindRange
+RtlFindCharInUnicodeString@16
+RtlFindClearRuns@16
+RtlFindLastBackwardRunClear@12
+RtlFindLeastSignificantBit@8
+RtlFindMostSignificantBit@8
+RtlFindNextForwardRunClear@12
+RtlFindRange@48
 ;RtlFirstEntrySList
 ;RtlFlushSecureMemoryCache
-;RtlFreeOemString
-;RtlFreeRangeList
+RtlFreeOemString@4
+RtlFreeRangeList@4
 ;RtlFreeThreadActivationContextStack
-;RtlGUIDFromString
-;RtlGetActiveActivationContext
-;RtlGetCurrentPeb
+RtlGUIDFromString@8
+RtlGetActiveActivationContext@4
+RtlGetCurrentPeb@0
 ;RtlGetElementGenericTableAvl
-;RtlGetFirstRange
+RtlGetFirstRange@12
 ;RtlGetFrame
-;RtlGetLastNtStatus
-;RtlGetLastWin32Error
+RtlGetLastNtStatus@0
+RtlGetLastWin32Error@0
 ;RtlGetLengthWithoutLastFullDosOrNtPathElement
 ;RtlGetLengthWithoutTrailingPathSeperators
-;RtlGetNativeSystemInformation
-;RtlGetNextRange
+RtlGetNativeSystemInformation@16
+RtlGetNextRange@12
 ;RtlGetSecurityDescriptorRMControl
 ;RtlGetSetBootStatusData
-;RtlGetVersion
-;RtlHashUnicodeString
+RtlGetVersion@4
+RtlHashUnicodeString@16
 ;RtlInitMemoryStream
 ;RtlInitOutOfProcessMemoryStream
-;RtlInitUnicodeStringEx
-;RtlInitializeCriticalSectionAndSpinCount
+RtlInitUnicodeStringEx@8
+RtlInitializeCriticalSectionAndSpinCount@8
 ;RtlInitializeGenericTableAvl
-;RtlInitializeRangeList
-;RtlInitializeSListHead
+RtlInitializeRangeList@4
+RtlInitializeSListHead@4
 ;RtlInsertElementGenericTableAvl
-;RtlInt64ToUnicodeString
-;RtlInterlockedFlushSList
-;RtlInterlockedPopEntrySList
-;RtlInterlockedPushEntrySList
+RtlInt64ToUnicodeString@16
+RtlInterlockedFlushSList@4
+RtlInterlockedPopEntrySList@4
+RtlInterlockedPushEntrySList@8
 ;RtlInterlockedPushListSList
-;RtlInvertRangeList
+RtlInvertRangeList@8
 ;RtlIpv4AddressToStringA
 ;RtlIpv4AddressToStringW
 ;RtlIpv4StringToAddressA
@@ -1178,48 +1178,48 @@ _NtCurrentTeb@0
 ;RtlIpv6StringToAddressW
 ;RtlIsActivationContextActive
 ;RtlIsGenericTableEmptyAvl
-;RtlIsRangeAvailable
+RtlIsRangeAvailable@40
 ;RtlIsThreadWithinLoaderCallout
 ;RtlLockBootStatusData
 ;RtlLockMemoryStreamRegion
-;RtlLogStackBackTrace
+RtlLogStackBackTrace@0
 ;RtlLookupElementGenericTableAvl
 ;RtlMapSecurityErrorToNtStatus
-;RtlMergeRangeLists
+RtlMergeRangeLists@16
 ;RtlMultiAppendUnicodeStringBuffer
 ;RtlNewSecurityObjectEx
 ;RtlNewSecurityObjectWithMultipleInheritance
 ;RtlNtPathNameToDosPathName
-;RtlNtStatusToDosErrorNoTeb
+RtlNtStatusToDosErrorNoTeb@4
 ;RtlNumberGenericTableElementsAvl
 ;RtlOnMappedStreamEvent
 ;RtlPopFrame
 ;RtlPushFrame
-;RtlQueryDepthSList
-;RtlQueryHeapInformation
-;RtlQueryInformationActivationContext
+RtlQueryDepthSList@4
+RtlQueryHeapInformation@20
+RtlQueryInformationActivationContext@28
 ;RtlQueryInformationActiveActivationContext
 ;RtlQueryInterfaceMemoryStream
 ;RtlQueueApcWow64Thread
-;RtlQueueWorkItem
+RtlQueueWorkItem@12
 ;RtlRandomEx
 ;RtlReadMemoryStream
 ;RtlReadOutOfProcessMemoryStream
 ;RtlRegisterSecureMemoryCacheCallback
-;RtlRegisterWait
-;RtlReleaseActivationContext
+RtlRegisterWait@24
+RtlReleaseActivationContext@4
 ;RtlReleaseMemoryStream
 ;RtlRemoveVectoredExceptionHandler
-;RtlRestoreLastWin32Error
+RtlRestoreLastWin32Error@4
 ;RtlRevertMemoryStream
 ;RtlSeekMemoryStream
 ;RtlSelfRelativeToAbsoluteSD2
 ;RtlSetControlSecurityDescriptor
-;RtlSetCriticalSectionSpinCount
-;RtlSetHeapInformation
-;RtlSetIoCompletionCallback
-;RtlSetLastWin32Error
-;RtlSetLastWin32ErrorAndNtStatusFromNtStatus
+RtlSetCriticalSectionSpinCount@4
+RtlSetHeapInformation@16
+RtlSetIoCompletionCallback@12
+RtlSetLastWin32Error@4
+RtlSetLastWin32ErrorAndNtStatusFromNtStatus@4
 ;RtlSetMemoryStreamSize
 ;RtlSetProcessIsCritical
 ;RtlSetSecurityDescriptorRMControl
@@ -1228,7 +1228,7 @@ _NtCurrentTeb@0
 ;RtlSetThreadPoolStartFunc
 ;RtlSetTimer
 ;RtlStatMemoryStream
-;RtlStringFromGUID
+RtlStringFromGUID@8
 ;RtlTraceDatabaseAdd
 ;RtlTraceDatabaseCreate
 ;RtlTraceDatabaseDestroy
@@ -1237,112 +1237,112 @@ _NtCurrentTeb@0
 ;RtlTraceDatabaseLock
 ;RtlTraceDatabaseUnlock
 ;RtlTraceDatabaseValidate
-;RtlUlongByteSwap
-;RtlUlonglongByteSwap
+@RtlUlongByteSwap@4
+@RtlUlonglongByteSwap@8
 ;RtlUnhandledExceptionFilter
 ;RtlUnhandledExceptionFilter2
 ;RtlUnlockBootStatusData
 ;RtlUnlockMemoryStreamRegion
-;RtlUpdateTimer
-;RtlUshortByteSwap
-;RtlValidRelativeSecurityDescriptor
+RtlUpdateTimer@16
+@RtlUshortByteSwap@4
+RtlValidRelativeSecurityDescriptor@12
 ;RtlValidateUnicodeString
-;RtlVerifyVersionInfo
-;RtlWalkFrameChain
+RtlVerifyVersionInfo@16
+RtlWalkFrameChain@12
 ;RtlWriteMemoryStream
-;RtlZombifyActivationContext
+RtlZombifyActivationContext@4
 ;RtlpApplyLengthFunction
 ;RtlpEnsureBufferSize
 ;RtlpNotOwnerCriticalSection
-;VerSetConditionMask
-;ZwAccessCheckByType
-;ZwAccessCheckByTypeAndAuditAlarm
-;ZwAccessCheckByTypeResultList
-;ZwAccessCheckByTypeResultListAndAuditAlarm
-;ZwAccessCheckByTypeResultListAndAuditAlarmByHandle
+VerSetConditionMask@16
+ZwAccessCheckByType@44
+ZwAccessCheckByTypeAndAuditAlarm@64
+ZwAccessCheckByTypeResultList@44
+ZwAccessCheckByTypeResultListAndAuditAlarm@64
+ZwAccessCheckByTypeResultListAndAuditAlarmByHandle@68
 ;ZwAddBootEntry
-;ZwAllocateUserPhysicalPages
-;ZwAreMappedFilesTheSame
-;ZwAssignProcessToJobObject
-;ZwCancelDeviceWakeupRequest
-;ZwCompactKeys
+ZwAllocateUserPhysicalPages@12
+ZwAreMappedFilesTheSame@8
+ZwAssignProcessToJobObject@8
+ZwCancelDeviceWakeupRequest@4
+ZwCompactKeys@8
 ;ZwCompareTokens
-;ZwCompressKey
+ZwCompressKey@4
 ;ZwCreateDebugObject
-;ZwCreateJobObject
-;ZwCreateJobSet
-;ZwCreateKeyedEvent
+ZwCreateJobObject@12
+ZwCreateJobSet@12
+ZwCreateKeyedEvent@16
 ;ZwCreateProcessEx
-;ZwCreateWaitablePort
+ZwCreateWaitablePort@20
 ;ZwDebugActiveProcess
 ;ZwDebugContinue
 ;ZwDeleteBootEntry
 ;ZwEnumerateBootEntries
 ;ZwEnumerateSystemEnvironmentValuesEx
-;ZwFilterToken
-;ZwFreeUserPhysicalPages
-;ZwGetDevicePowerState
-;ZwGetWriteWatch
-;ZwImpersonateAnonymousToken
-;ZwInitiatePowerAction
-;ZwIsProcessInJob
-;ZwIsSystemResumeAutomatic
-;ZwLockProductActivationKeys
-;ZwLockRegistryKey
-;ZwMakePermanentObject
-;ZwMapUserPhysicalPages
-;ZwMapUserPhysicalPagesScatter
+ZwFilterToken@24
+ZwFreeUserPhysicalPages@12
+ZwGetDevicePowerState@8
+ZwGetWriteWatch@28
+ZwImpersonateAnonymousToken@4
+ZwInitiatePowerAction@16
+ZwIsProcessInJob@8
+ZwIsSystemResumeAutomatic@0
+ZwLockProductActivationKeys@8
+ZwLockRegistryKey@4
+ZwMakePermanentObject@4
+ZwMapUserPhysicalPages@12
+ZwMapUserPhysicalPagesScatter@12
 ;ZwModifyBootEntry
-;ZwNotifyChangeMultipleKeys
-;ZwOpenJobObject
-;ZwOpenKeyedEvent
-;ZwOpenProcessTokenEx
-;ZwOpenThreadTokenEx
-;ZwPowerInformation
+ZwNotifyChangeMultipleKeys@48
+ZwOpenJobObject@12
+ZwOpenKeyedEvent@12
+ZwOpenProcessTokenEx@16
+ZwOpenThreadTokenEx@20
+ZwPowerInformation@20
 ;ZwQueryBootEntryOrder
 ;ZwQueryBootOptions
 ;ZwQueryDebugFilterState
-;ZwQueryDefaultUILanguage
-;ZwQueryInformationJobObject
-;ZwQueryInstallUILanguage
-;ZwQueryOpenSubKeys
-;ZwQueryPortInformationProcess
-;ZwQueryQuotaInformationFile
+ZwQueryDefaultUILanguage@4
+ZwQueryInformationJobObject@20
+ZwQueryInstallUILanguage@4
+ZwQueryOpenSubKeys@8
+ZwQueryPortInformationProcess@0
+ZwQueryQuotaInformationFile@36
 ;ZwQuerySystemEnvironmentValueEx
-;ZwReleaseKeyedEvent
+ZwReleaseKeyedEvent@16
 ;ZwRemoveProcessDebug
-;ZwRenameKey
-;ZwReplyWaitReceivePortEx
-;ZwRequestDeviceWakeup
-;ZwRequestWakeupLatency
-;ZwResetWriteWatch
-;ZwResumeProcess
-;ZwSaveKeyEx
-;ZwSaveMergedKeys
-;ZwSecureConnectPort
+ZwRenameKey@8
+ZwReplyWaitReceivePortEx@20
+ZwRequestDeviceWakeup@4
+ZwRequestWakeupLatency@4
+ZwResetWriteWatch@12
+ZwResumeProcess@4
+ZwSaveKeyEx@12
+ZwSaveMergedKeys@12
+ZwSecureConnectPort@36
 ;ZwSetBootEntryOrder
 ;ZwSetBootOptions
 ;ZwSetDebugFilterState
-;ZwSetDefaultUILanguage
+ZwSetDefaultUILanguage@4
 ;ZwSetEventBoostPriority
-;ZwSetHighWaitLowThread
+ZwSetHighWaitLowThread@0
 ;ZwSetInformationDebugObject
-;ZwSetInformationJobObject
-;ZwSetLowWaitHighThread
-;ZwSetQuotaInformationFile
+ZwSetInformationJobObject@16
+ZwSetLowWaitHighThread@0
+ZwSetQuotaInformationFile@16
 ;ZwSetSystemEnvironmentValueEx
-;ZwSetThreadExecutionState
-;ZwSetUuidSeed
-;ZwSuspendProcess
-;ZwTerminateJobObject
+ZwSetThreadExecutionState@8
+ZwSetUuidSeed@4
+ZwSuspendProcess@4
+ZwTerminateJobObject@8
 ;ZwTraceEvent
 ;ZwTranslateFilePath
-;ZwUnloadKeyEx
+ZwUnloadKeyEx@8
 ;ZwWaitForDebugEvent
-;ZwWaitForKeyedEvent
+ZwWaitForKeyedEvent@16
 ;_CIcos
 ;_CIlog
-;_CIpow
+_CIpow
 ;_CIsin
 ;_CIsqrt
 ;__eCommonExceptions
@@ -1458,13 +1458,13 @@ _NtCurrentTeb@0
 ;__eGetStatusWord
 ;_alldvrm
 ;_aulldvrm
-;_lfind
-;_ui64toa
-;_ui64tow
-;_vsnwprintf
-;bsearch
-;iswdigit
-;iswlower
-;iswxdigit
-;vDbgPrintEx
-;vDbgPrintExWithPrefix
+_lfind
+_ui64toa
+_ui64tow
+_vsnwprintf
+bsearch
+iswdigit
+iswlower
+iswxdigit
+vDbgPrintEx
+vDbgPrintExWithPrefix
index e0ff8ea..e95caa1 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: ntdll.edf,v 1.100 2003/09/10 06:12:21 vizzini Exp $
+; $Id: ntdll.edf,v 1.101 2003/09/12 17:51:47 vizzini Exp $
 ;
 ; ReactOS Operating System
 ;
@@ -340,10 +340,10 @@ RtlCreateEnvironment=RtlCreateEnvironment@8
 RtlCreateHeap=RtlCreateHeap@24
 RtlCreateProcessParameters=RtlCreateProcessParameters@40
 ;RtlCreatePropertySet
-;RtlCreateQueryDebugBuffer
+RtlCreateQueryDebugBuffer=RtlCreateQueryDebugBuffer@8
 RtlCreateRegistryKey=RtlCreateRegistryKey@8
 RtlCreateSecurityDescriptor=RtlCreateSecurityDescriptor@8
-;RtlCreateTagHeap
+RtlCreateTagHeap=RtlCreateTagHeap@16
 RtlCreateUnicodeString=RtlCreateUnicodeString@8
 RtlCreateUnicodeStringFromAsciiz=RtlCreateUnicodeStringFromAsciiz@8
 RtlCreateUserProcess=RtlCreateUserProcess@40
@@ -354,21 +354,21 @@ RtlCustomCPToUnicodeN=RtlCustomCPToUnicodeN@24
 RtlDeNormalizeProcessParams=RtlDeNormalizeProcessParams@4
 RtlDecompressBuffer=RtlDecompressBuffer@24
 RtlDecompressFragment=RtlDecompressFragment@32
-;RtlDelete
+RtlDelete=RtlDelete@4
 RtlDeleteAce=RtlDeleteAce@8
 RtlDeleteAtomFromAtomTable=RtlDeleteAtomFromAtomTable@8
 RtlDeleteCriticalSection=RtlDeleteCriticalSection@4
-;RtlDeleteElementGenericTable
-;RtlDeleteNoSplay
+RtlDeleteElementGenericTable=RtlDeleteElementGenericTable@8
+RtlDeleteNoSplay=RtlDeleteNoSplay@8
 RtlDeleteRegistryValue=RtlDeleteRegistryValue@12
 RtlDeleteResource=RtlDeleteResource@4
-;RtlDeleteSecurityObject
+RtlDeleteSecurityObject=RtlDeleteSecurityObject@4
 RtlDestroyAtomTable=RtlDestroyAtomTable@4
 RtlDestroyEnvironment=RtlDestroyEnvironment@4
 RtlDestroyHandleTable=RtlDestroyHandleTable@4
 RtlDestroyHeap=RtlDestroyHeap@4
 RtlDestroyProcessParameters=RtlDestroyProcessParameters@4
-;RtlDestroyQueryDebugBuffer
+RtlDestroyQueryDebugBuffer=RtlDestroyQueryDebugBuffer@4
 RtlDetermineDosPathNameType_U=RtlDetermineDosPathNameType_U@4
 RtlDoesFileExists_U=RtlDoesFileExists_U@4
 RtlDosPathNameToNtPathName_U=RtlDosPathNameToNtPathName_U@16
@@ -381,8 +381,8 @@ RtlEnlargedUnsignedDivide=RtlEnlargedUnsignedDivide@16
 RtlEnlargedUnsignedMultiply=RtlEnlargedUnsignedMultiply@8
 RtlEnterCriticalSection=RtlEnterCriticalSection@4
 RtlEnumProcessHeaps=RtlEnumProcessHeaps@8
-;RtlEnumerateGenericTable
-;RtlEnumerateGenericTableWithoutSplaying
+RtlEnumerateGenericTable=RtlEnumerateGenericTable@8
+RtlEnumerateGenericTableWithoutSplaying=RtlEnumerateGenericTableWithoutSplaying@8
 ;RtlEnumerateProperties
 RtlEqualComputerName=RtlEqualComputerName@8
 RtlEqualDomainName=RtlEqualDomainName@8
@@ -420,12 +420,12 @@ RtlFreeUnicodeString=RtlFreeUnicodeString@4
 RtlFreeUserThreadStack=RtlFreeUserThreadStack@8
 RtlGenerate8dot3Name=RtlGenerate8dot3Name@16
 RtlGetAce=RtlGetAce@12
-;RtlGetCallersAddress
+RtlGetCallersAddress=RtlGetCallersAddress@4
 RtlGetCompressionWorkSpaceSize=RtlGetCompressionWorkSpaceSize@12
 RtlGetControlSecurityDescriptor=RtlGetControlSecurityDescriptor@12
 RtlGetCurrentDirectory_U=RtlGetCurrentDirectory_U@8
 RtlGetDaclSecurityDescriptor=RtlGetDaclSecurityDescriptor@16
-;RtlGetElementGenericTable
+RtlGetElementGenericTable=RtlGetElementGenericTable@8
 RtlGetFullPathName_U=RtlGetFullPathName_U@16
 RtlGetGroupSecurityDescriptor=RtlGetGroupSecurityDescriptor@12
 RtlGetLongestNtPathLength=RtlGetLongestNtPathLength@0
@@ -452,16 +452,16 @@ RtlInitUnicodeString=RtlInitUnicodeString@8
 RtlInitializeBitMap=RtlInitializeBitMap@12
 RtlInitializeContext=RtlInitializeContext@20
 RtlInitializeCriticalSection=RtlInitializeCriticalSection@4
-;RtlInitializeGenericTable
+RtlInitializeGenericTable=RtlInitializeGenericTable@20
 RtlInitializeHandleTable=RtlInitializeHandleTable@12
 ;RtlInitializeRXact
 RtlInitializeResource=RtlInitializeResource@4
 RtlInitializeSid=RtlInitializeSid@12
-;RtlInsertElementGenericTable
+RtlInsertElementGenericTable=RtlInsertElementGenericTable@16
 RtlIntegerToChar=RtlIntegerToChar@16
 RtlIntegerToUnicodeString=RtlIntegerToUnicodeString@12
 RtlIsDosDeviceName_U=RtlIsDosDeviceName_U@4
-;RtlIsGenericTableEmpty
+RtlIsGenericTableEmpty=RtlIsGenericTableEmpty@4
 RtlIsNameLegalDOS8Dot3=RtlIsNameLegalDOS8Dot3@12
 RtlIsTextUnicode=RtlIsTextUnicode@12
 RtlIsValidHandle=RtlIsValidHandle@8
@@ -481,7 +481,7 @@ RtlLengthSid=RtlLengthSid@4
 RtlLocalTimeToSystemTime=RtlLocalTimeToSystemTime@8
 RtlLockHeap=RtlLockHeap@4
 RtlLookupAtomInAtomTable=RtlLookupAtomInAtomTable@12
-;RtlLookupElementGenericTable
+RtlLookupElementGenericTable=RtlLookupElementGenericTable@8
 RtlMakeSelfRelativeSD=RtlMakeSelfRelativeSD@12
 RtlMapGenericMask=RtlMapGenericMask@8
 RtlMoveMemory=RtlMoveMemory@12
@@ -489,10 +489,10 @@ RtlMultiByteToUnicodeN=RtlMultiByteToUnicodeN@20
 RtlMultiByteToUnicodeSize=RtlMultiByteToUnicodeSize@12
 ;RtlNewInstanceSecurityObject
 ;RtlNewSecurityGrantedAccess
-;RtlNewSecurityObject
+RtlNewSecurityObject=RtlNewSecurityObject@24
 RtlNormalizeProcessParams=RtlNormalizeProcessParams@4
 RtlNtStatusToDosError=RtlNtStatusToDosError@4
-;RtlNumberGenericTableElements
+RtlNumberGenericTableElements=RtlNumberGenericTableElements@4
 RtlNumberOfClearBits=RtlNumberOfClearBits@4
 RtlNumberOfSetBits=RtlNumberOfSetBits@4
 RtlOemStringToUnicodeSize=RtlOemStringToUnicodeSize@4
@@ -504,12 +504,12 @@ RtlPinAtomInAtomTable=RtlPinAtomInAtomTable@8
 RtlPrefixString=RtlPrefixString@12
 RtlPrefixUnicodeString=RtlPrefixUnicodeString@12
 ;RtlPropertySetNameToGuid
-;RtlProtectHeap
+RtlProtectHeap=RtlProtectHeap@8
 RtlQueryAtomInAtomTable=RtlQueryAtomInAtomTable@24
 RtlQueryEnvironmentVariable_U=RtlQueryEnvironmentVariable_U@12
 RtlQueryInformationAcl=RtlQueryInformationAcl@16
 ;RtlQueryProcessBackTraceInformation
-;RtlQueryProcessDebugInformation
+RtlQueryProcessDebugInformation=RtlQueryProcessDebugInformation@12
 ;RtlQueryProcessHeapInformation
 ;RtlQueryProcessLockInformation
 ;RtlQueryProperties
@@ -517,14 +517,14 @@ RtlQueryInformationAcl=RtlQueryInformationAcl@16
 ;RtlQueryPropertySet
 RtlQueryRegistryValues=RtlQueryRegistryValues@20
 ;RtlQuerySecutityObject
-;RtlQueryTagHeap
+RtlQueryTagHeap=RtlQueryTagHeap@20
 RtlQueryTimeZoneInformation=RtlQueryTimeZoneInformation@4
 RtlRaiseException=RtlRaiseException@4
 RtlRaiseStatus=RtlRaiseStatus@4
 RtlRandom=RtlRandom@4
 RtlReAllocateHeap=RtlReAllocateHeap@16
-;RtlRealPredecessor
-;RtlRealSuccessor
+RtlRealPredecessor=RtlRealPredecessor@4
+RtlRealSuccessor=RtlRealSuccessor@4
 RtlReleasePebLock=RtlReleasePebLock@0
 RtlReleaseResource=RtlReleaseResource@4
 ;RtlRemoteCall
@@ -554,7 +554,7 @@ RtlSetTimeZoneInformation=RtlSetTimeZoneInformation@4
 ;RtlSetUserFlagsHeap
 ;RtlSetUserValueHeap
 RtlSizeHeap=RtlSizeHeap@12
-;RtlSplay
+RtlSplay=RtlSplay@4
 ;RtlStartRXact
 RtlSubAuthorityCountSid=RtlSubAuthorityCountSid@4
 RtlSubAuthoritySid=RtlSubAuthoritySid@8
@@ -596,7 +596,7 @@ RtlValidSecurityDescriptor=RtlValidSecurityDescriptor@4
 RtlValidSid=RtlValidSid@4
 RtlValidateHeap=RtlValidateHeap@12
 RtlValidateProcessHeaps=RtlValidateProcessHeaps@0
-;RtlWalkHeap
+RtlWalkHeap=RtlWalkHeap@8
 RtlWriteRegistryValue=RtlWriteRegistryValue@24
 ;RtlZeroHeap
 RtlZeroMemory=RtlZeroMemory@8
@@ -606,8 +606,8 @@ RtlpNtMakeTemporaryKey=RtlpNtMakeTemporaryKey@4
 RtlpNtOpenKey=RtlpNtOpenKey@16
 RtlpNtQueryValueKey=RtlpNtQueryValueKey@20
 RtlpNtSetValueKey=RtlpNtSetValueKey@16
-;RtlpUnWaitCriticalSection
-;RtlpWaitForCriticalSection
+RtlpUnWaitCriticalSection=RtlpUnWaitCriticalSection@4
+RtlpWaitForCriticalSection=RtlpWaitForCriticalSection@4
 RtlxAnsiStringToUnicodeSize=RtlxAnsiStringToUnicodeSize@4
 RtlxOemStringToUnicodeSize=RtlxOemStringToUnicodeSize@4
 RtlxUnicodeStringToAnsiSize=RtlxUnicodeStringToAnsiSize@4
@@ -909,7 +909,7 @@ qsort
 sin
 sprintf
 sqrt
-;sscanf
+sscanf
 strcat
 strchr
 strcmp
@@ -953,127 +953,127 @@ NtCurrentTeb=_NtCurrentTeb@0
 ;?Allocate@CBufferAllocator@@UAEPAXK@Z
 ;CsrCaptureMessageMultiUnicodeStringsInPlace
 ;CsrGetProcessId
-;DbgPrintEx
-;DbgPrintReturnControlC
-;DbgQueryDebugFilterState
-;DbgSetDebugFilterState
+DbgPrintEx
+DbgPrintReturnControlC
+DbgQueryDebugFilterState=DbgQueryDebugFilterState@8
+DbgSetDebugFilterState=DbgSetDebugFilterState@12
 ;DbgUiConvertStateChangeStructure
-;DbgUiDebugActiveProcess
+DbgUiDebugActiveProcess=DbgUiDebugActiveProcess@4
 ;DbgUiGetThreadDebugObject
 ;DbgUiSetThreadDebugObject
-;DbgUiStopDebugging
+DbgUiStopDebugging=DbgUiStopDebugging@4
 ;LdrAccessOutOfProcessResource
 ;LdrAddRefDll
-;LdrAlternateResourcesEnabled
+LdrAlternateResourcesEnabled=LdrAlternateResourcesEnabled@0
 ;LdrCreateOutOfProcessImage
 ;LdrDestroyOutOfProcessImage
 ;LdrEnumerateLoadedModules
 ;LdrFindCreateProcessManifest
 ;LdrFindResourceEx_U
-;LdrFlushAlternateResourceModules
+LdrFlushAlternateResourceModules=LdrFlushAlternateResourceModules@0
 ;LdrGetDllHandleEx
 ;LdrInitShimEngineDynamic
 ;LdrLoadAlternateResourceModule
-;LdrLockLoaderLock
+LdrLockLoaderLock=LdrLockLoaderLock@12
 ;LdrSetAppCompatDllRedirectionCallback
 ;LdrSetDllManifestProber
 ;LdrUnloadAlternateResourceModule
-;LdrUnlockLoaderLock
+LdrUnlockLoaderLock=LdrUnlockLoaderLock@8
 ;NPXEMULATORTABLE
-;NtAccessCheckByType
-;NtAccessCheckByTypeAndAuditAlarm
-;NtAccessCheckByTypeResultList
-;NtAccessCheckByTypeResultListAndAuditAlarm
-;NtAccessCheckByTypeResultListAndAuditAlarmByHandle
+NtAccessCheckByType=NtAccessCheckByType@44
+NtAccessCheckByTypeAndAuditAlarm=NtAccessCheckByTypeAndAuditAlarm@64
+NtAccessCheckByTypeResultList=NtAccessCheckByTypeResultList@44
+NtAccessCheckByTypeResultListAndAuditAlarm=NtAccessCheckByTypeResultListAndAuditAlarm@64
+NtAccessCheckByTypeResultListAndAuditAlarmByHandle=NtAccessCheckByTypeResultListAndAuditAlarmByHandle@68
 ;NtAddBootEntry
-;NtAllocateUserPhysicalPages
-;NtAreMappedFilesTheSame
+NtAllocateUserPhysicalPages=NtAllocateUserPhysicalPages@12
+NtAreMappedFilesTheSame=NtAreMappedFilesTheSame@8
 ;NtAssignProcessToJobObject
-;NtCancelDeviceWakeupRequest
-;NtCompactKeys
+NtCancelDeviceWakeupRequest=NtCancelDeviceWakeupRequest@4
+NtCompactKeys=NtCompactKeys@8
 ;NtCompareTokens
-;NtCompressKey
+NtCompressKey=NtCompressKey@4
 ;NtCreateDebugObject
-;NtCreateJobObject
-;NtCreateJobSet
-;NtCreateKeyedEvent
+NtCreateJobObject=NtCreateJobObject@12
+NtCreateJobSet=NtCreateJobSet@12
+NtCreateKeyedEvent=NtCreateKeyedEvent@16
 ;NtCreateProcessEx
 ;NtDebugActiveProcess
 ;NtDebugContinue
 ;NtDeleteBootEntry
 ;NtEnumerateBootEntries
 ;NtEnumerateSystemEnvironmentValuesEx
-;NtFilterToken
-;NtFreeUserPhysicalPages
-;NtGetDevicePowerState
-;NtGetWriteWatch
-;NtImpersonateAnonymousToken
-;NtInitiatePowerAction
-;NtIsProcessInJob
-;NtIsSystemResumeAutomatic
-;NtLockProductActivationKeys
-;NtLockRegistryKey
-;NtMakePermanentObject
-;NtMapUserPhysicalPages
-;NtMapUserPhysicalPagesScatter
+NtFilterToken=NtFilterToken@24
+NtFreeUserPhysicalPages=NtFreeUserPhysicalPages@12
+NtGetDevicePowerState=NtGetDevicePowerState@8
+NtGetWriteWatch=NtGetWriteWatch@28
+NtImpersonateAnonymousToken=NtImpersonateAnonymousToken@4
+NtInitiatePowerAction=NtInitiatePowerAction@16
+NtIsProcessInJob=NtIsProcessInJob@8
+NtIsSystemResumeAutomatic=NtIsSystemResumeAutomatic@0
+NtLockProductActivationKeys=NtLockProductActivationKeys@8
+NtLockRegistryKey=NtLockRegistryKey@4
+NtMakePermanentObject=NtMakePermanentObject@4
+NtMapUserPhysicalPages=NtMapUserPhysicalPages@12
+NtMapUserPhysicalPagesScatter=NtMapUserPhysicalPagesScatter@12
 ;NtModifyBootEntry
-;NtNotifyChangeMultipleKeys
-;NtOpenJobObject
-;NtOpenKeyedEvent
-;NtOpenProcessTokenEx
-;NtOpenThreadTokenEx
-;NtPowerInformation
+NtNotifyChangeMultipleKeys=NtNotifyChangeMultipleKeys@48
+NtOpenJobObject=NtOpenJobObject@12
+NtOpenKeyedEvent=NtOpenKeyedEvent@12
+NtOpenProcessTokenEx=NtOpenProcessTokenEx@16
+NtOpenThreadTokenEx=NtOpenThreadTokenEx@20
+NtPowerInformation=NtPowerInformation@20
 ;NtQueryBootEntryOrder
 ;NtQueryBootOptions
 ;NtQueryDebugFilterState
-;NtQueryDefaultUILanguage
-;NtQueryInformationJobObject
-;NtQueryInstallUILanguage
-;NtQueryOpenSubKeys
-;NtQueryPortInformationProcess
+NtQueryDefaultUILanguage=NtQueryDefaultUILanguage@4
+NtQueryInformationJobObject=NtQueryInformationJobObject@20
+NtQueryInstallUILanguage=NtQueryInstallUILanguage@4
+NtQueryOpenSubKeys=NtQueryOpenSubKeys@8
+NtQueryPortInformationProcess=NtQueryPortInformationProcess@0
 ;NtQuerySystemEnvironmentValueEx
-;NtReleaseKeyedEvent
+NtReleaseKeyedEvent=NtReleaseKeyedEvent@16
 ;NtRemoveProcessDebug
-;NtRenameKey
-;NtReplyWaitReceivePortEx
-;NtRequestDeviceWakeup
-;NtRequestWakeupLatency
-;NtResetWriteWatch
-;NtResumeProcess
-;NtSaveKeyEx
-;NtSaveMergedKeys
-;NtSecureConnectPort
+NtRenameKey=NtRenameKey@8
+NtReplyWaitReceivePortEx=NtReplyWaitReceivePortEx@20
+NtRequestDeviceWakeup=NtRequestDeviceWakeup@4
+NtRequestWakeupLatency=NtRequestWakeupLatency@4
+NtResetWriteWatch=NtResetWriteWatch@12
+NtResumeProcess=NtResumeProcess@4
+NtSaveKeyEx=NtSaveKeyEx@12
+NtSaveMergedKeys=NtSaveMergedKeys@12
+NtSecureConnectPort=NtSecureConnectPort@36
 ;NtSetBootEntryOrder
 ;NtSetBootOptions
 ;NtSetDebugFilterState
-;NtSetDefaultUILanguage
+NtSetDefaultUILanguage=NtSetDefaultUILanguage@4
 ;NtSetEventBoostPriority
-;NtSetHighWaitLowThread
+NtSetHighWaitLowThread=NtSetHighWaitLowThread@0
 ;NtSetInformationDebugObject
-;NtSetInformationJobObject
-;NtSetLowWaitHighThread
-;NtSetQuotaInformationFile
+NtSetInformationJobObject=NtSetInformationJobObject@16
+NtSetLowWaitHighThread=NtSetLowWaitHighThread@0
+NtSetQuotaInformationFile=NtSetQuotaInformationFile@16
 ;NtSetSystemEnvironmentValueEx
-;NtSetThreadExecutionState
-;NtSetUuidSeed
-;NtSuspendProcess
-;NtTerminateJobObject
+NtSetThreadExecutionState=NtSetThreadExecutionState@8
+NtSetUuidSeed=NtSetUuidSeed@4
+NtSuspendProcess=NtSuspendProcess@4
+NtTerminateJobObject=NtTerminateJobObject@8
 ;NtTraceEvent
 ;NtTranslateFilePath
-;NtUnloadKeyEx
+NtUnloadKeyEx=NtUnloadKeyEx@8
 ;NtWaitForDebugEvent
-;NtWaitForKeyedEvent
+NtWaitForKeyedEvent=NtWaitForKeyedEvent@16
 ;RtlActivateActivationContext
 ;RtlActivateActivationContextEx
 ;RtlActivateActivationContextUnsafeFast
-;RtlAddAccessAllowedAceEx
+RtlAddAccessAllowedAceEx=RtlAddAccessAllowedAceEx@20
 ;RtlAddAccessAllowedObjectAce
-;RtlAddAccessDeniedAceEx
+RtlAddAccessDeniedAceEx=RtlAddAccessDeniedAceEx@20
 ;RtlAddAccessDeniedObjectAce
 ;RtlAddAuditAccessAceEx
 ;RtlAddAuditAccessObjectAce
-;RtlAddRange
-;RtlAddRefActivationContext
+RtlAddRange=RtlAddRange@36
+RtlAddRefActivationContext=RtlAddRefActivationContext@4
 ;RtlAddRefMemoryStream
 ;RtlAddVectoredExceptionHandler
 ;RtlAddressInSectionTable
@@ -1081,14 +1081,14 @@ NtCurrentTeb=_NtCurrentTeb@0
 ;RtlApplicationVerifierStop
 ;RtlAssert2
 ;RtlCancelTimer
-;RtlCaptureContext
+RtlCaptureContext=RtlCaptureContext@4
 ;RtlCaptureStackContext
 ;RtlCheckForOrphanedCriticalSections
 ;RtlCheckProcessParameters
 ;RtlCloneMemoryStream
 ;RtlCommitMemoryStream
 ;RtlCompareVariants
-;RtlComputeCrc32
+RtlComputeCrc32=RtlComputeCrc32@12
 ;RtlComputeImportTableHash
 ;RtlComputePrivatizedDllName_U
 ;RtlConvertPropertyToVariant
@@ -1096,30 +1096,30 @@ NtCurrentTeb=_NtCurrentTeb@0
 ;RtlConvertVariantToProperty
 ;RtlCopyMemoryStreamTo
 ;RtlCopyOutOfProcessMemoryStreamTo
-;RtlCopyRangeList
+RtlCopyRangeList=RtlCopyRangeList@8
 ;RtlCreateActivationContext
 ;RtlCreateBootStatusDataFile
 ;RtlCreateSystemVolumeInformationFolder
-;RtlCreateTimer
-;RtlCreateTimerQueue
-;RtlDeactivateActivationContext
+RtlCreateTimer=RtlCreateTimer@28
+RtlCreateTimerQueue=RtlCreateTimerQueue@4
+RtlDeactivateActivationContext=RtlDeactivateActivationContext@8
 ;RtlDeactivateActivationContextUnsafeFast
 ;RtlDebugPrintTimes
 ;RtlDefaultNpAcl
 ;RtlDeleteElementGenericTableAvl
-;RtlDeleteOwnersRanges
-;RtlDeleteRange
-;RtlDeleteTimer
-;RtlDeleteTimerQueue
-;RtlDeleteTimerQueueEx
-;RtlDeregisterWait
-;RtlDeregisterWaitEx
-;RtlDllShutdownInProgress
+RtlDeleteOwnersRanges=RtlDeleteOwnersRanges@8
+RtlDeleteRange=RtlDeleteRange@24
+RtlDeleteTimer=RtlDeleteTimer@12
+RtlDeleteTimerQueue=RtlDeleteTimerQueue@4
+RtlDeleteTimerQueueEx=RtlDeleteTimerQueueEx@8
+RtlDeregisterWait=RtlDeregisterWait@4
+RtlDeregisterWaitEx=RtlDeregisterWaitEx@8
+RtlDllShutdownInProgress=RtlDllShutdownInProgress@0
 ;RtlDnsHostNameToComputerName
 ;RtlDosApplyFileIsolationRedirection_Ustr
 ;RtlDosSearchPath_Ustr
-;RtlDowncaseUnicodeChar
-;RtlDuplicateUnicodeString
+RtlDowncaseUnicodeChar=RtlDowncaseUnicodeChar@4
+RtlDuplicateUnicodeString=RtlDuplicateUnicodeString@12
 ;RtlEnableEarlyCriticalSectionEventCreation
 ;RtlEnumerateGenericTableAvl
 ;RtlEnumerateGenericTableLikeADirectory
@@ -1127,48 +1127,48 @@ NtCurrentTeb=_NtCurrentTeb@0
 ;RtlFinalReleaseOutOfProcessMemoryStream
 ;RtlFindActivationContextSectionGuid
 ;RtlFindActivationContextSectionString
-;RtlFindCharInUnicodeString
-;RtlFindClearRuns
-;RtlFindLastBackwardRunClear
-;RtlFindLeastSignificantBit
-;RtlFindMostSignificantBit
-;RtlFindNextForwardRunClear
-;RtlFindRange
+RtlFindCharInUnicodeString=RtlFindCharInUnicodeString@16
+RtlFindClearRuns=RtlFindClearRuns@16
+RtlFindLastBackwardRunClear=RtlFindLastBackwardRunClear@12
+RtlFindLeastSignificantBit=RtlFindLeastSignificantBit@8
+RtlFindMostSignificantBit=RtlFindMostSignificantBit@8 
+RtlFindNextForwardRunClear=RtlFindNextForwardRunClear@12
+RtlFindRange=RtlFindRange@48
 ;RtlFirstEntrySList
 ;RtlFlushSecureMemoryCache
-;RtlFreeOemString
-;RtlFreeRangeList
+RtlFreeOemString=RtlFreeOemString
+RtlFreeRangeList=RtlFreeRangeList@4
 ;RtlFreeThreadActivationContextStack
-;RtlGUIDFromString
-;RtlGetActiveActivationContext
-;RtlGetCurrentPeb
+RtlGUIDFromString=RtlGUIDFromString@8
+RtlGetActiveActivationContext=RtlGetActiveActivationContext@4
+RtlGetCurrentPeb=RtlGetCurrentPeb@0
 ;RtlGetElementGenericTableAvl
-;RtlGetFirstRange
+RtlGetFirstRange=RtlGetFirstRange@12
 ;RtlGetFrame
-;RtlGetLastNtStatus
-;RtlGetLastWin32Error
+RtlGetLastNtStatus=RtlGetLastNtStatus@0
+RtlGetLastWin32Error=RtlGetLastWin32Error@0
 ;RtlGetLengthWithoutLastFullDosOrNtPathElement
 ;RtlGetLengthWithoutTrailingPathSeperators
-;RtlGetNativeSystemInformation
-;RtlGetNextRange
+RtlGetNativeSystemInformation=RtlGetNativeSystemInformation@16
+RtlGetNextRange=RtlGetNextRange@12
 ;RtlGetSecurityDescriptorRMControl
 ;RtlGetSetBootStatusData
-;RtlGetVersion
-;RtlHashUnicodeString
+RtlGetVersion=RtlGetVersion@4
+RtlHashUnicodeString=RtlHashUnicodeString@16
 ;RtlInitMemoryStream
 ;RtlInitOutOfProcessMemoryStream
-;RtlInitUnicodeStringEx
-;RtlInitializeCriticalSectionAndSpinCount
+RtlInitUnicodeStringEx=RtlInitUnicodeStringEx@8
+RtlInitializeCriticalSectionAndSpinCount=RtlInitializeCriticalSectionAndSpinCount@8
 ;RtlInitializeGenericTableAvl
-;RtlInitializeRangeList
-;RtlInitializeSListHead
+RtlInitializeRangeList=RtlInitializeRangeList@4
+RtlInitializeSListHead=RtlInitializeSListHead@4
 ;RtlInsertElementGenericTableAvl
-;RtlInt64ToUnicodeString
-;RtlInterlockedFlushSList
-;RtlInterlockedPopEntrySList
-;RtlInterlockedPushEntrySList
+RtlInt64ToUnicodeString=RtlInt64ToUnicodeString@16
+RtlInterlockedFlushSList=RtlInterlockedFlushSList@4
+RtlInterlockedPopEntrySList=RtlInterlockedPopEntrySList@4
+RtlInterlockedPushEntrySList=RtlInterlockedPushEntrySList@8
 ;RtlInterlockedPushListSList
-;RtlInvertRangeList
+RtlInvertRangeList=RtlInvertRangeList@8
 ;RtlIpv4AddressToStringA
 ;RtlIpv4AddressToStringW
 ;RtlIpv4StringToAddressA
@@ -1178,48 +1178,48 @@ NtCurrentTeb=_NtCurrentTeb@0
 ;RtlIpv6StringToAddressW
 ;RtlIsActivationContextActive
 ;RtlIsGenericTableEmptyAvl
-;RtlIsRangeAvailable
+RtlIsRangeAvailable=RtlIsRangeAvailable@40
 ;RtlIsThreadWithinLoaderCallout
 ;RtlLockBootStatusData
 ;RtlLockMemoryStreamRegion
-;RtlLogStackBackTrace
+RtlLogStackBackTrace=RtlLogStackBackTrace@0
 ;RtlLookupElementGenericTableAvl
 ;RtlMapSecurityErrorToNtStatus
-;RtlMergeRangeLists
+RtlMergeRangeLists=RtlMergeRangeLists@16
 ;RtlMultiAppendUnicodeStringBuffer
 ;RtlNewSecurityObjectEx
 ;RtlNewSecurityObjectWithMultipleInheritance
 ;RtlNtPathNameToDosPathName
-;RtlNtStatusToDosErrorNoTeb
+RtlNtStatusToDosErrorNoTeb=RtlNtStatusToDosErrorNoTeb@4
 ;RtlNumberGenericTableElementsAvl
 ;RtlOnMappedStreamEvent
 ;RtlPopFrame
 ;RtlPushFrame
-;RtlQueryDepthSList
-;RtlQueryHeapInformation
-;RtlQueryInformationActivationContext
+RtlQueryDepthSList=RtlQueryDepthSList@4
+RtlQueryHeapInformation=RtlQueryHeapInformation@20
+RtlQueryInformationActivationContext=RtlQueryInformationActivationContext@28
 ;RtlQueryInformationActiveActivationContext
 ;RtlQueryInterfaceMemoryStream
 ;RtlQueueApcWow64Thread
-;RtlQueueWorkItem
+RtlQueueWorkItem=RtlQueueWorkItem@12
 ;RtlRandomEx
 ;RtlReadMemoryStream
 ;RtlReadOutOfProcessMemoryStream
 ;RtlRegisterSecureMemoryCacheCallback
-;RtlRegisterWait
-;RtlReleaseActivationContext
+RtlRegisterWait=RtlRegisterWait@24
+RtlReleaseActivationContext=RtlReleaseActivationContext@4
 ;RtlReleaseMemoryStream
 ;RtlRemoveVectoredExceptionHandler
-;RtlRestoreLastWin32Error
+RtlRestoreLastWin32Error=RtlRestoreLastWin32Error@4
 ;RtlRevertMemoryStream
 ;RtlSeekMemoryStream
 ;RtlSelfRelativeToAbsoluteSD2
 ;RtlSetControlSecurityDescriptor
-;RtlSetCriticalSectionSpinCount
-;RtlSetHeapInformation
-;RtlSetIoCompletionCallback
-;RtlSetLastWin32Error
-;RtlSetLastWin32ErrorAndNtStatusFromNtStatus
+RtlSetCriticalSectionSpinCount=RtlSetCriticalSectionSpinCount@4
+RtlSetHeapInformation=RtlSetHeapInformation@16
+RtlSetIoCompletionCallback=RtlSetIoCompletionCallback@12
+RtlSetLastWin32Error=RtlSetLastWin32Error@4
+RtlSetLastWin32ErrorAndNtStatusFromNtStatus=RtlSetLastWin32ErrorAndNtStatusFromNtStatus@4
 ;RtlSetMemoryStreamSize
 ;RtlSetProcessIsCritical
 ;RtlSetSecurityDescriptorRMControl
@@ -1228,7 +1228,7 @@ NtCurrentTeb=_NtCurrentTeb@0
 ;RtlSetThreadPoolStartFunc
 ;RtlSetTimer
 ;RtlStatMemoryStream
-;RtlStringFromGUID
+RtlStringFromGUID=RtlStringFromGUID@8
 ;RtlTraceDatabaseAdd
 ;RtlTraceDatabaseCreate
 ;RtlTraceDatabaseDestroy
@@ -1237,112 +1237,112 @@ NtCurrentTeb=_NtCurrentTeb@0
 ;RtlTraceDatabaseLock
 ;RtlTraceDatabaseUnlock
 ;RtlTraceDatabaseValidate
-;RtlUlongByteSwap
-;RtlUlonglongByteSwap
+RtlUlongByteSwap=@RtlUlongByteSwap@4
+RtlUlonglongByteSwap=@RtlUlonglongByteSwap@8
 ;RtlUnhandledExceptionFilter
 ;RtlUnhandledExceptionFilter2
 ;RtlUnlockBootStatusData
 ;RtlUnlockMemoryStreamRegion
-;RtlUpdateTimer
-;RtlUshortByteSwap
-;RtlValidRelativeSecurityDescriptor
+RtlUpdateTimer=RtlUpdateTimer@16
+RtlUshortByteSwap=@RtlUshortByteSwap@4
+RtlValidRelativeSecurityDescriptor=RtlValidRelativeSecurityDescriptor@12
 ;RtlValidateUnicodeString
-;RtlVerifyVersionInfo
-;RtlWalkFrameChain
+RtlVerifyVersionInfo=RtlVerifyVersionInfo@16
+RtlWalkFrameChain=RtlWalkFrameChain@12
 ;RtlWriteMemoryStream
-;RtlZombifyActivationContext
+RtlZombifyActivationContext=RtlZombifyActivationContext@4
 ;RtlpApplyLengthFunction
 ;RtlpEnsureBufferSize
 ;RtlpNotOwnerCriticalSection
-;VerSetConditionMask
-;ZwAccessCheckByType
-;ZwAccessCheckByTypeAndAuditAlarm
-;ZwAccessCheckByTypeResultList
-;ZwAccessCheckByTypeResultListAndAuditAlarm
-;ZwAccessCheckByTypeResultListAndAuditAlarmByHandle
+VerSetConditionMask=VerSetConditionMask@16
+ZwAccessCheckByType=ZwAccessCheckByType@44
+ZwAccessCheckByTypeAndAuditAlarm=ZwAccessCheckByTypeAndAuditAlarm@64
+ZwAccessCheckByTypeResultList=ZwAccessCheckByTypeResultList@44
+ZwAccessCheckByTypeResultListAndAuditAlarm=ZwAccessCheckByTypeResultListAndAuditAlarm@64
+ZwAccessCheckByTypeResultListAndAuditAlarmByHandle=ZwAccessCheckByTypeResultListAndAuditAlarmByHandle@68
 ;ZwAddBootEntry
-;ZwAllocateUserPhysicalPages
-;ZwAreMappedFilesTheSame
-;ZwAssignProcessToJobObject
-;ZwCancelDeviceWakeupRequest
-;ZwCompactKeys
+ZwAllocateUserPhysicalPages=ZwAllocateUserPhysicalPages@12
+ZwAreMappedFilesTheSame=ZwAreMappedFilesTheSame@8
+ZwAssignProcessToJobObject=ZwAssignProcessToJobObject@8
+ZwCancelDeviceWakeupRequest=ZwCancelDeviceWakeupRequest@4
+ZwCompactKeys=ZwCompactKeys@8
 ;ZwCompareTokens
-;ZwCompressKey
+ZwCompressKey=ZwCompressKey@4
 ;ZwCreateDebugObject
-;ZwCreateJobObject
-;ZwCreateJobSet
-;ZwCreateKeyedEvent
+ZwCreateJobObject=ZwCreateJobObject@12
+ZwCreateJobSet=ZwCreateJobSet@12
+ZwCreateKeyedEvent=ZwCreateKeyedEvent@16
 ;ZwCreateProcessEx
-;ZwCreateWaitablePort
+ZwCreateWaitablePort=ZwCreateWaitablePort@20
 ;ZwDebugActiveProcess
 ;ZwDebugContinue
 ;ZwDeleteBootEntry
 ;ZwEnumerateBootEntries
 ;ZwEnumerateSystemEnvironmentValuesEx
-;ZwFilterToken
-;ZwFreeUserPhysicalPages
-;ZwGetDevicePowerState
-;ZwGetWriteWatch
-;ZwImpersonateAnonymousToken
-;ZwInitiatePowerAction
-;ZwIsProcessInJob
-;ZwIsSystemResumeAutomatic
-;ZwLockProductActivationKeys
-;ZwLockRegistryKey
-;ZwMakePermanentObject
-;ZwMapUserPhysicalPages
-;ZwMapUserPhysicalPagesScatter
+ZwFilterToken=ZwFilterToken@24
+ZwFreeUserPhysicalPages=ZwFreeUserPhysicalPages@12
+ZwGetDevicePowerState=ZwGetDevicePowerState@8
+ZwGetWriteWatch=ZwGetWriteWatch@28
+ZwImpersonateAnonymousToken=ZwImpersonateAnonymousToken@4
+ZwInitiatePowerAction=ZwInitiatePowerAction@16
+ZwIsProcessInJob=ZwIsProcessInJob@8
+ZwIsSystemResumeAutomatic=ZwIsSystemResumeAutomatic@0
+ZwLockProductActivationKeys=ZwLockProductActivationKeys@8
+ZwLockRegistryKey=ZwLockRegistryKey@4
+ZwMakePermanentObject=ZwMakePermanentObject@4
+ZwMapUserPhysicalPages=ZwMapUserPhysicalPages@12
+ZwMapUserPhysicalPagesScatter=ZwMapUserPhysicalPagesScatter@12
 ;ZwModifyBootEntry
-;ZwNotifyChangeMultipleKeys
-;ZwOpenJobObject
-;ZwOpenKeyedEvent
-;ZwOpenProcessTokenEx
-;ZwOpenThreadTokenEx
-;ZwPowerInformation
+ZwNotifyChangeMultipleKeys=ZwNotifyChangeMultipleKeys@48
+ZwOpenJobObject=ZwOpenJobObject@12
+ZwOpenKeyedEvent=ZwOpenKeyedEvent@12
+ZwOpenProcessTokenEx=ZwOpenProcessTokenEx@16
+ZwOpenThreadTokenEx=ZwOpenThreadTokenEx@20
+ZwPowerInformation=ZwPowerInformation@20
 ;ZwQueryBootEntryOrder
 ;ZwQueryBootOptions
 ;ZwQueryDebugFilterState
-;ZwQueryDefaultUILanguage
-;ZwQueryInformationJobObject
-;ZwQueryInstallUILanguage
-;ZwQueryOpenSubKeys
-;ZwQueryPortInformationProcess
-;ZwQueryQuotaInformationFile
+ZwQueryDefaultUILanguage=ZwQueryDefaultUILanguage@4
+ZwQueryInformationJobObject=ZwQueryInformationJobObject@20
+ZwQueryInstallUILanguage=ZwQueryInstallUILanguage@4
+ZwQueryOpenSubKeys=ZwQueryOpenSubKeys@8
+ZwQueryPortInformationProcess=ZwQueryPortInformationProcess@0
+ZwQueryQuotaInformationFile=ZwQueryQuotaInformationFile@36
 ;ZwQuerySystemEnvironmentValueEx
-;ZwReleaseKeyedEvent
+ZwReleaseKeyedEvent=ZwReleaseKeyedEvent@16
 ;ZwRemoveProcessDebug
-;ZwRenameKey
-;ZwReplyWaitReceivePortEx
-;ZwRequestDeviceWakeup
-;ZwRequestWakeupLatency
-;ZwResetWriteWatch
-;ZwResumeProcess
-;ZwSaveKeyEx
-;ZwSaveMergedKeys
-;ZwSecureConnectPort
+ZwRenameKey=ZwRenameKey@8
+ZwReplyWaitReceivePortEx=ZwReplyWaitReceivePortEx@20
+ZwRequestDeviceWakeup=ZwRequestDeviceWakeup@4
+ZwRequestWakeupLatency=ZwRequestWakeupLatency@4
+ZwResetWriteWatch=ZwResetWriteWatch@12
+ZwResumeProcess=ZwResumeProcess@4
+ZwSaveKeyEx=ZwSaveKeyEx@12
+ZwSaveMergedKeys=ZwSaveMergedKeys@12
+ZwSecureConnectPort=ZwSecureConnectPort@36
 ;ZwSetBootEntryOrder
 ;ZwSetBootOptions
 ;ZwSetDebugFilterState
-;ZwSetDefaultUILanguage
+ZwSetDefaultUILanguage=ZwSetDefaultUILanguage@4
 ;ZwSetEventBoostPriority
-;ZwSetHighWaitLowThread
+ZwSetHighWaitLowThread=ZwSetHighWaitLowThread@0
 ;ZwSetInformationDebugObject
-;ZwSetInformationJobObject
-;ZwSetLowWaitHighThread
-;ZwSetQuotaInformationFile
+ZwSetInformationJobObject=ZwSetInformationJobObject@16
+ZwSetLowWaitHighThread=ZwSetLowWaitHighThread@0
+ZwSetQuotaInformationFile=ZwSetQuotaInformationFile@16
 ;ZwSetSystemEnvironmentValueEx
-;ZwSetThreadExecutionState
-;ZwSetUuidSeed
-;ZwSuspendProcess
-;ZwTerminateJobObject
+ZwSetThreadExecutionState=ZwSetThreadExecutionState@8
+ZwSetUuidSeed=ZwSetUuidSeed@4
+ZwSuspendProcess=ZwSuspendProcess@4
+ZwTerminateJobObject=ZwTerminateJobObject@8
 ;ZwTraceEvent
 ;ZwTranslateFilePath
-;ZwUnloadKeyEx
+ZwUnloadKeyEx=ZwUnloadKeyEx@8
 ;ZwWaitForDebugEvent
-;ZwWaitForKeyedEvent
+ZwWaitForKeyedEvent=ZwWaitForKeyedEvent@16
 ;_CIcos
 ;_CIlog
-;_CIpow
+_CIpow
 ;_CIsin
 ;_CIsqrt
 ;__eCommonExceptions
@@ -1458,13 +1458,13 @@ NtCurrentTeb=_NtCurrentTeb@0
 ;__eGetStatusWord
 ;_alldvrm
 ;_aulldvrm
-;_lfind
-;_ui64toa
-;_ui64tow
-;_vsnwprintf
-;bsearch
-;iswdigit
-;iswlower
-;iswxdigit
-;vDbgPrintEx
-;vDbgPrintExWithPrefix
+_lfind
+_ui64toa
+_ui64tow
+_vsnwprintf
+bsearch
+iswdigit
+iswlower
+iswxdigit
+vDbgPrintEx
+vDbgPrintExWithPrefix
index fd8eb9e..fe6747b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: startup.c,v 1.54 2003/08/21 12:49:23 weiden Exp $
+/* $Id: startup.c,v 1.55 2003/09/12 17:51:47 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -194,7 +194,6 @@ __true_LdrInitializeThunk (ULONG Unknown1,
    PIMAGE_NT_HEADERS NTHeaders;
    PEPFUNC EntryPoint;
    PIMAGE_DOS_HEADER PEDosHeader;
-   NTSTATUS Status;
    PVOID ImageBase;
    PPEB Peb;
    PLDR_MODULE NtModule;  // ntdll
index f36d590..705f9bc 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: utils.c,v 1.70 2003/07/27 14:00:04 hbirr Exp $
+/* $Id: utils.c,v 1.71 2003/09/12 17:51:47 vizzini Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -279,7 +279,6 @@ LdrpMapKnownDll(IN PUNICODE_STRING DllName,
                OUT PHANDLE SectionHandle)
 {
   OBJECT_ATTRIBUTES ObjectAttributes;
-  UNICODE_STRING ObjectDirName;
   NTSTATUS Status;
 
   DPRINT("LdrpMapKnownDll() called\n");
@@ -803,7 +802,6 @@ LdrFixupForward(PCHAR ForwardName)
 {
    CHAR NameBuffer[128];
    UNICODE_STRING DllName;
-   UNICODE_STRING FunctionName;
    NTSTATUS Status;
    PCHAR p;
    PVOID BaseAddress;
@@ -1081,7 +1079,6 @@ static NTSTATUS LdrPerformRelocations (PIMAGE_NT_HEADERS        NTHeaders,
   NTSTATUS Status;
   PIMAGE_SECTION_HEADER Sections;
   ULONG MaxExtend;
-  ULONG LastOffset;
 
   if (NTHeaders->FileHeader.Characteristics & IMAGE_FILE_RELOCS_STRIPPED)
     {
index a088120..8693af7 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.93 2003/09/02 13:18:22 ekohl Exp $
+# $Id: makefile,v 1.94 2003/09/12 17:51:47 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -8,7 +8,7 @@ TARGET_TYPE = dynlink
 
 TARGET_NAME = ntdll
 
-TARGET_CFLAGS = -g -D__NTDLL__
+TARGET_CFLAGS = -g -D__NTDLL__ -Werror -Wall
 
 # require os code to explicitly request A/W version of structs/functions
 TARGET_CFLAGS += -D_DISABLE_TIDENTS
index 499810a..eb8c0e7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: critical.c,v 1.14 2003/08/21 22:40:18 hbirr Exp $
+/* $Id: critical.c,v 1.15 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -35,7 +35,6 @@ VOID STDCALL
 RtlEnterCriticalSection(PCRITICAL_SECTION CriticalSection)
 {
    HANDLE Thread = (HANDLE)NtCurrentTeb()->Cid.UniqueThread;
-   ULONG ret;
  
    if (InterlockedIncrement(&CriticalSection->LockCount))
      {
@@ -161,7 +160,7 @@ BOOLEAN STDCALL
 RtlTryEnterCriticalSection(PCRITICAL_SECTION CriticalSection)
 {
    if (InterlockedCompareExchange((PVOID*)&CriticalSection->LockCount, 
-                                 (PVOID)0, (PVOID)-1 ) == -1)
+                                 (PVOID)0, (PVOID)-1 ) == (PVOID)-1)
      {
        CriticalSection->OwningThread = 
          (HANDLE) NtCurrentTeb()->Cid.UniqueThread;
index 87e7350..62e00aa 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: env.c,v 1.20 2003/07/11 13:50:23 royce Exp $
+/* $Id: env.c,v 1.21 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -29,7 +29,6 @@ NTSTATUS STDCALL
 RtlCreateEnvironment(BOOLEAN Inherit,
                     PWSTR *Environment)
 {
-  MEMORY_BASIC_INFORMATION MemInfo;
   PVOID EnvPtr = NULL;
   NTSTATUS Status = STATUS_SUCCESS;
   ULONG RegionSize = PAGE_SIZE;
index cef76ad..dcde77e 100755 (executable)
@@ -1,4 +1,4 @@
-/* $Id: exception.c,v 1.5 2003/07/11 13:50:23 royce Exp $
+/* $Id: exception.c,v 1.6 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -171,7 +171,7 @@ RtlpDispatchException(IN PEXCEPTION_RECORD  ExceptionRecord,
       Context,
       &DispatcherContext,
       RegistrationFrame->handler);
-
+#ifdef DEBUG
     DPRINT("Exception handler said 0x%X\n", ReturnValue);
        DPRINT("RegistrationFrame == 0x%.08x\n", RegistrationFrame);
        {
@@ -184,7 +184,7 @@ RtlpDispatchException(IN PEXCEPTION_RECORD  ExceptionRecord,
                DPRINT("TryLevel == 0x%.08x\n", sp[5]);
                DPRINT("EBP == 0x%.08x\n", sp[6]);
        }
-
+#endif
     if (RegistrationFrame == NULL)
     {
       ExceptionRecord->ExceptionFlags &= ~EXCEPTION_NESTED_CALL;  // Turn off flag
index 3e9445d..d7f2e0e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: nls.c,v 1.14 2003/07/26 23:25:17 royce Exp $
+/* $Id: nls.c,v 1.15 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -309,7 +309,7 @@ RtlOemToUnicodeN (PWCHAR UnicodeString,
 
       for (i = 0; i < Size; i++)
        {
-         *UnicodeString = NlsOemToUnicodeTable[*OemString];
+         *UnicodeString = NlsOemToUnicodeTable[(INT)*OemString];
          UnicodeString++;
          OemString++;
        }
@@ -681,7 +681,7 @@ RtlUpperChar (IN CHAR Source)
       /* single-byte code page */
 
       /* ansi->unicode */
-      Unicode = NlsAnsiToUnicodeTable[Source];
+      Unicode = NlsAnsiToUnicodeTable[(INT)Source];
 
       /* upcase conversion */
       Unicode = RtlUpcaseUnicodeChar (Unicode);
index 0b598a0..2dd31b5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: process.c,v 1.34 2003/07/11 13:50:23 royce Exp $
+/* $Id: process.c,v 1.35 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -261,11 +261,9 @@ RtlCreateUserProcess(PUNICODE_STRING ImageFileName,
 {
    HANDLE hSection;
    NTSTATUS Status;
-   LPTHREAD_START_ROUTINE lpStartAddress = NULL;
    PROCESS_BASIC_INFORMATION ProcessBasicInfo;
    ULONG retlen;
    CHAR FileName[8];
-   ANSI_STRING ProcedureName;
    SECTION_IMAGE_INFORMATION Sii;
    ULONG ResultLength;
    PVOID ImageBaseAddress;
index e938c04..b198e81 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sd.c,v 1.11 2003/07/11 13:50:23 royce Exp $
+/* $Id: sd.c,v 1.12 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -697,7 +697,6 @@ RtlSelfRelativeToAbsoluteSD(PSECURITY_DESCRIPTOR RelSD,
                            PSID Group,
                            PDWORD GroupSize)
 {
-  ULONG TotalSize;
   ULONG OwnerLength;
   ULONG GroupLength;
   ULONG DaclLength;
index 56587d7..47e2540 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: timezone.c,v 1.5 2003/07/11 13:50:23 royce Exp $
+/* $Id: timezone.c,v 1.6 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -17,6 +17,7 @@
 
 #define NDEBUG
 #include <ntdll/ntdll.h>
+#include <ntdll/registry.h>
 
 
 /* FUNCTIONS *****************************************************************/
index 7a2e28f..7d42249 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sprintf.c,v 1.12 2003/09/02 18:19:41 hbirr Exp $
+/* $Id: sprintf.c,v 1.13 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -248,7 +248,7 @@ int _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args)
 {
        int len;
        unsigned long long num;
-       int i, base;
+       int base;
        char *str, *end;
        const char *s;
        const wchar_t *sw;
index cf876f5..c8e76e1 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: swprintf.c,v 1.14 2003/09/02 18:19:41 hbirr Exp $
+/* $Id: swprintf.c,v 1.15 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -248,7 +248,7 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args)
 {
        int len;
        unsigned long long num;
-       int i, base;
+       int base;
        wchar_t * str, * end;
        const char *s;
        const wchar_t *sw;
index 811dc5c..7bf9796 100644 (file)
+#include <msvcrt/stdlib.h>
+#include <windows.h>
 #include <ddk/ntddk.h>
 
-#define STUB(x) void x(void) { \
-                               UNICODE_STRING UnicodeString = \
-                                  UNICODE_STRING_INITIALIZER( \
-                                    L"NTDLL: Stub for "#x"\n" \
-                                  ); \
-                                NtDisplayString(&UnicodeString); }
-
-
-// ?Allocate@CBufferAllocator@@UAEPAXK@Z
-
-STUB(KiRaiseUserExceptionDispatcher)
-STUB(LdrEnumResources)
-STUB(LdrProcessRelocationBlock)
-STUB(NPXEMULATORTABLE)
-STUB(PfxFindPrefix)
-STUB(PfxInitialize)
-STUB(PfxInsertPrefix)
-STUB(PfxRemovePrefix)
-STUB(RestoreEm87Context)
-STUB(RtlWalkHeap)
-STUB(RtlZeroHeap)
-STUB(RtlpUnWaitCriticalSection)
-STUB(RtlpWaitForCriticalSection)
-STUB(SaveEm87Context)
-STUB(_CIpow)
-STUB(__eCommonExceptions)
-STUB(__eEmulatorInit)
-STUB(__eF2XM1)
-STUB(__eFABS)
-STUB(__eFADD32)
-STUB(__eFADD64)
-STUB(__eFADDPreg)
-STUB(__eFADDreg)
-STUB(__eFADDtop)
-STUB(__eFCHS)
-STUB(__eFCOM)
-STUB(__eFCOM32)
-STUB(__eFCOM64)
-STUB(__eFCOMP)
-STUB(__eFCOMP32)
-STUB(__eFCOMP64)
-STUB(__eFCOMPP)
-STUB(__eFCOS)
-STUB(__eFDECSTP)
-STUB(__eFDIV32)
-STUB(__eFDIV64)
-STUB(__eFDIVPreg)
-STUB(__eFDIVR32)
-STUB(__eFDIVR64)
-STUB(__eFDIVRPreg)
-STUB(__eFDIVRreg)
-STUB(__eFDIVRtop)
-STUB(__eFDIVreg)
-STUB(__eFDIVtop)
-STUB(__eFFREE)
-STUB(__eFIADD16)
-STUB(__eFIADD32)
-STUB(__eFICOM16)
-STUB(__eFICOM32)
-STUB(__eFICOMP16)
-STUB(__eFICOMP32)
-STUB(__eFIDIV16)
-STUB(__eFIDIV32)
-STUB(__eFIDIVR16)
-STUB(__eFIDIVR32)
-STUB(__eFILD16)
-STUB(__eFILD32)
-STUB(__eFILD64)
-STUB(__eFIMUL16)
-STUB(__eFIMUL32)
-STUB(__eFINCSTP)
-STUB(__eFINIT)
-STUB(__eFIST16)
-STUB(__eFIST32)
-STUB(__eFISTP16)
-STUB(__eFISTP32)
-STUB(__eFISTP64)
-STUB(__eFISUB16)
-STUB(__eFISUB32)
-STUB(__eFISUBR16)
-STUB(__eFISUBR32)
-STUB(__eFLD1)
-STUB(__eFLD32)
-STUB(__eFLD64)
-STUB(__eFLD80)
-STUB(__eFLDCW)
-STUB(__eFLDENV)
-STUB(__eFLDL2E)
-STUB(__eFLDLN2)
-STUB(__eFLDPI)
-STUB(__eFLDZ)
-STUB(__eFMUL32)
-STUB(__eFMUL64)
-STUB(__eFMULPreg)
-STUB(__eFMULreg)
-STUB(__eFMULtop)
-STUB(__eFPATAN)
-STUB(__eFPREM)
-STUB(__eFPREM1)
-STUB(__eFPTAN)
-STUB(__eFRNDINT)
-STUB(__eFRSTOR)
-STUB(__eFSAVE)
-STUB(__eFSCALE)
-STUB(__eFSIN)
-STUB(__eFSQRT)
-STUB(__eFST)
-STUB(__eFST32)
-STUB(__eFST64)
-STUB(__eFSTCW)
-STUB(__eFSTENV)
-STUB(__eFSTP)
-STUB(__eFSTP32)
-STUB(__eFSTP64)
-STUB(__eFSTP80)
-STUB(__eFSTSW)
-STUB(__eFSUB32)
-STUB(__eFSUB64)
-STUB(__eFSUBPreg)
-STUB(__eFSUBR32)
-STUB(__eFSUBR64)
-STUB(__eFSUBRPreg)
-STUB(__eFSUBRreg)
-STUB(__eFSUBRtop)
-STUB(__eFSUBreg)
-STUB(__eFSUBtop)
-STUB(__eFTST)
-STUB(__eFUCOM)
-STUB(__eFUCOMP)
-STUB(__eFUCOMPP)
-STUB(__eFXAM)
-STUB(__eFXCH)
-STUB(__eFXTRACT)
-STUB(__eFYL2X)
-STUB(__eFYL2XP1)
-STUB(__eGetStatusWord)
-//STUB(sscanf)
+/*
+ * @unimplemented
+ */
+PDEBUG_BUFFER STDCALL
+RtlCreateQueryDebugBuffer(IN ULONG Size,
+                         IN BOOLEAN EventPair)
+{
+  return(FALSE);
+}
 
+/*
+ * @unimplemented
+ */
+DWORD STDCALL RtlDeleteSecurityObject(DWORD x1)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL
+RtlDestroyQueryDebugBuffer(IN PDEBUG_BUFFER DebugBuffer)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlGetCallersAddress(
+       PVOID   * CallersAddress
+       )
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlInitializeGenericTable (
+       IN OUT  PRTL_GENERIC_TABLE      Table,
+       IN      PVOID                   CompareRoutine,
+       IN      PVOID                   AllocateRoutine,
+       IN      PVOID                   FreeRoutine,
+       IN      ULONG                   UserParameter
+       )
+{
+}
+
+/*
+ * @unimplemented
+ */
+PVOID
+STDCALL
+RtlInsertElementGenericTable (
+       IN OUT  PRTL_GENERIC_TABLE      Table,
+       IN      PVOID                   Element,
+       IN      ULONG                   ElementSize,
+       IN      ULONG                   Unknown4
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+BOOLEAN
+STDCALL
+RtlIsGenericTableEmpty (
+       IN      PRTL_GENERIC_TABLE      Table
+       )
+{
+  return(FALSE);
+}
+DWORD     STDCALL RtlNewSecurityObject(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+RtlNumberGenericTableElements (
+       IN      PRTL_GENERIC_TABLE      Table
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL
+RtlQueryProcessDebugInformation(IN ULONG ProcessId,
+                               IN ULONG DebugInfoClassMask,
+                               IN OUT PDEBUG_BUFFER DebugBuffer)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlWalkHeap( HANDLE heap, PVOID entry_ptr )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlpUnWaitCriticalSection(RTL_CRITICAL_SECTION *crit)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlpWaitForCriticalSection(RTL_CRITICAL_SECTION *crit)
+{
+  return(FALSE);
+}
+int sscanf(const char* szReadFrom, const char* szFormat, ...)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL LdrLockLoaderLock(ULONG flags, ULONG *result, ULONG *magic)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL LdrUnlockLoaderLock(ULONG flags, ULONG magic)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL NtPowerInformation(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlAddAccessAllowedAceEx(
+       IN OUT PACL pAcl,
+       IN DWORD dwAceRevision,
+       IN DWORD AceFlags,
+       IN DWORD AccessMask,
+       IN PSID pSid)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlAddAccessDeniedAceEx(
+       IN OUT PACL pAcl,
+       IN DWORD dwAceRevision,
+       IN DWORD AceFlags,
+       IN DWORD AccessMask,
+       IN PSID pSid)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlCaptureContext (
+    PCONTEXT ContextRecord
+    )
+{
+}
+
+/*
+ * @unimplemented
+ */
+DWORD     STDCALL RtlComputeCrc32(DWORD dwInitial, PBYTE pData, INT iLen)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+WCHAR     STDCALL RtlDowncaseUnicodeChar(WCHAR wch)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlDuplicateUnicodeString(
+    int add_nul,
+    const UNICODE_STRING *source,
+    UNICODE_STRING *destination)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlFindCharInUnicodeString(
+    int flags,
+    const UNICODE_STRING *main_str,
+    const UNICODE_STRING *search_chars,
+    USHORT *pos)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG     STDCALL RtlFindClearRuns(PCRTL_BITMAP lpBits, PRTL_BITMAP_RUN lpSeries,
+                              ULONG ulCount, BOOLEAN bLongest)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG     STDCALL RtlFindLastBackwardRunClear(PCRTL_BITMAP lpBits, ULONG ulStart, PULONG lpPos)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+CCHAR     STDCALL RtlFindLeastSignificantBit(ULONGLONG ulLong)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+CCHAR     STDCALL RtlFindMostSignificantBit(ULONGLONG ulLong)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG     STDCALL RtlFindNextForwardRunClear(PCRTL_BITMAP lpBits, ULONG ulStart, PULONG lpPos)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlInitUnicodeStringEx(PUNICODE_STRING target,PCWSTR source)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlInitializeCriticalSectionAndSpinCount(RTL_CRITICAL_SECTION *crit, DWORD spincount)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS  STDCALL RtlInt64ToUnicodeString(ULONGLONG value,ULONG base,UNICODE_STRING *str)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONGLONG
+STDCALL
+VerSetConditionMask(
+        ULONGLONG   ConditionMask,
+        DWORD   TypeMask,
+        BYTE    Condition
+        )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL ZwPowerInformation(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+double __cdecl _CIpow(double x,double y)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+void  *_lfind(const void* match, const void* start,unsigned int* array_size, unsigned int elem_size,int (*cf)(const void*,const void*))
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+LPSTR __cdecl _ui64toa(
+    ULONGLONG value,
+    LPSTR str,
+    INT radix)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+LPWSTR __cdecl _ui64tow(
+    ULONGLONG value,
+    LPWSTR str,
+    INT radix)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+void* bsearch(const void* pKey, const void* pBase, size_t cntObjects, size_t sizeObject, _pfunccmp_t pfuncCmp)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL LdrFlushAlternateResourceModules(VOID)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL LdrAlternateResourcesEnabled(VOID)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+__cdecl
+DbgPrintEx(
+    IN ULONG ComponentId,
+    IN ULONG Level,
+    IN PCH Format,
+    ...
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+__cdecl
+DbgPrintReturnControlC(
+    PCH Format,
+    ...
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+DbgQueryDebugFilterState(
+    IN ULONG ComponentId,
+    IN ULONG Level
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+DbgSetDebugFilterState(
+    IN ULONG ComponentId,
+    IN ULONG Level,
+    IN BOOL State
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtCancelDeviceWakeupRequest(
+    IN HANDLE Device
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtCompactKeys(
+    IN ULONG Count,
+    IN HANDLE KeyArray[]
+            )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtCompressKey(
+    IN HANDLE Key
+            )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtGetDevicePowerState(
+    IN HANDLE Device,
+    OUT DEVICE_POWER_STATE *State
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtInitiatePowerAction(
+    IN POWER_ACTION SystemAction,
+    IN SYSTEM_POWER_STATE MinSystemState,
+    IN ULONG Flags,
+    IN BOOL Asynchronous
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+NtIsSystemResumeAutomatic(
+    VOID
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtLockProductActivationKeys(
+    ULONG   *pPrivateVer,
+    ULONG   *pIsSafeMode
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtLockRegistryKey(
+    IN HANDLE           KeyHandle
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtNotifyChangeMultipleKeys(
+    IN HANDLE MasterKeyHandle,                 
+    IN ULONG Count,
+    IN OBJECT_ATTRIBUTES SlaveObjects[],
+    IN HANDLE Event OPTIONAL,
+    IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
+    IN PVOID ApcContext OPTIONAL,
+    OUT PIO_STATUS_BLOCK IoStatusBlock,
+    IN ULONG CompletionFilter,
+    IN BOOL WatchTree,
+    OUT PVOID Buffer,
+    IN ULONG BufferSize,
+    IN BOOL Asynchronous
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtQueryOpenSubKeys(
+    IN POBJECT_ATTRIBUTES TargetKey,
+    OUT PULONG  HandleCount
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtRenameKey(
+    IN HANDLE           KeyHandle,
+    IN PUNICODE_STRING  NewName
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtRequestDeviceWakeup(
+    IN HANDLE Device
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtRequestWakeupLatency(
+    IN LATENCY_TIME latency
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtSaveKeyEx(
+    IN HANDLE KeyHandle,
+    IN HANDLE FileHandle,
+    IN ULONG  Format
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtSaveMergedKeys(
+    IN HANDLE HighPrecedenceKeyHandle,
+    IN HANDLE LowPrecedenceKeyHandle,
+    IN HANDLE FileHandle
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtSetThreadExecutionState(
+    IN EXECUTION_STATE esFlags,
+    OUT EXECUTION_STATE *PreviousFlags
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtUnloadKeyEx(
+    IN POBJECT_ATTRIBUTES TargetKey,
+    IN HANDLE Event OPTIONAL
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlAddRange(
+    IN OUT PRTL_RANGE_LIST RangeList,
+    IN ULONGLONG Start,
+    IN ULONGLONG End,
+    IN UCHAR Attributes,
+    IN ULONG Flags,
+    IN PVOID UserData,  OPTIONAL
+    IN PVOID Owner      OPTIONAL
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlCopyRangeList(
+    OUT PRTL_RANGE_LIST CopyRangeList,
+    IN PRTL_RANGE_LIST RangeList
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlDeleteOwnersRanges(
+    IN OUT PRTL_RANGE_LIST RangeList,
+    IN PVOID Owner
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlDeleteRange(
+    IN OUT PRTL_RANGE_LIST RangeList,
+    IN ULONGLONG Start,
+    IN ULONGLONG End,
+    IN PVOID Owner
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlFindRange(
+    IN PRTL_RANGE_LIST RangeList,
+    IN ULONGLONG Minimum,
+    IN ULONGLONG Maximum,
+    IN ULONG Length,
+    IN ULONG Alignment,
+    IN ULONG Flags,
+    IN UCHAR AttributeAvailableMask,
+    IN PVOID Context OPTIONAL,
+    IN PRTL_CONFLICT_RANGE_CALLBACK Callback OPTIONAL,
+    OUT PULONGLONG Start
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlFreeRangeList(
+    IN PRTL_RANGE_LIST RangeList
+    )
+{
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlGUIDFromString(
+    IN PUNICODE_STRING GuidString,
+    OUT GUID* Guid
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlGetFirstRange(
+    IN PRTL_RANGE_LIST RangeList,
+    OUT PRTL_RANGE_LIST_ITERATOR Iterator,
+    OUT PRTL_RANGE *Range
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlGetNextRange(
+    IN OUT PRTL_RANGE_LIST_ITERATOR Iterator,
+    OUT PRTL_RANGE *Range,
+    IN BOOL MoveForwards
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlGetVersion(
+    OUT PRTL_OSVERSIONINFOW lpVersionInformation
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlHashUnicodeString(
+    IN const UNICODE_STRING *String,
+    IN BOOL CaseInSensitive,
+    IN ULONG HashAlgorithm,
+    OUT PULONG HashValue
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlInitializeRangeList(
+    IN OUT PRTL_RANGE_LIST RangeList
+    )
+{
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlInvertRangeList(
+    OUT PRTL_RANGE_LIST InvertedRangeList,
+    IN PRTL_RANGE_LIST RangeList
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlIsRangeAvailable(
+    IN PRTL_RANGE_LIST RangeList,
+    IN ULONGLONG Start,
+    IN ULONGLONG End,
+    IN ULONG Flags,
+    IN UCHAR AttributeAvailableMask,
+    IN PVOID Context OPTIONAL,
+    IN PRTL_CONFLICT_RANGE_CALLBACK Callback OPTIONAL,
+    OUT PBOOL Available
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlMergeRangeLists(
+    OUT PRTL_RANGE_LIST MergedRangeList,
+    IN PRTL_RANGE_LIST RangeList1,
+    IN PRTL_RANGE_LIST RangeList2,
+    IN ULONG Flags
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlStringFromGUID(
+    IN REFGUID Guid,
+    OUT PUNICODE_STRING GuidString
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+USHORT
+FASTCALL
+RtlUshortByteSwap(
+    IN USHORT Source
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+FASTCALL
+RtlUlongByteSwap(
+    IN ULONG Source
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONGLONG
+FASTCALL
+RtlUlonglongByteSwap(
+    IN ULONGLONG Source
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+RtlValidRelativeSecurityDescriptor (
+    IN PSECURITY_DESCRIPTOR SecurityDescriptorInput,
+    IN ULONG SecurityDescriptorLength,
+    IN SECURITY_INFORMATION RequiredInformation
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlVerifyVersionInfo(
+    IN PRTL_OSVERSIONINFOEXW VersionInfo,
+    IN ULONG TypeMask,
+    IN ULONGLONG  ConditionMask
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+RtlWalkFrameChain (
+    OUT PVOID *Callers,
+    IN ULONG Count,
+    IN ULONG Flags
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+vDbgPrintEx(
+    IN ULONG ComponentId,
+    IN ULONG Level,
+    IN PCH Format,
+    va_list arglist
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+vDbgPrintExWithPrefix(
+    IN PCH Prefix,
+    IN ULONG ComponentId,
+    IN ULONG Level,
+    IN PCH Format,
+    va_list arglist
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwCancelDeviceWakeupRequest(
+    IN HANDLE Device
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwCompactKeys(
+    IN ULONG Count,
+    IN HANDLE KeyArray[]
+            )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwCompressKey(
+    IN HANDLE Key
+            )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwGetDevicePowerState(
+    IN HANDLE Device,
+    OUT DEVICE_POWER_STATE *State
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwInitiatePowerAction(
+    IN POWER_ACTION SystemAction,
+    IN SYSTEM_POWER_STATE MinSystemState,
+    IN ULONG Flags,
+    IN BOOL Asynchronous
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+ZwIsSystemResumeAutomatic(
+    VOID
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwLockProductActivationKeys(
+    ULONG   *pPrivateVer,
+    ULONG   *pIsSafeMode
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwLockRegistryKey(
+    IN HANDLE           KeyHandle
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwNotifyChangeMultipleKeys(
+    IN HANDLE MasterKeyHandle,                 
+    IN ULONG Count,
+    IN OBJECT_ATTRIBUTES SlaveObjects[],
+    IN HANDLE Event OPTIONAL,
+    IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
+    IN PVOID ApcContext OPTIONAL,
+    OUT PIO_STATUS_BLOCK IoStatusBlock,
+    IN ULONG CompletionFilter,
+    IN BOOL WatchTree,
+    OUT PVOID Buffer,
+    IN ULONG BufferSize,
+    IN BOOL Asynchronous
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwQueryOpenSubKeys(
+    IN POBJECT_ATTRIBUTES TargetKey,
+    OUT PULONG  HandleCount
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwRenameKey(
+    IN HANDLE           KeyHandle,
+    IN PUNICODE_STRING  NewName
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwRequestDeviceWakeup(
+    IN HANDLE Device
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwRequestWakeupLatency(
+    IN LATENCY_TIME latency
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwSaveKeyEx(
+    IN HANDLE KeyHandle,
+    IN HANDLE FileHandle,
+    IN ULONG  Format
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwSaveMergedKeys(
+    IN HANDLE HighPrecedenceKeyHandle,
+    IN HANDLE LowPrecedenceKeyHandle,
+    IN HANDLE FileHandle
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwSetThreadExecutionState(
+    IN EXECUTION_STATE esFlags,
+    OUT EXECUTION_STATE *PreviousFlags
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwUnloadKeyEx(
+    IN POBJECT_ATTRIBUTES TargetKey,
+    IN HANDLE Event OPTIONAL
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL DbgUiDebugActiveProcess(HANDLE process)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS STDCALL DbgUiStopDebugging(HANDLE process)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlInitializeSListHead (
+    PSLIST_HEADER ListHead
+    )
+{
+}
+
+/*
+ * @unimplemented
+ */
+PSLIST_ENTRY
+STDCALL
+RtlInterlockedFlushSList (
+    PSLIST_HEADER ListHead
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PSLIST_ENTRY
+STDCALL
+RtlInterlockedPopEntrySList (
+    PSLIST_HEADER ListHead
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PSLIST_ENTRY
+STDCALL
+RtlInterlockedPushEntrySList (
+    PSLIST_HEADER ListHead,
+    PSLIST_ENTRY ListEntry
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+USHORT
+STDCALL
+RtlQueryDepthSList (
+    PSLIST_HEADER ListHead
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlCreateTimer(HANDLE TimerQueue,PHANDLE phNewTimer, WAITORTIMERCALLBACK Callback,PVOID Parameter,DWORD DueTime,DWORD Period,ULONG Flags)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlCreateTimerQueue(PHANDLE TimerQueue)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlDeleteTimer(HANDLE TimerQueue,HANDLE Timer,HANDLE CompletionEvent)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlUpdateTimer(HANDLE TimerQueue,HANDLE Timer,ULONG DueTime,ULONG Period)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlDeleteTimerQueueEx(HANDLE TimerQueue,HANDLE CompletionEvent)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlDeleteTimerQueue(HANDLE TimerQueue)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlRegisterWait(PHANDLE hOutput, HANDLE hObject,WAITORTIMERCALLBACK Callback,PVOID Context,ULONG dwMilliseconds,ULONG dwFlags)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlDeregisterWait(
+    HANDLE WaitHandle
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlDeregisterWaitEx(
+    HANDLE WaitHandle,
+    HANDLE CompletionEvent
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlSetHeapInformation(
+    HANDLE HeapHandle,
+    HEAP_INFORMATION_CLASS HeapInformationClass,
+    PVOID HeapInformation OPTIONAL,
+    SIZE_T HeapInformationLength OPTIONAL
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlQueryHeapInformation(
+    HANDLE HeapHandle, 
+    HEAP_INFORMATION_CLASS HeapInformationClass,
+    PVOID HeapInformation OPTIONAL,
+    SIZE_T HeapInformationLength OPTIONAL,
+    PSIZE_T ReturnLength OPTIONAL
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtCreateJobSet(
+    ULONG NumJob,
+    PJOB_SET_ARRAY UserJobSet,
+    ULONG Flags)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwCreateJobSet(
+    ULONG NumJob,
+    PJOB_SET_ARRAY UserJobSet,
+    ULONG Flags)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlReleaseActivationContext(
+    HANDLE hActCtx
+    )
+{
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlQueryInformationActivationContext(
+    DWORD dwFlags,
+    HANDLE hActCtx,
+    PVOID pvSubInstance,
+    ULONG ulInfoClass,
+    PVOID pvBuffer,
+    SIZE_T cbBuffer OPTIONAL,
+    SIZE_T *pcbWrittenOrRequired OPTIONAL
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlAddRefActivationContext(
+    HANDLE hActCtx
+    )
+{
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlGetActiveActivationContext(
+    HANDLE *lphActCtx)
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlZombifyActivationContext(
+    HANDLE hActCtx
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlDeactivateActivationContext(
+    DWORD dwFlags,
+    ULONG_PTR ulCookie
+    )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG 
+STDCALL
+RtlCreateTagHeap(      
+       IN HANDLE HeapHandle,
+       IN ULONG Flags,
+       IN PCWSTR TagName,
+       IN PCWSTR TagSubName
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PRTL_SPLAY_LINKS
+STDCALL
+RtlDelete(
+       IN PRTL_SPLAY_LINKS Links
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+BOOLEAN
+STDCALL
+RtlDeleteElementGenericTable(
+       IN PRTL_GENERIC_TABLE Table,
+       IN PVOID Buffer
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlDeleteNoSplay(
+       IN PRTL_SPLAY_LINKS Links,
+       OUT PRTL_SPLAY_LINKS *Root
+       )
+{
+}
+
+/*
+ * @unimplemented
+ */
+PVOID
+STDCALL
+RtlEnumerateGenericTable(
+       IN PRTL_GENERIC_TABLE Table,
+       IN BOOLEAN Restart
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PVOID
+STDCALL
+RtlEnumerateGenericTableWithoutSplaying(
+       IN PRTL_GENERIC_TABLE Table,
+       IN PVOID *RestartKey
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlGetElementGenericTable(
+       IN PRTL_GENERIC_TABLE Table,
+       IN ULONG I
+       )
+{
+}
+
+/*
+ * @unimplemented
+ */
+PVOID
+STDCALL
+RtlLookupElementGenericTable(
+       IN PRTL_GENERIC_TABLE Table,
+       IN PVOID Buffer
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PVOID
+STDCALL
+RtlProtectHeap(
+       IN HANDLE Heap,
+       IN BOOLEAN ReadOnly
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PCWSTR 
+STDCALL
+RtlQueryTagHeap(
+       IN HANDLE HeapHandle,
+       IN ULONG Flags,
+       IN USHORT TagNumber,
+       IN BOOLEAN ZeroInternalTagInfo,
+       OUT PRTL_HEAP_TAG_INFO HeapTagInfo OPTIONAL
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PRTL_SPLAY_LINKS
+STDCALL
+RtlRealPredecessor(
+       IN PRTL_SPLAY_LINKS Links
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PRTL_SPLAY_LINKS
+STDCALL
+RtlRealSuccessor(
+       IN PRTL_SPLAY_LINKS Links
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PRTL_SPLAY_LINKS
+STDCALL
+RtlSplay(
+       IN PRTL_SPLAY_LINKS Links
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtAccessCheckByType(
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN HANDLE TokenHandle,
+       IN ULONG DesiredAccess,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN PPRIVILEGE_SET PrivilegeSet,
+       IN PULONG PrivilegeSetLength,
+       OUT PACCESS_MASK GrantedAccess,
+       OUT PULONG AccessStatus
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtAccessCheckByTypeAndAuditAlarm(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccess,
+       OUT PULONG AccessStatus,
+       OUT PBOOLEAN GenerateOnClose
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtAccessCheckByTypeResultList(
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN HANDLE TokenHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN PPRIVILEGE_SET PrivilegeSet,
+       IN PULONG PrivilegeSetLength,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtAccessCheckByTypeResultListAndAuditAlarm(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList,
+       OUT PULONG GenerateOnClose
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtAccessCheckByTypeResultListAndAuditAlarmByHandle(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN HANDLE TokenHandle,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList,
+       OUT PULONG GenerateOnClose
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtAllocateUserPhysicalPages(
+       IN HANDLE ProcessHandle,
+       IN PULONG NumberOfPages,
+       OUT PULONG PageFrameNumbers
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtAreMappedFilesTheSame(
+       IN PVOID Address1,
+       IN PVOID Address2
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtCreateJobObject(
+       OUT PHANDLE JobHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtCreateKeyedEvent(
+       OUT PHANDLE KeyedEventHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes,
+       ULONG Reserved
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtFilterToken(
+       IN HANDLE ExistingTokenHandle,
+       IN ULONG Flags,
+       IN PTOKEN_GROUPS SidsToDisable,
+       IN PTOKEN_PRIVILEGES PrivilegesToDelete,
+       IN PTOKEN_GROUPS SidsToRestricted,
+       OUT PHANDLE NewTokenHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtFreeUserPhysicalPages(
+       IN HANDLE ProcessHandle,
+       IN OUT PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtGetWriteWatch(
+       IN HANDLE ProcessHandle,
+       IN ULONG Flags,
+       IN PVOID BaseAddress,
+       IN ULONG RegionSize,
+       OUT PULONG Buffer,
+       IN OUT PULONG BufferEntries,
+       OUT PULONG Granularity
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtImpersonateAnonymousToken(
+       IN HANDLE ThreadHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtIsProcessInJob(
+       IN HANDLE JobHandle,
+       IN HANDLE ProcessHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtMakePermanentObject(
+       IN HANDLE Object
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtMapUserPhysicalPages(
+       IN PVOID BaseAddress,
+       IN PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtMapUserPhysicalPagesScatter(
+       IN PVOID *BaseAddresses,
+       IN PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtOpenJobObject(
+       OUT PHANDLE JobHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtOpenKeyedEvent(
+       OUT PHANDLE KeyedEventHandle,
+       IN PACCESS_MASK DesiredAccess,
+       IN PUNICODE_STRING KeyedEventName
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtOpenProcessTokenEx(
+       IN HANDLE ProcessHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN ULONG HandleAttributes,
+       OUT PHANDLE TokenHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtOpenThreadTokenEx(
+       IN HANDLE ThreadHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN BOOLEAN OpenAsSelf,
+       IN ULONG HandleAttributes,
+       OUT PHANDLE TokenHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtQueryDefaultUILanguage(
+       OUT PLANGID LanguageId
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtQueryInformationJobObject(
+       IN HANDLE JobHandle,
+       IN JOBOBJECTINFOCLASS JobInformationClass,
+       OUT PVOID JobInformation,
+       IN ULONG JobInformationLength,
+       OUT PULONG ReturnLength OPTIONAL
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtQueryInstallUILanguage(
+       OUT PLANGID LanguageId
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+NtQueryPortInformationProcess(
+       VOID
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtReleaseKeyedEvent(
+       IN HANDLE KeyedEventHandle,
+       IN ULONG Requested,
+       IN BOOLEAN Alertable,
+       IN PLARGE_INTEGER Timeout OPTIONAL
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtReplyWaitReceivePortEx(
+       IN HANDLE PortHandle,
+       OUT PULONG PortIdentifier OPTIONAL,
+       IN PPORT_MESSAGE ReplyMessage OPTIONAL,
+       OUT PPORT_MESSAGE Message,
+       IN PLARGE_INTEGER Timeout
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtResetWriteWatch(
+       IN HANDLE ProcessHandle,
+       IN PVOID BaseAddress,
+       IN ULONG RegionSize
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtResumeProcess(
+       IN HANDLE Process
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtSecureConnectPort(
+       OUT PHANDLE PortHandle,
+       IN PUNICODE_STRING PortName,
+       IN PSECURITY_QUALITY_OF_SERVICE SecurityQos,
+       IN OUT PPORT_SECTION_WRITE WriteSection OPTIONAL,
+       IN PSID ServerSid OPTIONAL,
+       IN OUT PPORT_SECTION_READ ReadSection OPTIONAL,
+       OUT PULONG MaxMessageSize OPTIONAL,
+       IN OUT PVOID ConnectData OPTIONAL,
+       IN OUT PULONG ConnectDataLength OPTIONAL
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtSetDefaultUILanguage(
+       IN LANGID LanguageId
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtSetInformationJobObject(
+       IN HANDLE JobHandle,
+       IN JOBOBJECTINFOCLASS JobInformationClass,
+       IN PVOID JobInformation,
+       IN ULONG JobInformationLength
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtSetQuotaInformationFile(
+       IN HANDLE FileHandle,
+       OUT PIO_STATUS_BLOCK IoStatusBlock,
+       IN PFILE_USER_QUOTA_INFORMATION Buffer,
+       IN ULONG BufferLength
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtSetUuidSeed(
+       IN PUCHAR UuidSeed
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtSuspendProcess(
+       IN HANDLE Process
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtTerminateJobObject(
+       IN HANDLE JobHandle,
+       IN NTSTATUS ExitStatus
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+NtWaitForKeyedEvent(
+       IN HANDLE KeyedEventHandle,
+       IN ULONG Requested,
+       IN BOOLEAN Alertable,
+       IN PLARGE_INTEGER Timeout OPTIONAL
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+BOOLEAN
+STDCALL
+RtlDllShutdownInProgress(
+       VOID
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+PPEB
+STDCALL
+RtlGetCurrentPeb(
+       VOID
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlGetLastNtStatus(
+       VOID
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+RtlGetLastWin32Error(
+       VOID
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlGetNativeSystemInformation(
+       IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
+       IN OUT PVOID SystemInformation,
+       IN ULONG SystemInformationLength,
+       OUT PULONG ReturnLength OPTIONAL
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+USHORT
+STDCALL
+RtlLogStackBackTrace(
+       VOID
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlQueueWorkItem(
+       LPTHREAD_START_ROUTINE Function,
+       PVOID Context,
+       ULONG Flags
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlRestoreLastWin32Error(
+       IN ULONG Win32Error
+       )
+{
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+RtlSetCriticalSectionSpinCount(
+   IN PRTL_CRITICAL_SECTION CriticalSection
+   )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+RtlSetIoCompletionCallback(
+       IN HANDLE FileHandle,
+       IN POVERLAPPED_COMPLETION_ROUTINE CompletionRoutine,
+       IN ULONG Flags
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlSetLastWin32Error(
+       IN ULONG Win32Error
+       )
+{
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+STDCALL
+RtlSetLastWin32ErrorAndNtStatusFromNtStatus(
+       IN NTSTATUS NtStatus
+       )
+{
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwAccessCheckByType(
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN HANDLE TokenHandle,
+       IN ULONG DesiredAccess,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN PPRIVILEGE_SET PrivilegeSet,
+       IN PULONG PrivilegeSetLength,
+       OUT PACCESS_MASK GrantedAccess,
+       OUT PULONG AccessStatus
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwAccessCheckByTypeAndAuditAlarm(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccess,
+       OUT PULONG AccessStatus,
+       OUT PBOOLEAN GenerateOnClose
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwAccessCheckByTypeResultList(
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN HANDLE TokenHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN PPRIVILEGE_SET PrivilegeSet,
+       IN PULONG PrivilegeSetLength,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwAccessCheckByTypeResultListAndAuditAlarm(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList,
+       OUT PULONG GenerateOnClose
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwAccessCheckByTypeResultListAndAuditAlarmByHandle(
+       IN PUNICODE_STRING SubsystemName,
+       IN PVOID HandleId,
+       IN HANDLE TokenHandle,
+       IN PUNICODE_STRING ObjectTypeName,
+       IN PUNICODE_STRING ObjectName,
+       IN PSECURITY_DESCRIPTOR SecurityDescriptor,
+       IN PSID PrincipalSelfSid,
+       IN ACCESS_MASK DesiredAccess,
+       IN AUDIT_EVENT_TYPE AuditType,
+       IN ULONG Flags,
+       IN POBJECT_TYPE_LIST ObjectTypeList,
+       IN ULONG ObjectTypeListLength,
+       IN PGENERIC_MAPPING GenericMapping,
+       IN BOOLEAN ObjectCreation,
+       OUT PACCESS_MASK GrantedAccessList,
+       OUT PULONG AccessStatusList,
+       OUT PULONG GenerateOnClose
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwAllocateUserPhysicalPages(
+       IN HANDLE ProcessHandle,
+       IN PULONG NumberOfPages,
+       OUT PULONG PageFrameNumbers
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwAreMappedFilesTheSame(
+       IN PVOID Address1,
+       IN PVOID Address2
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwAssignProcessToJobObject(
+       IN HANDLE JobHandle,
+       IN HANDLE ProcessHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwCreateJobObject(
+       OUT PHANDLE JobHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwCreateKeyedEvent(
+       OUT PHANDLE KeyedEventHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes,
+       ULONG Reserved
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwFilterToken(
+       IN HANDLE ExistingTokenHandle,
+       IN ULONG Flags,
+       IN PTOKEN_GROUPS SidsToDisable,
+       IN PTOKEN_PRIVILEGES PrivilegesToDelete,
+       IN PTOKEN_GROUPS SidsToRestricted,
+       OUT PHANDLE NewTokenHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwFreeUserPhysicalPages(
+       IN HANDLE ProcessHandle,
+       IN OUT PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwGetWriteWatch(
+       IN HANDLE ProcessHandle,
+       IN ULONG Flags,
+       IN PVOID BaseAddress,
+       IN ULONG RegionSize,
+       OUT PULONG Buffer,
+       IN OUT PULONG BufferEntries,
+       OUT PULONG Granularity
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwImpersonateAnonymousToken(
+       IN HANDLE ThreadHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwIsProcessInJob(
+       IN HANDLE JobHandle,
+       IN HANDLE ProcessHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwMakePermanentObject(
+       IN HANDLE Object
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwMapUserPhysicalPages(
+       IN PVOID BaseAddress,
+       IN PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwMapUserPhysicalPagesScatter(
+       IN PVOID *BaseAddresses,
+       IN PULONG NumberOfPages,
+       IN PULONG PageFrameNumbers
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwOpenJobObject(
+       OUT PHANDLE JobHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN POBJECT_ATTRIBUTES ObjectAttributes
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwOpenKeyedEvent(
+       OUT PHANDLE KeyedEventHandle,
+       IN PACCESS_MASK DesiredAccess,
+       IN PUNICODE_STRING KeyedEventName
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwOpenProcessTokenEx(
+       IN HANDLE ProcessHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN ULONG HandleAttributes,
+       OUT PHANDLE TokenHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwOpenThreadTokenEx(
+       IN HANDLE ThreadHandle,
+       IN ACCESS_MASK DesiredAccess,
+       IN BOOLEAN OpenAsSelf,
+       IN ULONG HandleAttributes,
+       OUT PHANDLE TokenHandle
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwQueryDefaultUILanguage(
+       OUT PLANGID LanguageId
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwQueryInformationJobObject(
+       IN HANDLE JobHandle,
+       IN JOBOBJECTINFOCLASS JobInformationClass,
+       OUT PVOID JobInformation,
+       IN ULONG JobInformationLength,
+       OUT PULONG ReturnLength OPTIONAL
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwQueryInstallUILanguage(
+       OUT PLANGID LanguageId
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+STDCALL
+ZwQueryPortInformationProcess(
+       VOID
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwQueryQuotaInformationFile(
+       IN HANDLE FileHandle,
+       OUT PIO_STATUS_BLOCK IoStatusBlock,
+       OUT PFILE_USER_QUOTA_INFORMATION Buffer,
+       IN ULONG BufferLength,
+       IN BOOLEAN ReturnSingleEntry,
+       IN PFILE_QUOTA_LIST_INFORMATION QuotaList OPTIONAL,
+       IN ULONG QuotaListLength,
+       IN PSID ResumeSid OPTIONAL,
+       IN BOOLEAN RestartScan
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwReleaseKeyedEvent(
+       IN HANDLE KeyedEventHandle,
+       IN ULONG Requested,
+       IN BOOLEAN Alertable,
+       IN PLARGE_INTEGER Timeout OPTIONAL
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwReplyWaitReceivePortEx(
+       IN HANDLE PortHandle,
+       OUT PULONG PortIdentifier OPTIONAL,
+       IN PPORT_MESSAGE ReplyMessage OPTIONAL,
+       OUT PPORT_MESSAGE Message,
+       IN PLARGE_INTEGER Timeout
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwResetWriteWatch(
+       IN HANDLE ProcessHandle,
+       IN PVOID BaseAddress,
+       IN ULONG RegionSize
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwResumeProcess(
+       IN HANDLE Process
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwSecureConnectPort(
+       OUT PHANDLE PortHandle,
+       IN PUNICODE_STRING PortName,
+       IN PSECURITY_QUALITY_OF_SERVICE SecurityQos,
+       IN OUT PPORT_SECTION_WRITE WriteSection OPTIONAL,
+       IN PSID ServerSid OPTIONAL,
+       IN OUT PPORT_SECTION_READ ReadSection OPTIONAL,
+       OUT PULONG MaxMessageSize OPTIONAL,
+       IN OUT PVOID ConnectData OPTIONAL,
+       IN OUT PULONG ConnectDataLength OPTIONAL
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwSetDefaultUILanguage(
+       IN LANGID LanguageId
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwSetInformationJobObject(
+       IN HANDLE JobHandle,
+       IN JOBOBJECTINFOCLASS JobInformationClass,
+       IN PVOID JobInformation,
+       IN ULONG JobInformationLength
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwSetQuotaInformationFile(
+       IN HANDLE FileHandle,
+       OUT PIO_STATUS_BLOCK IoStatusBlock,
+       IN PFILE_USER_QUOTA_INFORMATION Buffer,
+       IN ULONG BufferLength
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwSetUuidSeed(
+       IN PUCHAR UuidSeed
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwSuspendProcess(
+       IN HANDLE Process
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwTerminateJobObject(
+       IN HANDLE JobHandle,
+       IN NTSTATUS ExitStatus
+       )
+{
+  return(FALSE);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+STDCALL
+ZwWaitForKeyedEvent(
+       IN HANDLE KeyedEventHandle,
+       IN ULONG Requested,
+       IN BOOLEAN Alertable,
+       IN PLARGE_INTEGER Timeout OPTIONAL
+       )
+{
+  return(FALSE);
+}
index 7bae56f..2e356b5 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.8 2003/08/07 04:03:23 royce Exp $
+# $Id: makefile,v 1.9 2003/09/12 17:51:48 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -8,7 +8,7 @@ TARGET_NAME = psapi
 
 TARGET_SDKLIBS = epsapi.a ntdll.a kernel32.a
 
-TARGET_CFLAGS = -I./include
+TARGET_CFLAGS = -I./include -Wall -Werror
 
 # require os code to explicitly request A/W version of structs/functions
 TARGET_CFLAGS += -D_DISABLE_TIDENTS
index b80b95e..091d708 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.3 2003/08/22 23:36:27 sedwards Exp $
+# $Id: Makefile,v 1.4 2003/09/12 17:51:48 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -7,7 +7,7 @@ TARGET_TYPE = dynlink
 TARGET_NAME = twain_32
 
 # require os code to explicitly request A/W version of structs/functions
-TARGET_CFLAGS += -D_DISABLE_TIDENTS
+TARGET_CFLAGS += -D_DISABLE_TIDENTS -Wall -Werror
 
 TARGET_BASE=0x76380000
 
index 00a4051..bee2878 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stubs.c,v 1.42 2003/09/08 09:56:57 weiden Exp $
+/* $Id: stubs.c,v 1.43 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:       See COPYING WINBOOLthe top level directory
  * PROJECT:         ReactOS user32.dll
@@ -1595,3 +1595,101 @@ SendIMEMessageExA(HWND hwnd, LPARAM lparam)
   UNIMPLEMENTED;
   return FALSE;
 }
+
+/*
+ * @unimplemented
+ */
+int
+STDCALL
+MessageBoxTimeoutW(
+    HWND hWnd,
+    LPCWSTR lpText,
+    LPCWSTR lpCaption,
+    UINT uType,
+    WORD wLanguageId,
+    DWORD dwTime)
+{
+  UNIMPLEMENTED;
+  return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+int
+STDCALL
+MessageBoxTimeoutA(
+    HWND hWnd,
+    LPCSTR lpText,
+    LPCSTR lpCaption,
+    UINT uType,
+    WORD wLanguageId,
+    DWORD dwTime)
+{
+  UNIMPLEMENTED;
+  return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL DisplayExitWindowsWarnings(ULONG flags)
+{
+  UNIMPLEMENTED;
+  return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL ReasonCodeNeedsBugID(ULONG reasoncode)
+{
+  UNIMPLEMENTED;
+  return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL ReasonCodeNeedsComment(ULONG reasoncode)
+{
+  UNIMPLEMENTED;
+  return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL CtxInitUser32(VOID)
+{
+  UNIMPLEMENTED;
+  return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL EnterReaderModeHelper(HWND hwnd)
+{
+  UNIMPLEMENTED;
+  return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD
+STDCALL
+GetAppCompatFlags2(HTASK hTask)
+{
+  UNIMPLEMENTED;
+  return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+VOID STDCALL InitializeLpkHooks(FARPROC *hookfuncs)
+{
+  UNIMPLEMENTED;
+}
index 2937f8f..99f38d9 100644 (file)
@@ -103,7 +103,7 @@ CreateWindowExW@48
 CreateWindowStationA@16
 CreateWindowStationW@16
 CsrBroadcastSystemMessageExW@24
-;CtxInitUser32
+CtxInitUser32@0
 DdeAbandonTransaction@12
 DdeAccessData@8
 DdeAddData@16
@@ -165,7 +165,7 @@ DialogBoxParamW@20
 DisableProcessWindowsGhosting@0
 DispatchMessageA@4
 DispatchMessageW@4
-;DisplayExitWindowsWarnings
+DisplayExitWindowsWarnings@4
 DlgDirListA@20
 DlgDirListComboBoxA@20
 DlgDirListComboBoxW@20
@@ -204,7 +204,7 @@ EndDialog@8
 EndMenu@0
 EndPaint@8
 EndTask@12
-;EnterReaderModeHelper
+EnterReaderModeHelper@4
 EnumChildWindows@12
 EnumClipboardFormats@4
 EnumDesktopWindows@12
@@ -244,7 +244,7 @@ GetAltTabInfoA@20
 GetAltTabInfoW@20
 GetAncestor@8
 GetAppCompatFlags@4
-;GetAppCompatFlags2
+GetAppCompatFlags2@4
 GetAsyncKeyState@4
 GetCapture@0
 GetCaretBlinkTime@0
@@ -398,7 +398,7 @@ ImpersonateDdeClientWindow@8
 InSendMessage@0
 InSendMessageEx@4
 InflateRect@12
-;InitializeLpkHooks
+InitializeLpkHooks@4
 ;InitializeWin32EntryTable
 InsertMenuA@20
 InsertMenuItemA@16
@@ -484,8 +484,8 @@ MessageBoxExA@20
 MessageBoxExW@20
 MessageBoxIndirectA@4
 MessageBoxIndirectW@4
-;MessageBoxTimeoutA
-;MessageBoxTimeoutW
+MessageBoxTimeoutA@24
+MessageBoxTimeoutW@24
 MessageBoxW@16
 ModifyMenuA@20
 ModifyMenuW@20
@@ -533,8 +533,8 @@ PtInRect@12
 RealChildWindowFromPoint@12
 RealGetWindowClassA@12
 RealGetWindowClassW@12
-;ReasonCodeNeedsBugID
-;ReasonCodeNeedsComment
+ReasonCodeNeedsBugID@4
+ReasonCodeNeedsComment@4
 ;RecordShutdownReason
 RedrawWindow@16
 RegisterClassA@4
index 26dc5cb..1bbee62 100644 (file)
@@ -103,7 +103,7 @@ CreateWindowExW=CreateWindowExW@48
 CreateWindowStationA=CreateWindowStationA@16
 CreateWindowStationW=CreateWindowStationW@16
 CsrBroadcastSystemMessageExW=CsrBroadcastSystemMessageExW@24
-;CtxInitUser32
+CtxInitUser32=CtxInitUser32@0
 DdeAbandonTransaction=DdeAbandonTransaction@12
 DdeAccessData=DdeAccessData@8
 DdeAddData=DdeAddData@16
@@ -165,7 +165,7 @@ DialogBoxParamW=DialogBoxParamW@20
 DisableProcessWindowsGhosting=DisableProcessWindowsGhosting@0
 DispatchMessageA=DispatchMessageA@4
 DispatchMessageW=DispatchMessageW@4
-;DisplayExitWindowsWarnings
+DisplayExitWindowsWarnings=DisplayExitWindowsWarnings@4
 DlgDirListA=DlgDirListA@20
 DlgDirListComboBoxA=DlgDirListComboBoxA@20
 DlgDirListComboBoxW=DlgDirListComboBoxW@20
@@ -204,7 +204,7 @@ EndDialog=EndDialog@8
 EndMenu=EndMenu@0
 EndPaint=EndPaint@8
 EndTask=EndTask@12
-;EnterReaderModeHelper
+EnterReaderModeHelper=EnterReaderModeHelper@4
 EnumChildWindows=EnumChildWindows@12
 EnumClipboardFormats=EnumClipboardFormats@4
 EnumDesktopWindows=EnumDesktopWindows@12
@@ -245,7 +245,7 @@ GetAltTabInfoA=GetAltTabInfoA@20
 GetAltTabInfoW=GetAltTabInfoW@20
 GetAncestor=GetAncestor@8
 GetAppCompatFlags=GetAppCompatFlags@4
-;GetAppCompatFlags2
+GetAppCompatFlags2=GetAppCompatFlags2@4
 GetAsyncKeyState=GetAsyncKeyState@4
 GetCapture=GetCapture@0
 GetCaretBlinkTime=GetCaretBlinkTime@0
@@ -399,7 +399,7 @@ ImpersonateDdeClientWindow=ImpersonateDdeClientWindow@8
 InSendMessage=InSendMessage@0
 InSendMessageEx=InSendMessageEx@4
 InflateRect=InflateRect@12
-;InitializeLpkHooks
+InitializeLpkHooks=InitializeLpkHooks@4
 ;InitializeWin32EntryTable
 InsertMenuA=InsertMenuA@20
 InsertMenuItemA=InsertMenuItemA@16
@@ -485,8 +485,8 @@ MessageBoxExA=MessageBoxExA@20
 MessageBoxExW=MessageBoxExW@20
 MessageBoxIndirectA=MessageBoxIndirectA@4
 MessageBoxIndirectW=MessageBoxIndirectW@4
-;MessageBoxTimeoutA
-;MessageBoxTimeoutW
+MessageBoxTimeoutA=MessageBoxTimeoutA@24
+MessageBoxTimeoutW=MessageBoxTimeoutW@24
 MessageBoxW=MessageBoxW@16
 ModifyMenuA=ModifyMenuA@20
 ModifyMenuW=ModifyMenuW@20
@@ -535,8 +535,8 @@ RealChildWindowFromPoint=RealChildWindowFromPoint@12
 RealGetWindowClass=RealGetWindowClassA@12
 RealGetWindowClassA=RealGetWindowClassA@12
 RealGetWindowClassW=RealGetWindowClassW@12
-;ReasonCodeNeedsBugID
-;ReasonCodeNeedsComment
+ReasonCodeNeedsBugID=ReasonCodeNeedsBugID@4
+ReasonCodeNeedsComment=ReasonCodeNeedsComment@4
 ;RecordShutdownReason
 RedrawWindow=RedrawWindow@16
 RegisterClassA=RegisterClassA@4
index 9d2b430..b1c9c6f 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.12 2003/08/07 04:03:24 royce Exp $
+# $Id: makefile,v 1.13 2003/09/12 17:51:48 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -8,7 +8,7 @@ TARGET_NAME = version
 
 TARGET_BASE = 0x77a90000
 
-TARGET_CFLAGS = -fno-builtin
+TARGET_CFLAGS = -fno-builtin -Werror -Wall
 
 # require os code to explicitly request A/W version of structs/functions
 TARGET_CFLAGS += -D_DISABLE_TIDENTS
index ac656e2..d195f36 100644 (file)
@@ -666,7 +666,7 @@ freeaddrinfo(
  * @unimplemented
  */
 INT
-STDCALL
+EXPORT
 getaddrinfo(
     const char FAR * nodename,
     const char FAR * servname,
@@ -699,4 +699,22 @@ getnameinfo(
     return 0;
 }
 
+/*
+ * @unimplemented
+ */
+VOID EXPORT WEP()
+{
+    UNIMPLEMENTED
+}
+
+/*
+ * @unimplemented
+ */
+BOOL EXPORT WSApSetPostRoutine(PVOID Routine)
+{
+    UNIMPLEMENTED
+
+    return 0;
+}
+
 /* EOF */
index 77f1eff..a782478 100644 (file)
@@ -109,9 +109,9 @@ sendto@24
 setsockopt@20
 shutdown@8
 socket@12
-;WEP
+WEP@0
 WSANSPIoctl@32
-;WSApSetPostRoutine
+WSApSetPostRoutine@4
 WSCUpdateProvider@20
 WSCWriteNameSpaceOrder@8
 freeaddrinfo@4
index 3ddc0ea..5cfe339 100644 (file)
@@ -3,7 +3,7 @@
 LIBRARY ws2_32.dll
 
 EXPORTS
-;WEP
+WEP=WEP@0
 WPUCompleteOverlappedRequest=WPUCompleteOverlappedRequest@20
 WSAAccept=WSAAccept@20
 WSAAddressToStringA=WSAAddressToStringA@20
@@ -71,7 +71,7 @@ WSAStringToAddressA=WSAStringToAddressA@20
 WSAStringToAddressW=WSAStringToAddressW@20
 WSAUnhookBlockingHook=WSAUnhookBlockingHook@0
 WSAWaitForMultipleEvents=WSAWaitForMultipleEvents@20
-;WSApSetPostRoutine
+WSApSetPostRoutine=WSApSetPostRoutine@4
 WSCDeinstallProvider=WSCDeinstallProvider@8
 WSCEnableNSProvider=WSCEnableNSProvider@8
 WSCEnumProtocols=WSCEnumProtocols@16
@@ -79,7 +79,7 @@ WSCGetProviderPath=WSCGetProviderPath@16
 WSCInstallNameSpace=WSCInstallNameSpace@20
 WSCInstallProvider=WSCInstallProvider@20
 WSCUnInstallNameSpace=WSCUnInstallNameSpace@4
-;WSCWriteNameSpaceOrder
+WSCWriteNameSpaceOrder=WSCWriteNameSpaceOrder@8
 WSCWriteProviderOrder=WSCWriteProviderOrder@8
 __WSAFDIsSet=__WSAFDIsSet@8
 accept=accept@12
@@ -112,9 +112,7 @@ sendto=sendto@24
 setsockopt=setsockopt@20
 shutdown=shutdown@8
 socket=socket@12
-;WEP
 WSANSPIoctl=WSANSPIoctl@32
-;WSApSetPostRoutine
 WSCUpdateProvider=WSCUpdateProvider@20
 WSCWriteNameSpaceOrder=WSCWriteNameSpaceOrder@8
 freeaddrinfo=freeaddrinfo@4
index e7021df..c276240 100644 (file)
@@ -11,7 +11,7 @@ TARGET_BASE = 0x777c0000
 TARGET_CFLAGS = -DUNICODE
 
 # require os code to explicitly request A/W version of structs/functions
-TARGET_CFLAGS += -D_DISABLE_TIDENTS
+TARGET_CFLAGS += -D_DISABLE_TIDENTS -Werror -Wall
 
 TARGET_SDKLIBS = ntdll.a kernel32.a
 
index b67a739..29b46a8 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.2 2003/08/07 04:03:24 royce Exp $
+# $Id: Makefile,v 1.3 2003/09/12 17:51:48 vizzini Exp $
 
 PATH_TO_TOP = ../..
 
@@ -22,7 +22,7 @@ TARGET_CFLAGS += -D_DISABLE_TIDENTS
 
 TARGET_LFLAGS = -nostartfiles -nostdlib
 
-TARGET_SDKLIBS = kernel32.a
+TARGET_SDKLIBS = kernel32.a ws2_32.a mswsock.a
 
 TARGET_OBJECTS = stubs.o
 
index 5ee412d..e730214 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stubs.c,v 1.4 2003/09/08 09:56:57 weiden Exp $
+/* $Id: stubs.c,v 1.5 2003/09/12 17:51:48 vizzini Exp $
  *
  * COPYRIGHT:   See COPYING in the top level directory
  * PROJECT:     ReactOS WinSock DLL
 #include <stdlib.h>
 #include <winsock2.h>
 
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-AcceptEx(SOCKET ListenSocket,
-         SOCKET AcceptSocket,
-         PVOID OutputBuffer,
-         DWORD ReceiveDataLength,
-         DWORD LocalAddressLength,
-         DWORD RemoteAddressLength,
-         LPDWORD BytesReceived,
-         LPOVERLAPPED Overlapped)
-{
-  OutputDebugStringW(L"w32sock AcceptEx stub called\n");
-
-  return FALSE;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-EnumProtocolsA(LPINT ProtocolCount,
-               LPVOID ProtocolBuffer,
-               LPDWORD BufferLength)
-{
-  OutputDebugStringW(L"w32sock EnumProtocolsA stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-EnumProtocolsW(LPINT ProtocolCount,
-               LPVOID ProtocolBuffer,
-               LPDWORD BufferLength)
-{
-  OutputDebugStringW(L"w32sock EnumProtocolsW stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-VOID
-STDCALL
-GetAcceptExSockaddrs(PVOID OutputBuffer,
-                     DWORD ReceiveDataLength,
-                     DWORD LocalAddressLength,
-                     DWORD RemoteAddressLength,
-                     LPSOCKADDR* LocalSockaddr,
-                     LPINT LocalSockaddrLength,
-                     LPSOCKADDR* RemoteSockaddr,
-                     LPINT RemoteSockaddrLength)
-{
-  OutputDebugStringW(L"w32sock GetAcceptExSockaddrs stub called\n");
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-GetAddressByNameA(DWORD NameSpace,
-                  LPGUID ServiceType,
-                  LPSTR ServiceName,
-                  LPINT Protocols,
-                  DWORD Resolution,
-                  LPSERVICE_ASYNC_INFO ServiceAsyncInfo,
-                  LPVOID CsaddrBuffer,
-                  LPDWORD BufferLength,
-                  LPSTR AliasBuffer,
-                  LPDWORD AliasBufferLength)
-{
-  OutputDebugStringW(L"w32sock GetAddressByNameA stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-GetAddressByNameW(DWORD NameSpace,
-                  LPGUID ServiceType,
-                  LPWSTR ServiceName,
-                  LPINT Protocols,
-                  DWORD Resolution,
-                  LPSERVICE_ASYNC_INFO ServiceAsyncInfo,
-                  LPVOID CsaddrBuffer,
-                  LPDWORD BufferLength,
-                  LPWSTR AliasBuffer,
-                  LPDWORD AliasBufferLength)
-{
-  OutputDebugStringW(L"w32sock GetAddressByNameW stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-GetServiceA(DWORD NameSpace,
-            LPGUID Guid,
-            LPSTR ServiceName,
-            DWORD Properties,
-            LPVOID Buffer,
-            LPDWORD BufferSize,
-            LPSERVICE_ASYNC_INFO ServiceAsyncInfo)
-{
-  OutputDebugStringW(L"w32sock GetServiceA stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-GetServiceW(DWORD NameSpace,
-            LPGUID Guid,
-            LPWSTR ServiceName,
-            DWORD Properties,
-            LPVOID Buffer,
-            LPDWORD BufferSize,
-            LPSERVICE_ASYNC_INFO ServiceAsyncInfo)
-{
-  OutputDebugStringW(L"w32sock GetServiceW stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-GetTypeByNameA(LPSTR ServiceName,
-               LPGUID ServiceType)
-{
-  OutputDebugStringW(L"w32sock GetTypeByNameA stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-GetTypeByNameW(LPWSTR ServiceName,
-               LPGUID ServiceType)
-{
-  OutputDebugStringW(L"w32sock GetTypeByNameW stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-SetServiceA(DWORD NameSpace,
-            DWORD Operation,
-            DWORD Flags,
-            LPSERVICE_INFOA ServiceInfo,
-            LPSERVICE_ASYNC_INFO ServiceAsyncInfo,
-            LPDWORD dwStatusFlags)
-{
-  OutputDebugStringW(L"w32sock SetServiceA stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-SetServiceW(DWORD NameSpace,
-            DWORD Operation,
-            DWORD Flags,
-            LPSERVICE_INFOW ServiceInfo,
-            LPSERVICE_ASYNC_INFO ServiceAsyncInfo,
-            LPDWORD dwStatusFlags)
-{
-  OutputDebugStringW(L"w32sock SetServiceW stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-TransmitFile(SOCKET Socket,
-             HANDLE File,
-             DWORD NumberOfBytesToWrite,
-             DWORD NumberOfBytesPerSend,
-             LPOVERLAPPED Overlapped,
-             LPTRANSMIT_FILE_BUFFERS TransmitBuffers,
-             DWORD Flags)
-{
-  OutputDebugStringW(L"w32sock TransmitFile stub called\n");
-
-  return FALSE;
-}
-
-
-/*
- * @unimplemented
- */
-HANDLE
-STDCALL
-WSAAsyncGetHostByAddr(HWND Wnd,
-                      unsigned int Msg,
-                      const char *Addr,
-                      int Len,
-                      int Type,
-                      char *Buf,
-                      int BufLen)
-{
-  OutputDebugStringW(L"w32sock WSAAsyncGetHostByAddr stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-HANDLE
-STDCALL
-WSAAsyncGetHostByName(HWND Wnd,
-                      unsigned int Msg,
-                      const char *Name,
-                      char *Buf,
-                      int BufLen)
-{
-  OutputDebugStringW(L"w32sock WSAAsyncGetHostByName stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-HANDLE
-STDCALL
-WSAAsyncGetProtoByName(HWND Wnd,
-                       unsigned int Msg,
-                       const char *Name,
-                       char *Buf,
-                       int Buflen)
-{
-  OutputDebugStringW(L"w32sock WSAAsyncGetProtoByName stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-HANDLE
-STDCALL
-WSAAsyncGetProtoByNumber(HWND Wnd,
-                         unsigned int Msg,
-                         int Number,
-                         char *Buf,
-                         int BufLen)
-{
-  OutputDebugStringW(L"w32sock WSAAsyncGetProtoByNumber stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-HANDLE
-STDCALL
-WSAAsyncGetServByName(HWND Wnd,
-                      unsigned int Msg,
-                      const char *Name,
-                      const char *Proto,
-                      char *Buf,
-                      int BufLen)
-{
-  OutputDebugStringW(L"w32sock WSAAsyncGetServByName stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-HANDLE
-STDCALL
-WSAAsyncGetServByPort(HWND Wnd,
-                      unsigned int Msg,
-                      int Port,
-                      const char *Proto,
-                      char *Buf,
-                      int BufLen)
-{
-  OutputDebugStringW(L"w32sock WSAAsyncGetServByPort stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-WSAAsyncSelect(SOCKET Sock,
-               HWND Wnd,
-               UINT Msg,
-               LONG Event)
-{
-  OutputDebugStringW(L"w32sock WSAAsyncSelect stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-WSACancelAsyncRequest(HANDLE AsyncTaskHandle)
-{
-  OutputDebugStringW(L"w32sock WSACancelAsyncRequest stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-WSACancelBlockingCall()
-{
-  OutputDebugStringW(L"w32sock WSACancelBlockingCall stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-WSACleanup()
-{
-  OutputDebugStringW(L"w32sock WSACleanup stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-WSAGetLastError(void)
-{
-  OutputDebugStringW(L"w32sock WSAGetLastError stub called\n");
-
-  return WSANOTINITIALISED;
-}
-
-
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-WSAIsBlocking(VOID)
-{
-  OutputDebugStringW(L"w32sock WSAIsBlocking stub called\n");
-
-  return FALSE;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-WSARecvEx(SOCKET Sock,
-          char *Buf,
-          int Len,
-          int *Flags)
-{
-  OutputDebugStringW(L"w32sock WSARecvEx stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-FARPROC
-STDCALL
-WSASetBlockingHook(FARPROC BlockFunc)
-{
-  OutputDebugStringW(L"w32sock WSASetBlockingHook stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-void
-STDCALL WSASetLastError(int Error)
-{
-  OutputDebugStringW(L"w32sock WSASetLastError stub called\n");
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-WSAStartup(WORD VersionRequested,
-           LPWSADATA WSAData)
-{
-  OutputDebugStringW(L"w32sock WSAStartup stub called\n");
-
-  return WSASYSNOTREADY;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-WSAUnhookBlockingHook(void)
-{
-  OutputDebugStringW(L"w32sock WSAUnhookBlockingHook stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-WSApSetPostRoutine(LPVOID /* really LPWPUPOSTMESSAGE */ PostRoutine)
-{
-  OutputDebugStringW(L"w32sock WSApSetPostRoutine stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-__WSAFDIsSet(SOCKET Sock,
-             fd_set *Set)
-{
-  OutputDebugStringW(L"w32sock __WSAFDIsSet stub called\n");
-
-  return 0;
-}
-
-
-/*
- * @unimplemented
- */
-SOCKET
-STDCALL
-accept(SOCKET Sock,
-       struct sockaddr *Addr,
-       int *AddrLen)
-{
-  OutputDebugStringW(L"w32sock accept stub called\n");
-
-  return INVALID_SOCKET;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-bind(SOCKET Sock,
-     CONST LPSOCKADDR Name,
-     INT NameLen)
-{
-  OutputDebugStringW(L"w32sock bind stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-closesocket(SOCKET Sock)
-{
-  OutputDebugStringW(L"w32sock closesocket stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-connect(SOCKET Sock,
-        CONST LPSOCKADDR Name,
-        INT NameLen)
-{
-  OutputDebugStringW(L"w32sock connect stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-dn_expand(unsigned char *MessagePtr,
-          unsigned char *EndofMesOrig,
-          unsigned char *CompDomNam,
-          unsigned char *ExpandDomNam,
-          int Length)
-{
-  OutputDebugStringW(L"w32sock dn_expand stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-LPHOSTENT
-STDCALL
-gethostbyaddr(CONST CHAR *Addr,
-              INT Len,
-              INT Type)
-{
-  OutputDebugStringW(L"w32sock gethostbyaddr stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-struct hostent *
-STDCALL
-gethostbyname(const char *Name)
-{
-  OutputDebugStringW(L"w32sock gethostbyname stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-gethostname(char *Name,
-            int NameLen)
-{
-  OutputDebugStringW(L"w32sock gethostname stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-struct netent *
-STDCALL
-getnetbyname(char *Name)
-{
-  OutputDebugStringW(L"w32sock getnetbyname stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-getpeername(SOCKET Sock,
-            struct sockaddr *Name,
-            int *NameLen)
-{
-  OutputDebugStringW(L"w32sock getpeername stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-LPPROTOENT
-STDCALL
-getprotobyname(CONST CHAR *Name)
-{
-  OutputDebugStringW(L"w32sock getprotobyname stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-LPPROTOENT
-STDCALL
-getprotobynumber(INT Number)
-{
-  OutputDebugStringW(L"w32sock getprotobynumber stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-struct servent *
-STDCALL
-getservbyname(const char *Name,
-              const char *Proto)
-{
-  OutputDebugStringW(L"w32sock getservbyname stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-struct servent *
-STDCALL
-getservbyport(int Port,
-              const char *Proto)
-{
-  OutputDebugStringW(L"w32sock getservbyport stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-getsockname(SOCKET Sock,
-            struct sockaddr *Name,
-            int *NameLen)
-{
-  OutputDebugStringW(L"w32sock getsockname stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
 /*
  * @unimplemented
  */
@@ -755,145 +28,6 @@ getsockopt(SOCKET Sock,
   return SOCKET_ERROR;
 }
 
-
-/*
- * @unimplemented
- */
-ULONG
-STDCALL
-htonl(ULONG HostLong)
-{
-  return (((HostLong << 24) & 0xff000000) |
-          ((HostLong << 8) & 0x00ff0000) |
-          ((HostLong >> 8) & 0x0000ff00) |
-          ((HostLong >> 24) & 0x000000ff));
-}
-
-
-/*
- * @unimplemented
- */
-USHORT
-STDCALL
-htons(USHORT HostShort)
-{
-  return (((HostShort << 8) & 0xff00) |
-          ((HostShort >> 8) & 0x00ff));
-}
-
-
-/*
- * @unimplemented
- */
-ULONG
-STDCALL
-inet_addr(CONST CHAR *cp)
-{
-  OutputDebugStringW(L"w32sock inet_addr stub called\n");
-
-  return INADDR_NONE;
-}
-
-
-/*
- * @unimplemented
- */
-unsigned long
-STDCALL
-inet_network(const char *cp)
-{
-  OutputDebugStringW(L"w32sock inet_network stub called\n");
-
-  return INADDR_NONE;
-}
-
-
-/*
- * @unimplemented
- */
-char *
-STDCALL
-inet_ntoa(struct in_addr in)
-{
-  OutputDebugStringW(L"w32sock inet_ntoa stub called\n");
-
-  return NULL;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-ioctlsocket(SOCKET Sock,
-            LONG Cmd,
-            ULONG *Argp)
-{
-  OutputDebugStringW(L"w32sock ioctlsocket stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-listen(SOCKET Sock,
-       int BackLog)
-{
-  OutputDebugStringW(L"w32sock listen stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @implemented
- */
-ULONG
-STDCALL
-ntohl(ULONG NetLong)
-{
-  return (((NetLong << 24) & 0xff000000) |
-          ((NetLong << 8) & 0x00ff0000) |
-          ((NetLong >> 8) & 0x0000ff00) |
-          ((NetLong >> 24) & 0x000000ff));
-}
-
-
-/*
- * @implemented
- */
-USHORT
-STDCALL
-ntohs(USHORT NetShort)
-{
-  return (((NetShort << 8) & 0xff00) |
-          ((NetShort >> 8) & 0x00ff));
-}
-
-
-/*
- * @unimplemented
- */
-SOCKET
-STDCALL
-rcmd(char **AHost,
-     USHORT InPort,
-     char *LocUser,
-     char *RemUser,
-     char *Cmd,
-     int *Fd2p)
-{
-  OutputDebugStringW(L"w32sock rcmd stub called\n");
-
-  return INVALID_SOCKET;
-}
-
-
 /*
  * @unimplemented
  */
@@ -928,112 +62,6 @@ recvfrom(SOCKET Sock,
 }
 
 
-/*
- * @unimplemented
- */
-SOCKET
-STDCALL
-rexec(char **AHost,
-      int InPort,
-      char *User,
-      char *Passwd,
-      char *Cmd,
-      int *Fd2p)
-{
-  OutputDebugStringW(L"w32sock rexec stub called\n");
-
-  return INVALID_SOCKET;
-}
-
-
-/*
- * @unimplemented
- */
-SOCKET
-STDCALL
-rresvport(int *port)
-{
-  OutputDebugStringW(L"w32sock rresvport stub called\n");
-
-  return INVALID_SOCKET;
-}
-
-
-/*
- * @unimplemented
- */
-void
-STDCALL
-s_perror(const char *str)
-{
-  OutputDebugStringW(L"w32sock s_perror stub called\n");
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-select(INT NumFds, 
-       LPFD_SET ReadFds, 
-       LPFD_SET WriteFds, 
-       LPFD_SET ExceptFds, 
-       CONST LPTIMEVAL TimeOut)
-{
-  OutputDebugStringW(L"w32sock select stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-send(SOCKET Sock,
-     const char *Buf,
-     int Len,
-     int Flags)
-{
-  OutputDebugStringW(L"w32sock send stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-sendto(SOCKET Sock,
-       CONST CHAR *Buf,
-       INT Len,
-       INT Flags,
-       CONST LPSOCKADDR To, 
-       INT ToLen)
-{
-  OutputDebugStringW(L"w32sock sendto stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-int
-STDCALL
-sethostname(char *Name, int NameLen)
-{
-  OutputDebugStringW(L"w32sock sethostname stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
 /*
  * @unimplemented
  */
@@ -1051,35 +79,6 @@ setsockopt(SOCKET Sock,
 }
 
 
-/*
- * @unimplemented
- */
-int
-STDCALL
-shutdown(SOCKET Sock,
-         int How)
-{
-  OutputDebugStringW(L"w32sock shutdown stub called\n");
-
-  return SOCKET_ERROR;
-}
-
-
-/*
- * @unimplemented
- */
-SOCKET
-STDCALL
-socket(int AF,
-       int Type,
-       int Protocol)
-{
-  OutputDebugStringW(L"w32sock socket stub called\n");
-
-  return INVALID_SOCKET;
-}
-
-
 /*
  * @unimplemented
  */
@@ -1091,25 +90,3 @@ DllMain(HINSTANCE InstDLL,
 {
   return TRUE;
 }
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-GetNameByTypeA(LPGUID lpServiceType,LPSTR lpServiceName,DWORD dwNameLength)
-{
-  OutputDebugStringW(L"w32sock GetNameByTypeA stub called\n");
-  return TRUE;
-}
-
-/*
- * @unimplemented
- */
-INT
-STDCALL
-GetNameByTypeW(LPGUID lpServiceType,LPWSTR lpServiceName,DWORD dwNameLength)
-{
-  OutputDebugStringW(L"w32sock GetNameByTypeW stub called\n");
-  return TRUE;
-}
index 1d4bcf2..0e550e4 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: wsock32.def,v 1.2 2003/09/08 09:56:57 weiden Exp $
+; $Id: wsock32.def,v 1.3 2003/09/12 17:51:48 vizzini Exp $
 ;
 ; WSOCK32.DLL - Windows Sockets 2 DLL
 
@@ -65,18 +65,18 @@ GetServiceW@28
 GetTypeByNameA@8
 GetTypeByNameW@8
 ;MigrateWinsockConfiguration
-;NPLoadNameSpaces
+NPLoadNameSpaces@12
 SetServiceA@24
 SetServiceW@24
 TransmitFile@28
-;WEP
+WEP@0
 WSARecvEx@16
-;WSApSetPostRoutine
-;dn_expand
-;getnetbyname
-;inet_network
-;rcmd
-;rexec
-;rresvport
-;s_perror
-;sethostname
+WSApSetPostRoutine@4
+dn_expand@20
+getnetbyname@4
+inet_network@4
+rcmd@24
+rexec@24
+rresvport@4
+s_perror@4
+sethostname@8
index efe92ad..f7eadf9 100644 (file)
@@ -1,82 +1,82 @@
-; $Id: wsock32.edf,v 1.2 2003/09/08 09:56:57 weiden Exp $
+; $Id: wsock32.edf,v 1.3 2003/09/12 17:51:48 vizzini Exp $
 ;
 ; WSOCK32.DLL - Windows Sockets 2 DLL
 
 LIBRARY wsock32.dll
 
 EXPORTS
-WSAAsyncGetHostByAddr=WSAAsyncGetHostByAddr@28
-WSAAsyncGetHostByName=WSAAsyncGetHostByName@20
-WSAAsyncGetProtoByName=WSAAsyncGetProtoByName@20
-WSAAsyncGetProtoByNumber=WSAAsyncGetProtoByNumber@20
-WSAAsyncGetServByName=WSAAsyncGetServByName@24
-WSAAsyncGetServByPort=WSAAsyncGetServByPort@24
-WSAAsyncSelect=WSAAsyncSelect@16
-WSACancelAsyncRequest=WSACancelAsyncRequest@4
-WSACancelBlockingCall=WSACancelBlockingCall@0
-WSACleanup=WSACleanup@0
-WSAGetLastError=WSAGetLastError@0
-WSAIsBlocking=WSAIsBlocking@0
-WSASetBlockingHook=WSASetBlockingHook@4
-WSASetLastError=WSASetLastError@4
-WSAStartup=WSAStartup@8
-WSAUnhookBlockingHook=WSAUnhookBlockingHook@0
-__WSAFDIsSet=__WSAFDIsSet@8
-accept=accept@12
-bind=bind@12
-closesocket=closesocket@4
-connect=connect@12
-gethostbyaddr=gethostbyaddr@12
-gethostbyname=gethostbyname@4
-gethostname=gethostname@8
-getpeername=getpeername@12
-getprotobyname=getprotobyname@4
-getprotobynumber=getprotobynumber@4
-getservbyname=getservbyname@8
-getservbyport=getservbyport@8
-getsockname=getsockname@12
+WEP=ws2_32.WEP
+WSApSetPostRoutine=ws2_32.WSApSetPostRoutine
+WSAAsyncGetHostByAddr=ws2_32.WSAAsyncGetHostByAddr
+WSAAsyncGetHostByName=ws2_32.WSAAsyncGetHostByName
+WSAAsyncGetProtoByName=ws2_32.WSAAsyncGetProtoByName
+WSAAsyncGetProtoByNumber=ws2_32.WSAAsyncGetProtoByNumber
+WSAAsyncGetServByName=ws2_32.WSAAsyncGetServByName
+WSAAsyncGetServByPort=ws2_32.WSAAsyncGetServByPort
+WSAAsyncSelect=ws2_32.WSAAsyncSelect
+WSACancelAsyncRequest=ws2_32.WSACancelAsyncRequest
+WSACancelBlockingCall=ws2_32.WSACancelBlockingCall
+WSACleanup=ws2_32.WSACleanup
+WSAGetLastError=ws2_32.WSAGetLastError
+WSAIsBlocking=ws2_32.WSAIsBlocking
+WSASetBlockingHook=ws2_32.WSASetBlockingHook
+WSASetLastError=ws2_32.WSASetLastError
+WSAStartup=ws2_32.WSAStartup
+WSAUnhookBlockingHook=ws2_32.WSAUnhookBlockingHook
+__WSAFDIsSet=ws2_32.__WSAFDIsSet
+accept=ws2_32.accept
+bind=ws2_32.bind
+closesocket=ws2_32.closesocket
+connect=ws2_32.connect
+gethostbyaddr=ws2_32.gethostbyaddr
+gethostbyname=ws2_32.gethostbyname
+gethostname=ws2_32.gethostname
+getpeername=ws2_32.getpeername
+getprotobyname=ws2_32.getprotobyname
+getprotobynumber=ws2_32.getprotobynumber
+getservbyname=ws2_32.getservbyname
+getservbyport=ws2_32.getservbyport
+getsockname=ws2_32.getsockname
 getsockopt=getsockopt@20
-htonl=htonl@4
-htons=htons@4
-inet_addr=inet_addr@4
-inet_ntoa=inet_ntoa@4
-ioctlsocket=ioctlsocket@12
-listen=listen@8
-ntohl=ntohl@4
-ntohs=ntohs@4
+htonl=ws2_32.htonl
+htons=ws2_32.htons
+inet_addr=ws2_32.inet_addr
+inet_ntoa=ws2_32.inet_ntoa
+ioctlsocket=ws2_32.ioctlsocket
+listen=ws2_32.listen
+ntohl=ws2_32.ntohl
+ntohs=ws2_32.ntohs
 recv=recv@16
 recvfrom=recvfrom@24
-select=select@20
-send=send@16
-sendto=sendto@24
+select=ws2_32.select
+send=ws2_32.send
+sendto=ws2_32.sendto
 setsockopt=setsockopt@20
-shutdown=shutdown@8
-socket=socket@12
-AcceptEx=AcceptEx@32
-EnumProtocolsA=EnumProtocolsA@12
-EnumProtocolsW=EnumProtocolsW@12
-GetAcceptExSockaddrs=GetAcceptExSockaddrs@32
-GetAddressByNameA=GetAddressByNameA@40
-GetAddressByNameW=GetAddressByNameW@40
-GetNameByTypeA=GetNameByTypeA@12
-GetNameByTypeW=GetNameByTypeW@12
-GetServiceA=GetServiceA@28
-GetServiceW=GetServiceW@28
-GetTypeByNameA=GetTypeByNameA@8
-GetTypeByNameW=GetTypeByNameW@8
+shutdown=ws2_32.shutdown
+socket=ws2_32.socket
+AcceptEx=mswsock.AcceptEx
+EnumProtocolsA=mswsock.EnumProtocolsA
+EnumProtocolsW=mswsock.EnumProtocolsW
+GetAcceptExSockaddrs=mswsock.GetAcceptExSockaddrs
+GetAddressByNameA=mswsock.GetAddressByNameA
+GetAddressByNameW=mswsock.GetAddressByNameW
+GetNameByTypeA=mswsock.GetNameByTypeA
+GetNameByTypeW=mswsock.GetNameByTypeW
+GetServiceA=mswsock.GetServiceA
+GetServiceW=mswsock.GetServiceW
+GetTypeByNameA=mswsock.GetTypeByNameA
+GetTypeByNameW=mswsock.GetTypeByNameW
 ;MigrateWinsockConfiguration
-;NPLoadNameSpaces
-SetServiceA=SetServiceA@24
-SetServiceW=SetServiceW@24
-TransmitFile=TransmitFile@28
-;WEP
-WSARecvEx=WSARecvEx@16
-;WSApSetPostRoutine
-;dn_expand
-;getnetbyname
-;inet_network
-;rcmd
-;rexec
-;rresvport
-;s_perror
-;sethostname
+NPLoadNameSpaces=mswsock.NPLoadNameSpaces
+SetServiceA=mswsock.SetServiceA
+SetServiceW=mswsock.SetServiceW
+TransmitFile=mswsock.TransmitFile
+WSARecvEx=mswsock.WSARecvEx
+dn_expand=mswsock.dn_expand
+getnetbyname=mswsock.getnetbyname
+inet_network=mswsock.inet_network
+rcmd=mswsock.rcmd
+rexec=mswsock.rexec
+rresvport=mswsock.rresvport
+s_perror=mswsock.s_perror
+sethostname=mswsock.sethostname