mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +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
|
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 (
|
||||||
|
|
|
@ -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,9 +13,10 @@
|
||||||
|
|
||||||
#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);
|
||||||
|
|
||||||
/* GLOBALS *******************************************************************/
|
/* GLOBALS *******************************************************************/
|
||||||
|
|
||||||
|
@ -24,9 +25,8 @@ 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)
|
||||||
{
|
{
|
||||||
PRTL_ATOM_TABLE AtomTable;
|
PRTL_ATOM_TABLE AtomTable;
|
||||||
|
@ -41,9 +41,8 @@ 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,9 +55,8 @@ 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)
|
||||||
{
|
{
|
||||||
PRTL_ATOM_TABLE AtomTable;
|
PRTL_ATOM_TABLE AtomTable;
|
||||||
|
@ -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;
|
||||||
|
@ -100,7 +96,7 @@ NtQueryInformationAtom (IN RTL_ATOM Atom,
|
||||||
|
|
||||||
|
|
||||||
static PRTL_ATOM_TABLE
|
static PRTL_ATOM_TABLE
|
||||||
RtlpGetGlobalAtomTable (VOID)
|
RtlpGetGlobalAtomTable(VOID)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
|
@ -116,7 +112,7 @@ RtlpGetGlobalAtomTable (VOID)
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
RtlCreateAtomTable (ULONG TableSize,
|
RtlCreateAtomTable(ULONG TableSize,
|
||||||
PRTL_ATOM_TABLE *AtomTable)
|
PRTL_ATOM_TABLE *AtomTable)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -143,7 +139,7 @@ RtlCreateAtomTable (ULONG TableSize,
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
RtlDestroyAtomTable (IN PRTL_ATOM_TABLE AtomTable)
|
RtlDestroyAtomTable(IN PRTL_ATOM_TABLE AtomTable)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
@ -151,7 +147,7 @@ RtlDestroyAtomTable (IN PRTL_ATOM_TABLE AtomTable)
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
RtlEmptyAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
RtlEmptyAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
ULONG Unknown2)
|
ULONG Unknown2)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -160,7 +156,7 @@ RtlEmptyAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
RtlAddAtomToAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
RtlAddAtomToAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
IN PWSTR AtomName,
|
IN PWSTR AtomName,
|
||||||
OUT PRTL_ATOM Atom)
|
OUT PRTL_ATOM Atom)
|
||||||
{
|
{
|
||||||
|
@ -170,7 +166,7 @@ RtlAddAtomToAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
RtlDeleteAtomFromAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
RtlDeleteAtomFromAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
IN RTL_ATOM Atom)
|
IN RTL_ATOM Atom)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -179,7 +175,7 @@ RtlDeleteAtomFromAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
RtlLookupAtomInAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
RtlLookupAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
IN PUNICODE_STRING AtomName,
|
IN PUNICODE_STRING AtomName,
|
||||||
OUT PRTL_ATOM Atom)
|
OUT PRTL_ATOM Atom)
|
||||||
{
|
{
|
||||||
|
@ -189,7 +185,7 @@ RtlLookupAtomInAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
RtlPinAtomInAtomTable (IN PRTL_ATOM_TABLE AtomTable,
|
RtlPinAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
IN PRTL_ATOM Atom)
|
IN PRTL_ATOM Atom)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -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 */
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue