mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 20:36:35 +00:00
Some atom prototype fixes
svn path=/trunk/; revision=1656
This commit is contained in:
parent
bf9d9a12e7
commit
5149f0d29a
4 changed files with 68 additions and 49 deletions
|
@ -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
|
||||
);
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
RtlEmptyAtomTable (
|
||||
IN PRTL_ATOM_TABLE AtomTable,
|
||||
ULONG Unknown2
|
||||
);
|
||||
|
||||
LARGE_INTEGER
|
||||
STDCALL
|
||||
RtlEnlargedIntegerMultiply (
|
||||
|
@ -1398,6 +1405,17 @@ RtlPrefixUnicodeString (
|
|||
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
|
||||
STDCALL
|
||||
RtlQueryRegistryValues (
|
||||
|
|
|
@ -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
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include <ddk/ntddk.h>
|
||||
|
||||
//#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
static PRTL_ATOM_TABLE RtlpGetGlobalAtomTable(VOID);
|
||||
|
@ -24,8 +25,7 @@ static PRTL_ATOM_TABLE GlobalAtomTable = NULL;
|
|||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTSTATUS STDCALL
|
||||
NtAddAtom(OUT PRTL_ATOM Atom,
|
||||
IN PUNICODE_STRING AtomString)
|
||||
{
|
||||
|
@ -41,8 +41,7 @@ NtAddAtom (OUT PRTL_ATOM Atom,
|
|||
}
|
||||
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTSTATUS STDCALL
|
||||
NtDeleteAtom(IN RTL_ATOM Atom)
|
||||
{
|
||||
PRTL_ATOM_TABLE AtomTable;
|
||||
|
@ -56,8 +55,7 @@ NtDeleteAtom (IN RTL_ATOM Atom)
|
|||
}
|
||||
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTSTATUS STDCALL
|
||||
NtFindAtom(OUT PRTL_ATOM Atom,
|
||||
IN PUNICODE_STRING AtomString)
|
||||
{
|
||||
|
@ -73,14 +71,12 @@ NtFindAtom (OUT PRTL_ATOM Atom,
|
|||
}
|
||||
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
NTSTATUS STDCALL
|
||||
NtQueryInformationAtom(IN RTL_ATOM Atom,
|
||||
IN CINT AtomInformationClass,
|
||||
OUT PVOID AtomInformation,
|
||||
IN ULONG AtomInformationLength,
|
||||
OUT PULONG ReturnLength
|
||||
)
|
||||
OUT PULONG ReturnLength)
|
||||
{
|
||||
#if 0
|
||||
PRTL_ATOM_TABLE AtomTable;
|
||||
|
@ -197,11 +193,16 @@ RtlPinAtomInAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
NTSTATUS STDCALL
|
||||
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 */
|
||||
|
|
|
@ -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
|
||||
;
|
||||
|
@ -668,7 +668,7 @@ RtlDeleteRegistryValue@12
|
|||
RtlDestroyAtomTable@4
|
||||
;RtlDestroyHeap
|
||||
RtlDowncaseUnicodeString@12
|
||||
;RtlEmptyAtomTable
|
||||
RtlEmptyAtomTable@8
|
||||
RtlEnlargedIntegerMultiply@8
|
||||
RtlEnlargedUnsignedDivide@16
|
||||
RtlEnlargedUnsignedMultiply@8
|
||||
|
@ -749,7 +749,7 @@ RtlOemToUnicodeN@20
|
|||
RtlPinAtomInAtomTable@8
|
||||
RtlPrefixString@12
|
||||
RtlPrefixUnicodeString@12
|
||||
;RtlQueryAtomInAtomTable
|
||||
RtlQueryAtomInAtomTable@24
|
||||
RtlQueryRegistryValues@20
|
||||
;RtlQueryTimeZoneInformation
|
||||
RtlRaiseException@4
|
||||
|
|
|
@ -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
|
||||
;
|
||||
|
@ -667,7 +667,7 @@ RtlDeleteRegistryValue=RtlDeleteRegistryValue@12
|
|||
RtlDestroyAtomTable=RtlDestroyAtomTable@4
|
||||
;RtlDestroyHeap
|
||||
RtlDowncaseUnicodeString=RtlDowncaseUnicodeString@12
|
||||
;RtlEmptyAtomTable
|
||||
RtlEmptyAtomTable=RtlEmptyAtomTable@8
|
||||
RtlEnlargedIntegerMultiply=RtlEnlargedIntegerMultiply@8
|
||||
RtlEnlargedUnsignedDivide=RtlEnlargedUnsignedDivide@16
|
||||
RtlEnlargedUnsignedMultiply=RtlEnlargedUnsignedMultiply@8
|
||||
|
@ -747,7 +747,7 @@ RtlOemStringToUnicodeString=RtlOemStringToUnicodeString@12
|
|||
RtlPinAtomInAtomTable=RtlPinAtomInAtomTable@8
|
||||
RtlPrefixString=RtlPrefixString@12
|
||||
RtlPrefixUnicodeString=RtlPrefixUnicodeString@12
|
||||
;RtlQueryAtomInAtomTable
|
||||
RtlQueryAtomInAtomTable=RtlQueryAtomInAtomTable@24
|
||||
RtlQueryRegistryValues=RtlQueryRegistryValues@20
|
||||
;RtlQueryTimeZoneInformation
|
||||
RtlRaiseException=RtlRaiseException@4
|
||||
|
|
Loading…
Reference in a new issue