Some atom prototype fixes

svn path=/trunk/; revision=1656
This commit is contained in:
Eric Kohl 2001-03-01 15:36:34 +00:00
parent bf9d9a12e7
commit 5149f0d29a
4 changed files with 68 additions and 49 deletions

View file

@ -1,4 +1,4 @@
/* $Id: rtl.h,v 1.47 2001/02/10 22:51:07 dwelch Exp $ /* $Id: rtl.h,v 1.48 2001/03/01 15:33:39 ekohl Exp $
* *
*/ */
@ -814,6 +814,13 @@ RtlDowncaseUnicodeString (
IN BOOLEAN AllocateDestinationString IN BOOLEAN AllocateDestinationString
); );
NTSTATUS
STDCALL
RtlEmptyAtomTable (
IN PRTL_ATOM_TABLE AtomTable,
ULONG Unknown2
);
LARGE_INTEGER LARGE_INTEGER
STDCALL STDCALL
RtlEnlargedIntegerMultiply ( RtlEnlargedIntegerMultiply (
@ -1398,6 +1405,17 @@ RtlPrefixUnicodeString (
BOOLEAN CaseInsensitive BOOLEAN CaseInsensitive
); );
NTSTATUS
STDCALL
RtlQueryAtomInAtomTable (
IN PRTL_ATOM_TABLE AtomTable,
IN PRTL_ATOM Atom,
IN ULONG Unknown3,
IN ULONG Unknown4,
IN OUT PVOID Buffer,
IN OUT PULONG ReturnLength
);
NTSTATUS NTSTATUS
STDCALL STDCALL
RtlQueryRegistryValues ( RtlQueryRegistryValues (

View file

@ -1,4 +1,4 @@
/* $Id: atom.c,v 1.4 2000/10/08 12:49:26 ekohl Exp $ /* $Id: atom.c,v 1.5 2001/03/01 15:35:40 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -13,6 +13,7 @@
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
//#define NDEBUG
#include <internal/debug.h> #include <internal/debug.h>
static PRTL_ATOM_TABLE RtlpGetGlobalAtomTable(VOID); static PRTL_ATOM_TABLE RtlpGetGlobalAtomTable(VOID);
@ -24,8 +25,7 @@ static PRTL_ATOM_TABLE GlobalAtomTable = NULL;
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
NTSTATUS NTSTATUS STDCALL
STDCALL
NtAddAtom(OUT PRTL_ATOM Atom, NtAddAtom(OUT PRTL_ATOM Atom,
IN PUNICODE_STRING AtomString) IN PUNICODE_STRING AtomString)
{ {
@ -41,8 +41,7 @@ NtAddAtom (OUT PRTL_ATOM Atom,
} }
NTSTATUS NTSTATUS STDCALL
STDCALL
NtDeleteAtom(IN RTL_ATOM Atom) NtDeleteAtom(IN RTL_ATOM Atom)
{ {
PRTL_ATOM_TABLE AtomTable; PRTL_ATOM_TABLE AtomTable;
@ -56,8 +55,7 @@ NtDeleteAtom (IN RTL_ATOM Atom)
} }
NTSTATUS NTSTATUS STDCALL
STDCALL
NtFindAtom(OUT PRTL_ATOM Atom, NtFindAtom(OUT PRTL_ATOM Atom,
IN PUNICODE_STRING AtomString) IN PUNICODE_STRING AtomString)
{ {
@ -73,14 +71,12 @@ NtFindAtom (OUT PRTL_ATOM Atom,
} }
NTSTATUS NTSTATUS STDCALL
STDCALL
NtQueryInformationAtom(IN RTL_ATOM Atom, NtQueryInformationAtom(IN RTL_ATOM Atom,
IN CINT AtomInformationClass, IN CINT AtomInformationClass,
OUT PVOID AtomInformation, OUT PVOID AtomInformation,
IN ULONG AtomInformationLength, IN ULONG AtomInformationLength,
OUT PULONG ReturnLength OUT PULONG ReturnLength)
)
{ {
#if 0 #if 0
PRTL_ATOM_TABLE AtomTable; PRTL_ATOM_TABLE AtomTable;
@ -197,11 +193,16 @@ RtlPinAtomInAtomTable (IN PRTL_ATOM_TABLE AtomTable,
} }
/*
NTSTATUS STDCALL NTSTATUS STDCALL
RtlQueryAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable, RtlQueryAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
IN RTL_ATOM Atom, IN PRTL_ATOM Atom,
*/ IN ULONG Unknown3,
IN ULONG Unknown4,
IN OUT PVOID Buffer,
IN OUT PULONG ReturnLength)
{
UNIMPLEMENTED;
return STATUS_SUCCESS;
}
/* EOF */ /* EOF */

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.def,v 1.98 2001/02/21 18:19:19 ekohl Exp $ ; $Id: ntoskrnl.def,v 1.99 2001/03/01 15:36:34 ekohl Exp $
; ;
; reactos/ntoskrnl/ntoskrnl.def ; reactos/ntoskrnl/ntoskrnl.def
; ;
@ -668,7 +668,7 @@ RtlDeleteRegistryValue@12
RtlDestroyAtomTable@4 RtlDestroyAtomTable@4
;RtlDestroyHeap ;RtlDestroyHeap
RtlDowncaseUnicodeString@12 RtlDowncaseUnicodeString@12
;RtlEmptyAtomTable RtlEmptyAtomTable@8
RtlEnlargedIntegerMultiply@8 RtlEnlargedIntegerMultiply@8
RtlEnlargedUnsignedDivide@16 RtlEnlargedUnsignedDivide@16
RtlEnlargedUnsignedMultiply@8 RtlEnlargedUnsignedMultiply@8
@ -749,7 +749,7 @@ RtlOemToUnicodeN@20
RtlPinAtomInAtomTable@8 RtlPinAtomInAtomTable@8
RtlPrefixString@12 RtlPrefixString@12
RtlPrefixUnicodeString@12 RtlPrefixUnicodeString@12
;RtlQueryAtomInAtomTable RtlQueryAtomInAtomTable@24
RtlQueryRegistryValues@20 RtlQueryRegistryValues@20
;RtlQueryTimeZoneInformation ;RtlQueryTimeZoneInformation
RtlRaiseException@4 RtlRaiseException@4

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.edf,v 1.85 2001/02/21 18:19:19 ekohl Exp $ ; $Id: ntoskrnl.edf,v 1.86 2001/03/01 15:36:34 ekohl Exp $
; ;
; reactos/ntoskrnl/ntoskrnl.def ; reactos/ntoskrnl/ntoskrnl.def
; ;
@ -667,7 +667,7 @@ RtlDeleteRegistryValue=RtlDeleteRegistryValue@12
RtlDestroyAtomTable=RtlDestroyAtomTable@4 RtlDestroyAtomTable=RtlDestroyAtomTable@4
;RtlDestroyHeap ;RtlDestroyHeap
RtlDowncaseUnicodeString=RtlDowncaseUnicodeString@12 RtlDowncaseUnicodeString=RtlDowncaseUnicodeString@12
;RtlEmptyAtomTable RtlEmptyAtomTable=RtlEmptyAtomTable@8
RtlEnlargedIntegerMultiply=RtlEnlargedIntegerMultiply@8 RtlEnlargedIntegerMultiply=RtlEnlargedIntegerMultiply@8
RtlEnlargedUnsignedDivide=RtlEnlargedUnsignedDivide@16 RtlEnlargedUnsignedDivide=RtlEnlargedUnsignedDivide@16
RtlEnlargedUnsignedMultiply=RtlEnlargedUnsignedMultiply@8 RtlEnlargedUnsignedMultiply=RtlEnlargedUnsignedMultiply@8
@ -747,7 +747,7 @@ RtlOemStringToUnicodeString=RtlOemStringToUnicodeString@12
RtlPinAtomInAtomTable=RtlPinAtomInAtomTable@8 RtlPinAtomInAtomTable=RtlPinAtomInAtomTable@8
RtlPrefixString=RtlPrefixString@12 RtlPrefixString=RtlPrefixString@12
RtlPrefixUnicodeString=RtlPrefixUnicodeString@12 RtlPrefixUnicodeString=RtlPrefixUnicodeString@12
;RtlQueryAtomInAtomTable RtlQueryAtomInAtomTable=RtlQueryAtomInAtomTable@24
RtlQueryRegistryValues=RtlQueryRegistryValues@20 RtlQueryRegistryValues=RtlQueryRegistryValues@20
;RtlQueryTimeZoneInformation ;RtlQueryTimeZoneInformation
RtlRaiseException=RtlRaiseException@4 RtlRaiseException=RtlRaiseException@4