From 59d5c9f0163b20fbedcfba4dc031e79d9e0764d5 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Fri, 11 Jul 2003 01:23:16 +0000 Subject: [PATCH] finished applying @implemented and @unimplemented comments and remove the comments from non-api functions svn path=/trunk/; revision=5068 --- reactos/ntoskrnl/cc/misc.c | 1 - reactos/ntoskrnl/cc/view.c | 8 +- reactos/ntoskrnl/ex/btree.c | 17 ---- reactos/ntoskrnl/ex/hashtab.c | 10 -- reactos/ntoskrnl/ex/init.c | 3 - reactos/ntoskrnl/ex/list.c | 5 +- reactos/ntoskrnl/ex/lookas.c | 5 +- reactos/ntoskrnl/ex/power.c | 3 - reactos/ntoskrnl/ex/resource.c | 5 +- reactos/ntoskrnl/ex/stree.c | 21 ----- reactos/ntoskrnl/ex/sysinfo.c | 5 +- reactos/ntoskrnl/ex/time.c | 8 +- reactos/ntoskrnl/fs/filelock.c | 4 +- reactos/ntoskrnl/io/cancel.c | 5 +- reactos/ntoskrnl/io/cleanup.c | 8 -- reactos/ntoskrnl/io/create.c | 4 +- reactos/ntoskrnl/io/device.c | 14 +-- reactos/ntoskrnl/io/dir.c | 5 +- reactos/ntoskrnl/io/driver.c | 16 +--- reactos/ntoskrnl/io/file.c | 8 +- reactos/ntoskrnl/io/flush.c | 6 -- reactos/ntoskrnl/io/iocomp.c | 19 ---- reactos/ntoskrnl/io/iomgr.c | 11 +-- reactos/ntoskrnl/io/iowork.c | 5 +- reactos/ntoskrnl/io/lock.c | 3 - reactos/ntoskrnl/io/mailslot.c | 3 - reactos/ntoskrnl/io/npipe.c | 3 - reactos/ntoskrnl/io/page.c | 5 +- reactos/ntoskrnl/io/parttab.c | 11 +-- reactos/ntoskrnl/io/pnpmgr.c | 5 +- reactos/ntoskrnl/io/pnproot.c | 20 +--- reactos/ntoskrnl/io/rawfs.c | 17 +--- reactos/ntoskrnl/io/rw.c | 6 +- reactos/ntoskrnl/kd/kdebug.c | 5 +- reactos/ntoskrnl/ke/apc.c | 15 --- reactos/ntoskrnl/ke/bug.c | 5 +- reactos/ntoskrnl/ke/catch.c | 5 +- reactos/ntoskrnl/ke/dpc.c | 4 +- reactos/ntoskrnl/ke/error.c | 6 -- reactos/ntoskrnl/ke/i386/brkpoint.c | 6 ++ reactos/ntoskrnl/ke/i386/irq.c | 17 +++- reactos/ntoskrnl/ke/i386/usercall.c | 5 +- reactos/ntoskrnl/ke/kthread.c | 5 +- reactos/ntoskrnl/ke/queue.c | 5 +- reactos/ntoskrnl/ke/timer.c | 23 +---- reactos/ntoskrnl/ke/wait.c | 6 -- reactos/ntoskrnl/ldr/rtl.c | 11 +-- reactos/ntoskrnl/lpc/close.c | 6 +- reactos/ntoskrnl/lpc/complete.c | 4 +- reactos/ntoskrnl/lpc/connect.c | 9 +- reactos/ntoskrnl/lpc/create.c | 12 +-- reactos/ntoskrnl/lpc/listen.c | 4 +- reactos/ntoskrnl/lpc/port.c | 6 +- reactos/ntoskrnl/lpc/query.c | 4 +- reactos/ntoskrnl/lpc/queue.c | 17 +--- reactos/ntoskrnl/lpc/receive.c | 4 +- reactos/ntoskrnl/lpc/reply.c | 12 +-- reactos/ntoskrnl/lpc/send.c | 8 +- reactos/ntoskrnl/mm/anonmem.c | 8 +- reactos/ntoskrnl/mm/cont.c | 5 +- reactos/ntoskrnl/mm/i386/page.c | 5 +- reactos/ntoskrnl/mm/mm.c | 8 +- reactos/ntoskrnl/mm/mpw.c | 5 +- reactos/ntoskrnl/mm/npool.c | 14 +-- reactos/ntoskrnl/mm/pagefile.c | 5 +- reactos/ntoskrnl/mm/pool.c | 5 +- reactos/ntoskrnl/mm/ppool.c | 7 +- reactos/ntoskrnl/mm/section.c | 20 +--- reactos/ntoskrnl/mm/virtual.c | 23 +---- reactos/ntoskrnl/ob/security.c | 6 ++ reactos/ntoskrnl/po/power.c | 23 ++++- reactos/ntoskrnl/ps/create.c | 17 +++- reactos/ntoskrnl/ps/kill.c | 5 +- reactos/ntoskrnl/ps/process.c | 37 +++++++- reactos/ntoskrnl/ps/psmgr.c | 4 +- reactos/ntoskrnl/ps/thread.c | 23 ++++- reactos/ntoskrnl/ps/tinfo.c | 8 +- reactos/ntoskrnl/ps/win32.c | 5 +- reactos/ntoskrnl/rtl/atom.c | 38 +++++++- reactos/ntoskrnl/rtl/bitmap.c | 47 ++++++++- reactos/ntoskrnl/rtl/compress.c | 26 ++++- reactos/ntoskrnl/rtl/ctype.c | 32 ++++++- reactos/ntoskrnl/rtl/dos8dot3.c | 8 +- reactos/ntoskrnl/rtl/error.c | 9 +- reactos/ntoskrnl/rtl/i386/exception.c | 14 ++- reactos/ntoskrnl/rtl/largeint.c | 47 ++++++++- reactos/ntoskrnl/rtl/mem.c | 20 +++- reactos/ntoskrnl/rtl/nls.c | 47 ++++++++- reactos/ntoskrnl/rtl/qsort.c | 7 +- reactos/ntoskrnl/rtl/regio.c | 35 ++++++- reactos/ntoskrnl/rtl/sprintf.c | 14 ++- reactos/ntoskrnl/rtl/stdlib.c | 25 ++++- reactos/ntoskrnl/rtl/string.c | 21 +++++ reactos/ntoskrnl/rtl/swprintf.c | 8 +- reactos/ntoskrnl/rtl/time.c | 20 +++- reactos/ntoskrnl/rtl/timezone.c | 8 +- reactos/ntoskrnl/rtl/unicode.c | 131 +++++++++++++++++++++++++- reactos/ntoskrnl/rtl/wstring.c | 26 ++++- reactos/ntoskrnl/se/access.c | 8 +- reactos/ntoskrnl/se/acl.c | 11 ++- reactos/ntoskrnl/se/luid.c | 11 ++- reactos/ntoskrnl/se/priv.c | 8 +- reactos/ntoskrnl/se/sd.c | 38 +++++++- reactos/ntoskrnl/se/semgr.c | 20 +++- reactos/ntoskrnl/se/sid.c | 29 +++++- reactos/ntoskrnl/se/token.c | 23 ++++- 106 files changed, 911 insertions(+), 526 deletions(-) diff --git a/reactos/ntoskrnl/cc/misc.c b/reactos/ntoskrnl/cc/misc.c index d33b9c252ad..b4671400a0c 100644 --- a/reactos/ntoskrnl/cc/misc.c +++ b/reactos/ntoskrnl/cc/misc.c @@ -39,7 +39,6 @@ NTSTATUS CcRosInternalFreeCacheSegment(PCACHE_SEGMENT CacheSeg); * NOTE * Used by CcMdlReadComplete@8 and FsRtl * - * @unimplemented */ VOID STDCALL CcMdlReadCompleteDev (IN PMDL MdlChain, diff --git a/reactos/ntoskrnl/cc/view.c b/reactos/ntoskrnl/cc/view.c index 1f0d979bba6..c58b5feedcd 100644 --- a/reactos/ntoskrnl/cc/view.c +++ b/reactos/ntoskrnl/cc/view.c @@ -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: view.c,v 1.65 2003/07/10 06:27:13 royce Exp $ +/* $Id: view.c,v 1.66 2003/07/11 01:23:14 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/cc/view.c @@ -1041,9 +1041,6 @@ VOID CcRosDereferenceCache(PFILE_OBJECT FileObject) ExReleaseFastMutex(&ViewLock); } -/* - * @implemented - */ NTSTATUS STDCALL CcRosReleaseFileCache(PFILE_OBJECT FileObject) /* @@ -1116,9 +1113,6 @@ CcTryToInitializeFileCache(PFILE_OBJECT FileObject) } -/* - * @implemented - */ NTSTATUS STDCALL CcRosInitializeFileCache(PFILE_OBJECT FileObject, ULONG CacheSegmentSize) diff --git a/reactos/ntoskrnl/ex/btree.c b/reactos/ntoskrnl/ex/btree.c index ebeda0b89e7..98ab9a9f715 100644 --- a/reactos/ntoskrnl/ex/btree.c +++ b/reactos/ntoskrnl/ex/btree.c @@ -419,9 +419,6 @@ ExpBinaryTreeDefaultCompare(PVOID Key1, /* * Initializes a binary tree. */ -/* - * @implemented - */ BOOLEAN STDCALL ExInitializeBinaryTree(IN PBINARY_TREE Tree, IN PKEY_COMPARATOR Compare, @@ -485,9 +482,6 @@ ExInitializeBinaryTree(IN PBINARY_TREE Tree, /* * Release resources used by a binary tree. */ -/* - * @implemented - */ VOID STDCALL ExDeleteBinaryTree(IN PBINARY_TREE Tree) { @@ -507,8 +501,6 @@ ExDeleteBinaryTree(IN PBINARY_TREE Tree) /* * Insert a value in a binary tree. - * - * @unimplemented */ VOID STDCALL ExInsertBinaryTree(IN PBINARY_TREE Tree, @@ -545,9 +537,6 @@ ExInsertBinaryTree(IN PBINARY_TREE Tree, /* * Search for a value associated with a given key in a binary tree. */ -/* - * @implemented - */ BOOLEAN STDCALL ExSearchBinaryTree(IN PBINARY_TREE Tree, IN PVOID Key, @@ -576,9 +565,6 @@ ExSearchBinaryTree(IN PBINARY_TREE Tree, /* * Remove a value associated with a given key from a binary tree. */ -/* - * @implemented - */ BOOLEAN STDCALL ExRemoveBinaryTree(IN PBINARY_TREE Tree, IN PVOID Key, @@ -634,9 +620,6 @@ ExRemoveBinaryTree(IN PBINARY_TREE Tree, * TRUE if the callback routine did not request that the traversal * be terminated prematurely. */ -/* - * @implemented - */ BOOLEAN STDCALL ExTraverseBinaryTree(IN PBINARY_TREE Tree, IN TRAVERSE_METHOD Method, diff --git a/reactos/ntoskrnl/ex/hashtab.c b/reactos/ntoskrnl/ex/hashtab.c index 2d807352416..0c42567b8b9 100644 --- a/reactos/ntoskrnl/ex/hashtab.c +++ b/reactos/ntoskrnl/ex/hashtab.c @@ -187,8 +187,6 @@ ExpRemoveHashTable(IN PHASH_TABLE HashTable, /* * Initializes a hash table. - * - * @implemented */ BOOLEAN STDCALL ExInitializeHashTable(IN PHASH_TABLE HashTable, @@ -246,8 +244,6 @@ ExInitializeHashTable(IN PHASH_TABLE HashTable, /* * Release resources used by a hash table. - * - * @implemented */ VOID STDCALL ExDeleteHashTable(IN PHASH_TABLE HashTable) @@ -265,8 +261,6 @@ ExDeleteHashTable(IN PHASH_TABLE HashTable) /* * Insert a value in a hash table. - * - * @unimplemented */ VOID STDCALL ExInsertHashTable(IN PHASH_TABLE HashTable, @@ -286,8 +280,6 @@ ExInsertHashTable(IN PHASH_TABLE HashTable, /* * Search for a value associated with a given key in a hash table. - * - * @implemented */ BOOLEAN STDCALL ExSearchHashTable(IN PHASH_TABLE HashTable, @@ -308,8 +300,6 @@ ExSearchHashTable(IN PHASH_TABLE HashTable, /* * Remove a value associated with a given key from a hash table. - * - * @implemented */ BOOLEAN STDCALL ExRemoveHashTable(IN PHASH_TABLE HashTable, diff --git a/reactos/ntoskrnl/ex/init.c b/reactos/ntoskrnl/ex/init.c index 774a56e42bb..238cb95b411 100644 --- a/reactos/ntoskrnl/ex/init.c +++ b/reactos/ntoskrnl/ex/init.c @@ -59,9 +59,6 @@ ExIsProcessorFeaturePresent(IN ULONG ProcessorFeature) } -/* - * @implemented - */ VOID STDCALL ExPostSystemEvent (ULONG Unknown1, ULONG Unknown2, diff --git a/reactos/ntoskrnl/ex/list.c b/reactos/ntoskrnl/ex/list.c index 6e1805661d7..af733cb6ec9 100644 --- a/reactos/ntoskrnl/ex/list.c +++ b/reactos/ntoskrnl/ex/list.c @@ -1,4 +1,4 @@ -/* $Id: list.c,v 1.8 2003/07/10 06:27:13 royce Exp $ +/* $Id: list.c,v 1.9 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -122,9 +122,6 @@ ExInterlockedRemoveHeadList(PLIST_ENTRY Head, } -/* - * @implemented - */ PLIST_ENTRY ExInterlockedRemoveTailList(PLIST_ENTRY Head, PKSPIN_LOCK Lock) diff --git a/reactos/ntoskrnl/ex/lookas.c b/reactos/ntoskrnl/ex/lookas.c index b6d46d40168..18b34fbe0b1 100644 --- a/reactos/ntoskrnl/ex/lookas.c +++ b/reactos/ntoskrnl/ex/lookas.c @@ -1,4 +1,4 @@ -/* $Id: lookas.c,v 1.8 2003/07/10 06:27:13 royce Exp $ +/* $Id: lookas.c,v 1.9 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -102,6 +102,9 @@ ExpInitLookasideLists() ExpMinMaxRoutine = ExpDefaultMinMax; } +/* + * @implemented + */ PVOID STDCALL ExAllocateFromPagedLookasideList ( diff --git a/reactos/ntoskrnl/ex/power.c b/reactos/ntoskrnl/ex/power.c index 8e89e1f5ca6..94b3159cfa8 100644 --- a/reactos/ntoskrnl/ex/power.c +++ b/reactos/ntoskrnl/ex/power.c @@ -23,9 +23,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @unimplemented - */ NTSTATUS STDCALL NtSetSystemPowerState(IN POWER_ACTION SystemAction, IN SYSTEM_POWER_STATE MinSystemState, diff --git a/reactos/ntoskrnl/ex/resource.c b/reactos/ntoskrnl/ex/resource.c index 789af3002de..db4c9ec456b 100644 --- a/reactos/ntoskrnl/ex/resource.c +++ b/reactos/ntoskrnl/ex/resource.c @@ -1,4 +1,4 @@ -/* $Id: resource.c,v 1.22 2003/07/10 06:27:13 royce Exp $ +/* $Id: resource.c,v 1.23 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -54,9 +54,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @implemented - */ BOOLEAN STDCALL ExTryToAcquireResourceExclusiveLite ( diff --git a/reactos/ntoskrnl/ex/stree.c b/reactos/ntoskrnl/ex/stree.c index 77951365ea3..23427566f1a 100644 --- a/reactos/ntoskrnl/ex/stree.c +++ b/reactos/ntoskrnl/ex/stree.c @@ -1100,9 +1100,6 @@ ExpSplayTreeDefaultCompare(IN PVOID Key1, /* * Initializes a splay tree. */ -/* - * @implemented - */ BOOLEAN STDCALL ExInitializeSplayTree(IN PSPLAY_TREE Tree, IN PKEY_COMPARATOR Compare, @@ -1167,9 +1164,6 @@ ExInitializeSplayTree(IN PSPLAY_TREE Tree, /* * Release resources used by a splay tree. */ -/* - * @implemented - */ VOID STDCALL ExDeleteSplayTree(IN PSPLAY_TREE Tree) { @@ -1202,9 +1196,6 @@ ExDeleteSplayTree(IN PSPLAY_TREE Tree) /* * Insert a value in a splay tree. */ -/* - * @unimplemented - */ VOID STDCALL ExInsertSplayTree(IN PSPLAY_TREE Tree, IN PVOID Key, @@ -1228,9 +1219,6 @@ ExInsertSplayTree(IN PSPLAY_TREE Tree, /* * Search for a value associated with a given key in a splay tree. */ -/* - * @implemented - */ BOOLEAN STDCALL ExSearchSplayTree(IN PSPLAY_TREE Tree, IN PVOID Key, @@ -1261,9 +1249,6 @@ ExSearchSplayTree(IN PSPLAY_TREE Tree, /* * Remove a value associated with a given key from a splay tree. */ -/* - * @implemented - */ BOOLEAN STDCALL ExRemoveSplayTree(IN PSPLAY_TREE Tree, IN PVOID Key, @@ -1295,9 +1280,6 @@ ExRemoveSplayTree(IN PSPLAY_TREE Tree, * Return the weight of the root node in the splay tree. * The returned value is the number of nodes in the tree. */ -/* - * @implemented - */ BOOLEAN STDCALL ExWeightOfSplayTree(IN PSPLAY_TREE Tree, OUT PULONG Weight) @@ -1326,9 +1308,6 @@ ExWeightOfSplayTree(IN PSPLAY_TREE Tree, * TRUE if the callback routine did not request that the traversal * be terminated prematurely. */ -/* - * @implemented - */ BOOLEAN STDCALL ExTraverseSplayTree(IN PSPLAY_TREE Tree, IN TRAVERSE_METHOD Method, diff --git a/reactos/ntoskrnl/ex/sysinfo.c b/reactos/ntoskrnl/ex/sysinfo.c index 6522987b300..aa78732611a 100644 --- a/reactos/ntoskrnl/ex/sysinfo.c +++ b/reactos/ntoskrnl/ex/sysinfo.c @@ -1,4 +1,4 @@ -/* $Id: sysinfo.c,v 1.21 2003/05/28 18:09:10 chorns Exp $ +/* $Id: sysinfo.c,v 1.22 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -1116,6 +1116,9 @@ CallQS [] = }; +/* + * @implemented + */ NTSTATUS STDCALL NtQuerySystemInformation (IN SYSTEM_INFORMATION_CLASS SystemInformationClass, OUT PVOID UnsafeSystemInformation, diff --git a/reactos/ntoskrnl/ex/time.c b/reactos/ntoskrnl/ex/time.c index 187f1f4ede8..a7ee03c2436 100644 --- a/reactos/ntoskrnl/ex/time.c +++ b/reactos/ntoskrnl/ex/time.c @@ -1,4 +1,4 @@ -/* $Id: time.c,v 1.17 2003/07/10 06:27:13 royce Exp $ +/* $Id: time.c,v 1.18 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -41,9 +41,6 @@ ExInitTimeZoneInfo (VOID) } -/* - * @unimplemented - */ NTSTATUS STDCALL NtSetSystemTime (IN PLARGE_INTEGER UnsafeNewSystemTime, OUT PLARGE_INTEGER UnsafeOldSystemTime OPTIONAL) @@ -91,9 +88,6 @@ NtSetSystemTime (IN PLARGE_INTEGER UnsafeNewSystemTime, } -/* - * @implemented - */ NTSTATUS STDCALL NtQuerySystemTime (OUT PLARGE_INTEGER UnsafeCurrentTime) /* diff --git a/reactos/ntoskrnl/fs/filelock.c b/reactos/ntoskrnl/fs/filelock.c index 1d7d5e41c5a..8ae196b94fc 100644 --- a/reactos/ntoskrnl/fs/filelock.c +++ b/reactos/ntoskrnl/fs/filelock.c @@ -1,4 +1,4 @@ -/* $Id: filelock.c,v 1.8 2003/07/10 06:27:13 royce Exp $ +/* $Id: filelock.c,v 1.9 2003/07/11 01:23:14 royce Exp $ * * reactos/ntoskrnl/fs/filelock.c * @@ -722,8 +722,6 @@ FsRtlFastUnlockSingle ( * FsRtlpDumpFileLocks * * NOTE: used for testing and debugging - * - * @implemented */ VOID FASTCALL diff --git a/reactos/ntoskrnl/io/cancel.c b/reactos/ntoskrnl/io/cancel.c index a80f0abef4f..f7955d76200 100644 --- a/reactos/ntoskrnl/io/cancel.c +++ b/reactos/ntoskrnl/io/cancel.c @@ -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: cancel.c,v 1.10 2003/07/10 15:47:00 royce Exp $ +/* $Id: cancel.c,v 1.11 2003/07/11 01:23:14 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/io/cancel.c @@ -39,9 +39,6 @@ static KSPIN_LOCK CancelSpinLock; /* FUNCTIONS *****************************************************************/ -/* - * @unimplemented - */ NTSTATUS STDCALL NtCancelIoFile (IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock) diff --git a/reactos/ntoskrnl/io/cleanup.c b/reactos/ntoskrnl/io/cleanup.c index 8f5007e412b..064f2d7b712 100644 --- a/reactos/ntoskrnl/io/cleanup.c +++ b/reactos/ntoskrnl/io/cleanup.c @@ -126,9 +126,6 @@ VOID IoVolumeInformationCompletion(PDEVICE_OBJECT DeviceObject, } -/* - * @implemented - */ VOID STDCALL IoSecondStageCompletion_KernelApcRoutine( IN PKAPC Apc, @@ -142,9 +139,6 @@ IoSecondStageCompletion_KernelApcRoutine( } -/* - * @implemented - */ VOID STDCALL IoSecondStageCompletion_RundownApcRoutine( IN PKAPC Apc @@ -161,8 +155,6 @@ IoSecondStageCompletion_RundownApcRoutine( * FUNCTION: Performs the second stage of irp completion for read/write irps * * Called as a special kernel APC or directly from IofCompleteRequest() - * - * @implemented */ VOID STDCALL IoSecondStageCompletion( diff --git a/reactos/ntoskrnl/io/create.c b/reactos/ntoskrnl/io/create.c index 573436fa575..cbb17232a2f 100644 --- a/reactos/ntoskrnl/io/create.c +++ b/reactos/ntoskrnl/io/create.c @@ -1,4 +1,4 @@ -/* $Id: create.c,v 1.66 2003/07/10 15:47:00 royce Exp $ +/* $Id: create.c,v 1.67 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -61,8 +61,6 @@ NtDeleteFile(IN POBJECT_ATTRIBUTES ObjectAttributes) * RETURN VALUE * * REVISIONS - * - * @implemented */ NTSTATUS STDCALL IopCreateFile(PVOID ObjectBody, diff --git a/reactos/ntoskrnl/io/device.c b/reactos/ntoskrnl/io/device.c index a9a59ae8832..92bfc47ef48 100644 --- a/reactos/ntoskrnl/io/device.c +++ b/reactos/ntoskrnl/io/device.c @@ -1,4 +1,4 @@ -/* $Id: device.c,v 1.55 2003/07/10 15:47:00 royce Exp $ +/* $Id: device.c,v 1.56 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -261,9 +261,6 @@ IoRegisterDriverReinitialization(PDRIVER_OBJECT DriverObject, UNIMPLEMENTED; } -/* - * @unimplemented - */ NTSTATUS STDCALL IopDefaultDispatchFunction(PDEVICE_OBJECT DeviceObject, PIRP Irp) @@ -628,9 +625,6 @@ IoAttachDevice(PDEVICE_OBJECT SourceDevice, } -/* - * @implemented - */ NTSTATUS STDCALL IopCreateDevice(PVOID ObjectBody, PVOID Parent, @@ -778,9 +772,6 @@ IoCreateDevice(PDRIVER_OBJECT DriverObject, } -/* - * @unimplemented - */ NTSTATUS STDCALL IoOpenDeviceInstanceKey ( @@ -796,9 +787,6 @@ IoOpenDeviceInstanceKey ( } -/* - * @unimplemented - */ DWORD STDCALL IoQueryDeviceEnumInfo ( diff --git a/reactos/ntoskrnl/io/dir.c b/reactos/ntoskrnl/io/dir.c index 30903703c3e..1037f4cef83 100644 --- a/reactos/ntoskrnl/io/dir.c +++ b/reactos/ntoskrnl/io/dir.c @@ -1,4 +1,4 @@ -/* $Id: dir.c,v 1.17 2003/07/10 15:47:00 royce Exp $ +/* $Id: dir.c,v 1.18 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -172,9 +172,6 @@ NtQueryDirectoryFile( return(Status); } -/* - * @unimplemented - */ NTSTATUS STDCALL NtQueryOleDirectoryFile(VOID) { UNIMPLEMENTED; diff --git a/reactos/ntoskrnl/io/driver.c b/reactos/ntoskrnl/io/driver.c index 89f26385be4..6eac7dfc323 100644 --- a/reactos/ntoskrnl/io/driver.c +++ b/reactos/ntoskrnl/io/driver.c @@ -1,4 +1,4 @@ -/* $Id: driver.c,v 1.13 2003/07/10 15:47:00 royce Exp $ +/* $Id: driver.c,v 1.14 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -67,9 +67,6 @@ POBJECT_TYPE EXPORTED IoDriverObjectType = NULL; /* FUNCTIONS ***************************************************************/ -/* - * @implemented - */ NTSTATUS STDCALL IopCreateDriver(PVOID ObjectBody, PVOID Parent, @@ -129,8 +126,6 @@ IopInitDriverImplementation(VOID) * Status. * * REVISIONS - * - * @implemented */ NTSTATUS STDCALL NtLoadDriver(IN PUNICODE_STRING DriverServiceName) @@ -239,9 +234,6 @@ NtLoadDriver(IN PUNICODE_STRING DriverServiceName) } -/* - * @unimplemented - */ NTSTATUS STDCALL NtUnloadDriver(IN PUNICODE_STRING DriverServiceName) { @@ -251,9 +243,6 @@ NtUnloadDriver(IN PUNICODE_STRING DriverServiceName) } -/* - * @implemented - */ static NTSTATUS STDCALL IopCreateGroupListEntry(PWSTR ValueName, ULONG ValueType, @@ -292,9 +281,6 @@ IopCreateGroupListEntry(PWSTR ValueName, } -/* - * @implemented - */ static NTSTATUS STDCALL IopCreateServiceListEntry(PUNICODE_STRING ServiceName) { diff --git a/reactos/ntoskrnl/io/file.c b/reactos/ntoskrnl/io/file.c index 1cb30008628..25b6bb5fdad 100644 --- a/reactos/ntoskrnl/io/file.c +++ b/reactos/ntoskrnl/io/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.25 2003/07/10 15:47:00 royce Exp $ +/* $Id: file.c,v 1.26 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -354,9 +354,6 @@ NtSetInformationFile(HANDLE FileHandle, } -/* - * @implemented - */ NTSTATUS STDCALL NtQueryAttributesFile(IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PFILE_BASIC_INFORMATION FileInformation) @@ -394,9 +391,6 @@ NtQueryAttributesFile(IN POBJECT_ATTRIBUTES ObjectAttributes, } -/* - * @implemented - */ NTSTATUS STDCALL NtQueryFullAttributesFile(IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PFILE_NETWORK_OPEN_INFORMATION FileInformation) diff --git a/reactos/ntoskrnl/io/flush.c b/reactos/ntoskrnl/io/flush.c index 8f5cdae900c..831a67c3502 100644 --- a/reactos/ntoskrnl/io/flush.c +++ b/reactos/ntoskrnl/io/flush.c @@ -19,9 +19,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @implemented - */ NTSTATUS STDCALL NtFlushWriteBuffer(VOID) @@ -30,9 +27,6 @@ NtFlushWriteBuffer(VOID) return STATUS_SUCCESS; } -/* - * @implemented - */ NTSTATUS STDCALL NtFlushBuffersFile ( diff --git a/reactos/ntoskrnl/io/iocomp.c b/reactos/ntoskrnl/io/iocomp.c index d992ff7a543..61fcdbb1454 100644 --- a/reactos/ntoskrnl/io/iocomp.c +++ b/reactos/ntoskrnl/io/iocomp.c @@ -35,9 +35,6 @@ static GENERIC_MAPPING ExIoCompletionMapping = /* FUNCTIONS *****************************************************************/ -/* - * @implemented - */ NTSTATUS STDCALL NtpCreateIoCompletion( @@ -58,9 +55,6 @@ NtpCreateIoCompletion( return STATUS_SUCCESS; } -/* - * @implemented - */ VOID STDCALL NtpDeleteIoCompletion(PVOID ObjectBody) { @@ -108,9 +102,6 @@ NtInitializeIoCompletionImplementation(VOID) } -/* - * @implemented - */ NTSTATUS STDCALL NtCreateIoCompletion( @@ -159,9 +150,6 @@ Return Value STATUS_SUCCESS or an error status, such as STATUS_ACCESS_DENIED or STATUS_OBJECT_NAME_NOT_FOUND. */ -/* - * @implemented - */ NTSTATUS STDCALL NtOpenIoCompletion( @@ -184,9 +172,6 @@ NtOpenIoCompletion( } -/* - * @implemented - */ NTSTATUS STDCALL NtQueryIoCompletion( @@ -231,8 +216,6 @@ NtQueryIoCompletion( /* * Dequeues an I/O completion message from an I/O completion object - * - * @implemented */ NTSTATUS STDCALL @@ -292,8 +275,6 @@ typedef struct _IO_COMPLETION_CONTEXT { /* * Queues an I/O completion message to an I/O completion object - * - * @implemented */ NTSTATUS STDCALL diff --git a/reactos/ntoskrnl/io/iomgr.c b/reactos/ntoskrnl/io/iomgr.c index b7070177c30..734ee5b416a 100644 --- a/reactos/ntoskrnl/io/iomgr.c +++ b/reactos/ntoskrnl/io/iomgr.c @@ -1,4 +1,4 @@ -/* $Id: iomgr.c,v 1.35 2003/07/10 15:47:00 royce Exp $ +/* $Id: iomgr.c,v 1.36 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -43,9 +43,6 @@ static GENERIC_MAPPING IopFileMapping = {FILE_GENERIC_READ, /* FUNCTIONS ****************************************************************/ -/* - * @implemented - */ VOID STDCALL IopCloseFile(PVOID ObjectBody, ULONG HandleCount) @@ -90,9 +87,6 @@ IopCloseFile(PVOID ObjectBody, } -/* - * @implemented - */ VOID STDCALL IopDeleteFile(PVOID ObjectBody) { @@ -139,9 +133,6 @@ IopDeleteFile(PVOID ObjectBody) } -/* - * @implemented - */ NTSTATUS STDCALL IopQueryNameFile(PVOID ObjectBody, POBJECT_NAME_INFORMATION ObjectNameInfo, diff --git a/reactos/ntoskrnl/io/iowork.c b/reactos/ntoskrnl/io/iowork.c index f00dab3d31c..71e4987716d 100644 --- a/reactos/ntoskrnl/io/iowork.c +++ b/reactos/ntoskrnl/io/iowork.c @@ -1,4 +1,4 @@ -/* $Id: iowork.c,v 1.4 2003/07/10 15:47:00 royce Exp $ +/* $Id: iowork.c,v 1.5 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -34,9 +34,6 @@ typedef struct _IO_WORKITEM /* FUNCTIONS ****************************************************************/ -/* - * @implemented - */ VOID STDCALL STATIC IoWorkItemCallback(PVOID Parameter) { diff --git a/reactos/ntoskrnl/io/lock.c b/reactos/ntoskrnl/io/lock.c index 265d6c6729f..1f2fa0e2bbf 100644 --- a/reactos/ntoskrnl/io/lock.c +++ b/reactos/ntoskrnl/io/lock.c @@ -21,9 +21,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @unimplemented - */ NTSTATUS STDCALL NtLockFileCompletionRoutine( diff --git a/reactos/ntoskrnl/io/mailslot.c b/reactos/ntoskrnl/io/mailslot.c index d79893c5067..93d9c7e1147 100644 --- a/reactos/ntoskrnl/io/mailslot.c +++ b/reactos/ntoskrnl/io/mailslot.c @@ -18,9 +18,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @implemented - */ NTSTATUS STDCALL NtCreateMailslotFile(OUT PHANDLE FileHandle, IN ACCESS_MASK DesiredAccess, diff --git a/reactos/ntoskrnl/io/npipe.c b/reactos/ntoskrnl/io/npipe.c index 27b2a7fe1d5..e45596aa07f 100644 --- a/reactos/ntoskrnl/io/npipe.c +++ b/reactos/ntoskrnl/io/npipe.c @@ -17,9 +17,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @implemented - */ NTSTATUS STDCALL NtCreateNamedPipeFile(PHANDLE FileHandle, ACCESS_MASK DesiredAccess, diff --git a/reactos/ntoskrnl/io/page.c b/reactos/ntoskrnl/io/page.c index 2dd0a3bf787..1dafaa30f65 100644 --- a/reactos/ntoskrnl/io/page.c +++ b/reactos/ntoskrnl/io/page.c @@ -1,4 +1,4 @@ -/* $Id: page.c,v 1.20 2003/07/10 15:47:00 royce Exp $ +/* $Id: page.c,v 1.21 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -19,9 +19,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @implemented - */ NTSTATUS STDCALL IoPageWrite(PFILE_OBJECT FileObject, PMDL Mdl, diff --git a/reactos/ntoskrnl/io/parttab.c b/reactos/ntoskrnl/io/parttab.c index b5a6bc9aee0..4c6895a7bd4 100644 --- a/reactos/ntoskrnl/io/parttab.c +++ b/reactos/ntoskrnl/io/parttab.c @@ -1,4 +1,4 @@ -/* $Id: parttab.c,v 1.5 2003/07/10 15:47:00 royce Exp $ +/* $Id: parttab.c,v 1.6 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -19,9 +19,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @implemented - */ NTSTATUS STDCALL IoReadPartitionTable(PDEVICE_OBJECT DeviceObject, ULONG SectorSize, @@ -35,9 +32,6 @@ IoReadPartitionTable(PDEVICE_OBJECT DeviceObject, } -/* - * @implemented - */ NTSTATUS STDCALL IoSetPartitionInformation(PDEVICE_OBJECT DeviceObject, ULONG SectorSize, @@ -51,9 +45,6 @@ IoSetPartitionInformation(PDEVICE_OBJECT DeviceObject, } -/* - * @implemented - */ NTSTATUS STDCALL IoWritePartitionTable(PDEVICE_OBJECT DeviceObject, ULONG SectorSize, diff --git a/reactos/ntoskrnl/io/pnpmgr.c b/reactos/ntoskrnl/io/pnpmgr.c index 90a0fd3c6b7..6efd1df3193 100644 --- a/reactos/ntoskrnl/io/pnpmgr.c +++ b/reactos/ntoskrnl/io/pnpmgr.c @@ -1,4 +1,4 @@ -/* $Id: pnpmgr.c,v 1.11 2003/07/10 15:47:00 royce Exp $ +/* $Id: pnpmgr.c,v 1.12 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -95,9 +95,6 @@ IoReleaseRemoveLockAndWaitEx( { } -/* - * @unimplemented - */ VOID STDCALL IoAdjustPagingPathCount( diff --git a/reactos/ntoskrnl/io/pnproot.c b/reactos/ntoskrnl/io/pnproot.c index 2d06372136f..dac4b8979be 100644 --- a/reactos/ntoskrnl/io/pnproot.c +++ b/reactos/ntoskrnl/io/pnproot.c @@ -1,4 +1,4 @@ -/* $Id: pnproot.c,v 1.12 2003/07/10 15:47:00 royce Exp $ +/* $Id: pnproot.c,v 1.13 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -726,9 +726,6 @@ PnpRootQueryDeviceRelations( } -/* - * @implemented - */ NTSTATUS STDCALL PnpRootFdoPnpControl( @@ -787,9 +784,6 @@ PnpRootFdoPnpControl( } -/* - * @implemented - */ NTSTATUS STDCALL PnpRootFdoPowerControl( @@ -829,9 +823,6 @@ PnpRootFdoPowerControl( } -/* - * @implemented - */ NTSTATUS STDCALL PnpRootPnpControl( @@ -866,9 +857,6 @@ PnpRootPnpControl( } -/* - * @implemented - */ NTSTATUS STDCALL PnpRootPowerControl( @@ -898,9 +886,6 @@ PnpRootPowerControl( } -/* - * @implemented - */ NTSTATUS STDCALL PnpRootAddDevice( @@ -963,9 +948,6 @@ PnpRootAddDevice( } -/* - * @implemented - */ NTSTATUS STDCALL PnpRootDriverEntry( diff --git a/reactos/ntoskrnl/io/rawfs.c b/reactos/ntoskrnl/io/rawfs.c index d5ae710b2e2..ca2071d58e8 100755 --- a/reactos/ntoskrnl/io/rawfs.c +++ b/reactos/ntoskrnl/io/rawfs.c @@ -1,4 +1,4 @@ -/* $Id: rawfs.c,v 1.4 2003/07/10 15:47:00 royce Exp $ +/* $Id: rawfs.c,v 1.5 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -226,9 +226,6 @@ RawFsWriteDisk(IN PDEVICE_OBJECT pDeviceObject, return STATUS_SUCCESS; } -/* - * @implemented - */ static NTSTATUS RawFsBlockDeviceIoControl(IN PDEVICE_OBJECT DeviceObject, IN ULONG CtlCode, @@ -380,9 +377,6 @@ RawFsFreeIrpContext(IN PRAWFS_IRP_CONTEXT IrpContext) ExFreeToNPagedLookasideList(&IrpContextLookasideList, IrpContext); } -/* - * @implemented - */ static VOID STDCALL RawFsDoRequest(PVOID IrpContext) { @@ -778,9 +772,6 @@ RawFsFlush(IN PRAWFS_IRP_CONTEXT IrpContext) return STATUS_NOT_IMPLEMENTED; } -/* - * @unimplemented - */ static NTSTATUS STDCALL RawFsShutdown(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) { @@ -839,9 +830,6 @@ RawFsDispatchRequest(IN PRAWFS_IRP_CONTEXT IrpContext) } } -/* - * @implemented - */ static NTSTATUS STDCALL RawFsBuildRequest(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) @@ -880,9 +868,6 @@ RawFsBuildRequest(IN PDEVICE_OBJECT DeviceObject, return Status; } -/* - * @implemented - */ NTSTATUS STDCALL RawFsDriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) diff --git a/reactos/ntoskrnl/io/rw.c b/reactos/ntoskrnl/io/rw.c index b2abc765904..f425c6aacc7 100644 --- a/reactos/ntoskrnl/io/rw.c +++ b/reactos/ntoskrnl/io/rw.c @@ -1,4 +1,4 @@ -/* $Id: rw.c,v 1.44 2003/07/10 15:47:00 royce Exp $ +/* $Id: rw.c,v 1.45 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -321,8 +321,6 @@ NTSTATUS STDCALL NtWriteFile(HANDLE FileHandle, * RETURN VALUE * * REVISIONS - * - * @unimplemented */ NTSTATUS STDCALL @@ -353,8 +351,6 @@ NtReadFileScatter ( * RETURN VALUE * * REVISIONS - * - * @unimplemented */ NTSTATUS STDCALL diff --git a/reactos/ntoskrnl/kd/kdebug.c b/reactos/ntoskrnl/kd/kdebug.c index 904a53e04dc..eac554aad81 100644 --- a/reactos/ntoskrnl/kd/kdebug.c +++ b/reactos/ntoskrnl/kd/kdebug.c @@ -1,4 +1,4 @@ -/* $Id: kdebug.c,v 1.43 2003/07/10 15:50:09 royce Exp $ +/* $Id: kdebug.c,v 1.44 2003/07/11 01:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -376,9 +376,6 @@ KeEnterKernelDebugger(VOID) __asm__("hlt\n\t"); } -/* - * @implemented - */ VOID STDCALL KdSystemDebugControl(ULONG Code) { diff --git a/reactos/ntoskrnl/ke/apc.c b/reactos/ntoskrnl/ke/apc.c index c46891ac464..98f2f6a6d58 100644 --- a/reactos/ntoskrnl/ke/apc.c +++ b/reactos/ntoskrnl/ke/apc.c @@ -407,9 +407,6 @@ KeInsertQueueApc (PKAPC Apc, return TRUE; } -/* - * @implemented - */ BOOLEAN STDCALL KeRemoveQueueApc (PKAPC Apc) /* @@ -512,18 +509,12 @@ KeInitializeApc( } } -/* - * @implemented - */ VOID STDCALL NtQueueApcRundownRoutine(PKAPC Apc) { ExFreePool(Apc); } -/* - * @implemented - */ VOID STDCALL NtQueueApcKernelRoutine(PKAPC Apc, PKNORMAL_ROUTINE* NormalRoutine, @@ -534,9 +525,6 @@ NtQueueApcKernelRoutine(PKAPC Apc, ExFreePool(Apc); } -/* - * @implemented - */ NTSTATUS STDCALL NtQueueApcThread(HANDLE ThreadHandle, PKNORMAL_ROUTINE ApcRoutine, @@ -584,9 +572,6 @@ NtQueueApcThread(HANDLE ThreadHandle, } -/* - * @implemented - */ NTSTATUS STDCALL NtTestAlert(VOID) { KiTestAlert(); diff --git a/reactos/ntoskrnl/ke/bug.c b/reactos/ntoskrnl/ke/bug.c index fa688a7c0d4..0cf1d853416 100644 --- a/reactos/ntoskrnl/ke/bug.c +++ b/reactos/ntoskrnl/ke/bug.c @@ -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: bug.c,v 1.31 2003/07/10 17:44:06 royce Exp $ +/* $Id: bug.c,v 1.32 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/bug.c @@ -81,9 +81,6 @@ KeRegisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord, return(TRUE); } -/* - * @implemented - */ VOID STDCALL KeBugCheckWithTf(ULONG BugCheckCode, ULONG BugCheckParameter1, diff --git a/reactos/ntoskrnl/ke/catch.c b/reactos/ntoskrnl/ke/catch.c index abfcd3ca8c2..b4e0c49045c 100644 --- a/reactos/ntoskrnl/ke/catch.c +++ b/reactos/ntoskrnl/ke/catch.c @@ -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: catch.c,v 1.32 2003/07/10 17:44:06 royce Exp $ +/* $Id: catch.c,v 1.33 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/catch.c @@ -194,9 +194,6 @@ ExRaiseStatus (IN NTSTATUS Status) } -/* - * @implemented - */ NTSTATUS STDCALL NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord, IN PCONTEXT Context, diff --git a/reactos/ntoskrnl/ke/dpc.c b/reactos/ntoskrnl/ke/dpc.c index d8f3ad45dca..66fe61942f0 100644 --- a/reactos/ntoskrnl/ke/dpc.c +++ b/reactos/ntoskrnl/ke/dpc.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: dpc.c,v 1.26 2003/07/10 17:44:06 royce Exp $ +/* $Id: dpc.c,v 1.27 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -227,8 +227,6 @@ VOID KeInitDpc(VOID) /* * FUNCTION: Initialize DPC handling - * - * @implemented */ { InitializeListHead(&DpcQueueHead); diff --git a/reactos/ntoskrnl/ke/error.c b/reactos/ntoskrnl/ke/error.c index 878c7f53bf7..f0f82a48a7a 100644 --- a/reactos/ntoskrnl/ke/error.c +++ b/reactos/ntoskrnl/ke/error.c @@ -17,9 +17,6 @@ /* FUNCTIONS ***************************************************************/ -/* - * @unimplemented - */ NTSTATUS STDCALL NtRaiseHardError(IN NTSTATUS Status, ULONG Unknown2, @@ -32,9 +29,6 @@ NtRaiseHardError(IN NTSTATUS Status, return(STATUS_SUCCESS); } -/* - * @unimplemented - */ NTSTATUS STDCALL NtSetDefaultHardErrorPort(IN HANDLE PortHandle) { diff --git a/reactos/ntoskrnl/ke/i386/brkpoint.c b/reactos/ntoskrnl/ke/i386/brkpoint.c index 5f2f7eb6e10..9fbcfd132c3 100644 --- a/reactos/ntoskrnl/ke/i386/brkpoint.c +++ b/reactos/ntoskrnl/ke/i386/brkpoint.c @@ -31,12 +31,18 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ VOID STDCALL DbgBreakPoint(VOID) { __asm__("int $3\n\t"); } +/* + * @implemented + */ VOID STDCALL DbgBreakPointWithStatus(ULONG Status) { diff --git a/reactos/ntoskrnl/ke/i386/irq.c b/reactos/ntoskrnl/ke/i386/irq.c index 6604b319b0a..9e0c2f6898c 100644 --- a/reactos/ntoskrnl/ke/i386/irq.c +++ b/reactos/ntoskrnl/ke/i386/irq.c @@ -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: irq.c,v 1.32 2003/06/11 18:38:44 gvg Exp $ +/* $Id: irq.c,v 1.33 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/i386/irq.c @@ -558,6 +558,9 @@ KeDumpIrqList(VOID) } } +/* + * @implemented + */ NTSTATUS STDCALL KeConnectInterrupt(PKINTERRUPT InterruptObject) { @@ -623,6 +626,9 @@ KeConnectInterrupt(PKINTERRUPT InterruptObject) } +/* + * @implemented + */ VOID STDCALL KeDisconnectInterrupt(PKINTERRUPT InterruptObject) /* @@ -649,6 +655,9 @@ KeDisconnectInterrupt(PKINTERRUPT InterruptObject) } +/* + * @implemented + */ NTSTATUS STDCALL KeInitializeInterrupt(PKINTERRUPT InterruptObject, @@ -675,6 +684,9 @@ KeInitializeInterrupt(PKINTERRUPT InterruptObject, } +/* + * @implemented + */ NTSTATUS STDCALL IoConnectInterrupt(PKINTERRUPT* InterruptObject, PKSERVICE_ROUTINE ServiceRoutine, @@ -774,6 +786,9 @@ IoConnectInterrupt(PKINTERRUPT* InterruptObject, } +/* + * @implemented + */ VOID STDCALL IoDisconnectInterrupt(PKINTERRUPT InterruptObject) /* diff --git a/reactos/ntoskrnl/ke/i386/usercall.c b/reactos/ntoskrnl/ke/i386/usercall.c index beb20ac686e..0d628760200 100644 --- a/reactos/ntoskrnl/ke/i386/usercall.c +++ b/reactos/ntoskrnl/ke/i386/usercall.c @@ -1,4 +1,4 @@ -/* $Id: usercall.c,v 1.24 2003/06/20 16:21:11 ekohl Exp $ +/* $Id: usercall.c,v 1.25 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -86,6 +86,9 @@ VOID KiServiceCheck (ULONG Nr) // This function should be used by win32k.sys to add its own user32/gdi32 services // TableIndex is 0 based // ServiceCountTable its not used at the moment +/* + * @implemented + */ BOOLEAN STDCALL KeAddSystemServiceTable ( PSSDT SSDT, diff --git a/reactos/ntoskrnl/ke/kthread.c b/reactos/ntoskrnl/ke/kthread.c index 561c68561aa..a16e2150cc5 100644 --- a/reactos/ntoskrnl/ke/kthread.c +++ b/reactos/ntoskrnl/ke/kthread.c @@ -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: kthread.c,v 1.40 2003/07/10 17:44:06 royce Exp $ +/* $Id: kthread.c,v 1.41 2003/07/11 01:23:15 royce Exp $ * * FILE: ntoskrnl/ke/kthread.c * PURPOSE: Microkernel thread support @@ -240,9 +240,6 @@ KeInitializeThread(PKPROCESS Process, PKTHREAD Thread, BOOLEAN First) */ } -/* - * @implemented - */ VOID STDCALL KeRescheduleThread() { diff --git a/reactos/ntoskrnl/ke/queue.c b/reactos/ntoskrnl/ke/queue.c index da43726a7c0..c4068b3eb69 100644 --- a/reactos/ntoskrnl/ke/queue.c +++ b/reactos/ntoskrnl/ke/queue.c @@ -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: queue.c,v 1.7 2003/07/10 17:44:06 royce Exp $ +/* $Id: queue.c,v 1.8 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/queue.c @@ -66,9 +66,6 @@ KeReadStateQueue(IN PKQUEUE Queue) } -/* - * @implemented - */ LONG STDCALL KiInsertQueue( IN PKQUEUE Queue, diff --git a/reactos/ntoskrnl/ke/timer.c b/reactos/ntoskrnl/ke/timer.c index cde10f6f909..3cb20c6d1b2 100644 --- a/reactos/ntoskrnl/ke/timer.c +++ b/reactos/ntoskrnl/ke/timer.c @@ -1,4 +1,4 @@ -/* $Id: timer.c,v 1.59 2003/07/10 17:44:06 royce Exp $ +/* $Id: timer.c,v 1.60 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -75,9 +75,6 @@ static BOOLEAN TimerInitDone = FALSE; /* FUNCTIONS **************************************************************/ -/* - * @unimplemented - */ NTSTATUS STDCALL NtQueryTimerResolution(OUT PULONG MinimumResolution, OUT PULONG MaximumResolution, @@ -87,9 +84,6 @@ NtQueryTimerResolution(OUT PULONG MinimumResolution, } -/* - * @unimplemented - */ NTSTATUS STDCALL NtSetTimerResolution(IN ULONG RequestedResolution, IN BOOL SetOrUnset, @@ -99,9 +93,6 @@ NtSetTimerResolution(IN ULONG RequestedResolution, } -/* - * @implemented - */ NTSTATUS STDCALL NtQueryPerformanceCounter(IN PLARGE_INTEGER Counter, IN PLARGE_INTEGER Frequency) @@ -121,9 +112,6 @@ NtQueryPerformanceCounter(IN PLARGE_INTEGER Counter, } -/* - * @implemented - */ NTSTATUS STDCALL NtDelayExecution(IN ULONG Alertable, IN TIME* Interval) @@ -208,9 +196,6 @@ KeQuerySystemTime(PLARGE_INTEGER CurrentTime) } -/* - * @implemented - */ NTSTATUS STDCALL NtGetTickCount (PULONG UpTime) { @@ -412,9 +397,6 @@ KeQueryTickCount(PLARGE_INTEGER TickCount) TickCount->QuadPart = KeTickCount; } -/* - * @implemented - */ STATIC VOID HandleExpiredTimer(PKTIMER current) { @@ -444,9 +426,6 @@ HandleExpiredTimer(PKTIMER current) } } -/* - * @implemented - */ VOID STDCALL KeExpireTimers(PKDPC Dpc, PVOID Context1, diff --git a/reactos/ntoskrnl/ke/wait.c b/reactos/ntoskrnl/ke/wait.c index 6f9f5404c48..f2f0f19e55e 100644 --- a/reactos/ntoskrnl/ke/wait.c +++ b/reactos/ntoskrnl/ke/wait.c @@ -674,9 +674,6 @@ VOID KeInitializeDispatcher(VOID) KeInitializeSpinLock(&DispatcherDatabaseLock); } -/* - * @implemented - */ NTSTATUS STDCALL NtWaitForMultipleObjects(IN ULONG Count, IN HANDLE Object [], @@ -778,9 +775,6 @@ NtWaitForSingleObject(IN HANDLE Object, } -/* - * @implemented - */ NTSTATUS STDCALL NtSignalAndWaitForSingleObject(IN HANDLE SignalObject, IN HANDLE WaitObject, diff --git a/reactos/ntoskrnl/ldr/rtl.c b/reactos/ntoskrnl/ldr/rtl.c index ccee5e329fc..c1c33af7c43 100644 --- a/reactos/ntoskrnl/ldr/rtl.c +++ b/reactos/ntoskrnl/ldr/rtl.c @@ -1,4 +1,4 @@ -/* $Id: rtl.c,v 1.16 2003/07/10 20:34:50 royce Exp $ +/* $Id: rtl.c,v 1.17 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -89,9 +89,6 @@ RtlImageDirectoryEntryToData (IN PVOID BaseAddress, } -/* - * @implemented - */ PIMAGE_SECTION_HEADER STDCALL RtlImageRvaToSection ( @@ -119,9 +116,6 @@ RtlImageRvaToSection ( } -/* - * @implemented - */ ULONG STDCALL RtlImageRvaToVa ( @@ -156,9 +150,6 @@ RtlImageRvaToVa ( #define RVA(m, b) ((ULONG)b + m) -/* - * @implemented - */ NTSTATUS STDCALL LdrGetProcedureAddress (IN PVOID BaseAddress, IN PANSI_STRING Name, diff --git a/reactos/ntoskrnl/lpc/close.c b/reactos/ntoskrnl/lpc/close.c index cb3024b45a2..a7ba828ab2e 100644 --- a/reactos/ntoskrnl/lpc/close.c +++ b/reactos/ntoskrnl/lpc/close.c @@ -1,4 +1,4 @@ -/* $Id: close.c,v 1.11 2003/07/10 20:42:53 royce Exp $ +/* $Id: close.c,v 1.12 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -30,8 +30,6 @@ * RETURN VALUE * * REVISIONS - * - * @implemented */ VOID STDCALL NiClosePort (PVOID ObjectBody, ULONG HandleCount) @@ -85,8 +83,6 @@ NiClosePort (PVOID ObjectBody, ULONG HandleCount) * RETURN VALUE * * REVISIONS - * - * @unimplemented */ VOID STDCALL NiDeletePort (PVOID ObjectBody) diff --git a/reactos/ntoskrnl/lpc/complete.c b/reactos/ntoskrnl/lpc/complete.c index 854250d4c1b..97c2d82d08e 100644 --- a/reactos/ntoskrnl/lpc/complete.c +++ b/reactos/ntoskrnl/lpc/complete.c @@ -1,4 +1,4 @@ -/* $Id: complete.c,v 1.8 2003/07/10 20:42:53 royce Exp $ +/* $Id: complete.c,v 1.9 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -25,8 +25,6 @@ * NAME EXPORTED * NtCompleteConnectPort@4 * - * - * @implemented */ EXPORTED NTSTATUS STDCALL NtCompleteConnectPort (HANDLE PortHandle) diff --git a/reactos/ntoskrnl/lpc/connect.c b/reactos/ntoskrnl/lpc/connect.c index 8a027a9f314..715a84f8a8d 100644 --- a/reactos/ntoskrnl/lpc/connect.c +++ b/reactos/ntoskrnl/lpc/connect.c @@ -1,4 +1,4 @@ -/* $Id: connect.c,v 1.17 2003/07/10 20:42:53 royce Exp $ +/* $Id: connect.c,v 1.18 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -29,9 +29,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @unimplemented - */ NTSTATUS STDCALL EiConnectPort(IN PEPORT* ConnectedPort, IN PEPORT NamedPort, @@ -504,8 +501,6 @@ NtConnectPort (PHANDLE UnsafeConnectedPortHandle, * ReadMap * * RETURN VALUE - * - * @implemented */ EXPORTED NTSTATUS STDCALL NtAcceptConnectPort (PHANDLE ServerPortHandle, @@ -749,8 +744,6 @@ NtAcceptConnectPort (PHANDLE ServerPortHandle, * UserConnectInfoLength * * RETURN VALUE - * - * @unimplemented */ NTSTATUS STDCALL NtSecureConnectPort (OUT PHANDLE ConnectedPort, diff --git a/reactos/ntoskrnl/lpc/create.c b/reactos/ntoskrnl/lpc/create.c index 8ff3f31bf20..adda022a4a2 100644 --- a/reactos/ntoskrnl/lpc/create.c +++ b/reactos/ntoskrnl/lpc/create.c @@ -1,4 +1,4 @@ -/* $Id: create.c,v 1.11 2003/07/10 20:42:53 royce Exp $ +/* $Id: create.c,v 1.12 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -19,9 +19,6 @@ #define NDEBUG #include -/* - * @unimplemented - */ STATIC NTSTATUS STDCALL VerifyCreateParameters (IN PHANDLE PortHandle, IN POBJECT_ATTRIBUTES ObjectAttributes, @@ -58,9 +55,6 @@ VerifyCreateParameters (IN PHANDLE PortHandle, } -/* - * @implemented - */ NTSTATUS STDCALL NiCreatePort (PVOID ObjectBody, PVOID Parent, @@ -95,8 +89,6 @@ NiCreatePort (PVOID ObjectBody, * Reserved * * RETURN VALUE - * - * @implemented */ EXPORTED NTSTATUS STDCALL NtCreatePort (PHANDLE PortHandle, @@ -158,8 +150,6 @@ NtCreatePort (PHANDLE PortHandle, * Reserved * * RETURN VALUE - * - * @unimplemented */ EXPORTED NTSTATUS STDCALL NtCreateWaitablePort (OUT PHANDLE PortHandle, diff --git a/reactos/ntoskrnl/lpc/listen.c b/reactos/ntoskrnl/lpc/listen.c index 78a95cbf3b5..4010837ab8b 100644 --- a/reactos/ntoskrnl/lpc/listen.c +++ b/reactos/ntoskrnl/lpc/listen.c @@ -1,4 +1,4 @@ -/* $Id: listen.c,v 1.6 2003/07/10 20:42:53 royce Exp $ +/* $Id: listen.c,v 1.7 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -42,8 +42,6 @@ * request message queued by NtConnectPort() in PortHandle. * * NOTE - * - * @implemented */ EXPORTED NTSTATUS STDCALL NtListenPort (IN HANDLE PortHandle, diff --git a/reactos/ntoskrnl/lpc/port.c b/reactos/ntoskrnl/lpc/port.c index 32565119e87..ae8a48524cf 100644 --- a/reactos/ntoskrnl/lpc/port.c +++ b/reactos/ntoskrnl/lpc/port.c @@ -1,4 +1,4 @@ -/* $Id: port.c,v 1.12 2003/07/10 20:42:53 royce Exp $ +/* $Id: port.c,v 1.13 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -85,8 +85,6 @@ NTSTATUS NiInitPort (VOID) * RETURN VALUE * STATUS_SUCCESS if initialization succedeed. An error code * otherwise. - * - * @implemented */ NTSTATUS STDCALL NiInitializePort (IN OUT PEPORT Port) @@ -119,8 +117,6 @@ NiInitializePort (IN OUT PEPORT Port) * ClientMessage * * RETURN VALUE - * - * @unimplemented */ NTSTATUS STDCALL NtImpersonateClientOfPort (HANDLE PortHandle, diff --git a/reactos/ntoskrnl/lpc/query.c b/reactos/ntoskrnl/lpc/query.c index 6d690bcf3d4..43caccd15fd 100644 --- a/reactos/ntoskrnl/lpc/query.c +++ b/reactos/ntoskrnl/lpc/query.c @@ -1,4 +1,4 @@ -/* $Id: query.c,v 1.6 2003/07/10 20:42:53 royce Exp $ +/* $Id: query.c,v 1.7 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -41,8 +41,6 @@ * NOTES * P. Dabak reports that this system service seems to return * no information. - * - * @unimplemented */ EXPORTED NTSTATUS STDCALL NtQueryInformationPort (IN HANDLE PortHandle, diff --git a/reactos/ntoskrnl/lpc/queue.c b/reactos/ntoskrnl/lpc/queue.c index c65c8d32664..6fce6e6836e 100644 --- a/reactos/ntoskrnl/lpc/queue.c +++ b/reactos/ntoskrnl/lpc/queue.c @@ -1,4 +1,4 @@ -/* $Id: queue.c,v 1.8 2003/07/10 20:42:53 royce Exp $ +/* $Id: queue.c,v 1.9 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -21,9 +21,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @implemented - */ VOID STDCALL EiEnqueueMessagePort (IN OUT PEPORT Port, IN PQUEUEDMESSAGE Message) @@ -33,9 +30,6 @@ EiEnqueueMessagePort (IN OUT PEPORT Port, Port->QueueLength++; } -/* - * @implemented - */ VOID STDCALL EiEnqueueMessageAtHeadPort (IN OUT PEPORT Port, IN PQUEUEDMESSAGE Message) @@ -45,9 +39,6 @@ EiEnqueueMessageAtHeadPort (IN OUT PEPORT Port, Port->QueueLength++; } -/* - * @implemented - */ PQUEUEDMESSAGE STDCALL EiDequeueMessagePort (IN OUT PEPORT Port) { @@ -66,9 +57,6 @@ EiDequeueMessagePort (IN OUT PEPORT Port) } -/* - * @implemented - */ VOID STDCALL EiEnqueueConnectMessagePort (IN OUT PEPORT Port, IN PQUEUEDMESSAGE Message) @@ -79,9 +67,6 @@ EiEnqueueConnectMessagePort (IN OUT PEPORT Port, } -/* - * @implemented - */ PQUEUEDMESSAGE STDCALL EiDequeueConnectMessagePort (IN OUT PEPORT Port) { diff --git a/reactos/ntoskrnl/lpc/receive.c b/reactos/ntoskrnl/lpc/receive.c index 18e7ed0a984..16670b5530c 100644 --- a/reactos/ntoskrnl/lpc/receive.c +++ b/reactos/ntoskrnl/lpc/receive.c @@ -1,4 +1,4 @@ -/* $Id: receive.c,v 1.6 2003/07/10 20:42:53 royce Exp $ +/* $Id: receive.c,v 1.7 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -29,8 +29,6 @@ * ARGUMENTS * * RETURN VALUE - * - * @unimplemented */ NTSTATUS STDCALL NtReadRequestData (HANDLE PortHandle, diff --git a/reactos/ntoskrnl/lpc/reply.c b/reactos/ntoskrnl/lpc/reply.c index e466172df83..bcde0258c5e 100644 --- a/reactos/ntoskrnl/lpc/reply.c +++ b/reactos/ntoskrnl/lpc/reply.c @@ -1,4 +1,4 @@ -/* $Id: reply.c,v 1.16 2003/07/10 20:42:53 royce Exp $ +/* $Id: reply.c,v 1.17 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -37,8 +37,6 @@ * RETURN VALUE * * REVISIONS - * - * @implemented */ NTSTATUS STDCALL EiReplyOrRequestPort (IN PEPORT Port, @@ -86,8 +84,6 @@ EiReplyOrRequestPort (IN PEPORT Port, * RETURN VALUE * * REVISIONS - * - * @implemented */ NTSTATUS STDCALL NtReplyPort (IN HANDLE PortHandle, @@ -140,8 +136,6 @@ NtReplyPort (IN HANDLE PortHandle, * RETURN VALUE * * REVISIONS - * - * @unimplemented */ NTSTATUS STDCALL NtReplyWaitReceivePortEx(IN HANDLE PortHandle, @@ -308,8 +302,6 @@ NtReplyWaitReceivePortEx(IN HANDLE PortHandle, * RETURN VALUE * * REVISIONS - * - * @implemented */ NTSTATUS STDCALL NtReplyWaitReceivePort (IN HANDLE PortHandle, @@ -334,8 +326,6 @@ NtReplyWaitReceivePort (IN HANDLE PortHandle, * RETURN VALUE * * REVISIONS - * - * @unimplemented */ NTSTATUS STDCALL NtReplyWaitReplyPort (HANDLE PortHandle, diff --git a/reactos/ntoskrnl/lpc/send.c b/reactos/ntoskrnl/lpc/send.c index 1e757769cf0..d01494300a6 100644 --- a/reactos/ntoskrnl/lpc/send.c +++ b/reactos/ntoskrnl/lpc/send.c @@ -1,4 +1,4 @@ -/* $Id: send.c,v 1.10 2003/07/10 20:42:53 royce Exp $ +/* $Id: send.c,v 1.11 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -31,8 +31,6 @@ * RETURN VALUE * * REVISIONS - * - * @implemented */ NTSTATUS STDCALL LpcSendTerminationPort (IN PEPORT Port, @@ -57,8 +55,6 @@ LpcSendTerminationPort (IN PEPORT Port, * RETURN VALUE * * REVISIONS - * - * @implemented */ NTSTATUS STDCALL LpcSendDebugMessagePort (IN PEPORT Port, @@ -306,8 +302,6 @@ NtRequestWaitReplyPort (IN HANDLE PortHandle, * RETURN VALUE * * REVISIONS - * - * @unimplemented */ NTSTATUS STDCALL NtWriteRequestData (HANDLE PortHandle, PLPC_MESSAGE Message, diff --git a/reactos/ntoskrnl/mm/anonmem.c b/reactos/ntoskrnl/mm/anonmem.c index e8ce46c1e00..58628ef7d3c 100644 --- a/reactos/ntoskrnl/mm/anonmem.c +++ b/reactos/ntoskrnl/mm/anonmem.c @@ -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: anonmem.c,v 1.16 2003/07/10 21:05:03 royce Exp $ +/* $Id: anonmem.c,v 1.17 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/anonmem.c @@ -752,6 +752,9 @@ MmFreeVirtualMemory(PEPROCESS Process, (PVOID)Process); } +/* + * @unimplemented + */ NTSTATUS STDCALL NtFreeVirtualMemory(IN HANDLE ProcessHandle, IN PVOID* PBaseAddress, @@ -864,9 +867,6 @@ MmProtectAnonMem(PMADDRESS_SPACE AddressSpace, return(Status); } -/* - * @implemented - */ NTSTATUS STDCALL MmQueryAnonMem(PMEMORY_AREA MemoryArea, PVOID Address, diff --git a/reactos/ntoskrnl/mm/cont.c b/reactos/ntoskrnl/mm/cont.c index fa4214794b3..756db18044f 100644 --- a/reactos/ntoskrnl/mm/cont.c +++ b/reactos/ntoskrnl/mm/cont.c @@ -1,4 +1,4 @@ -/* $Id: cont.c,v 1.27 2003/07/10 21:05:03 royce Exp $ +/* $Id: cont.c,v 1.28 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -31,9 +31,6 @@ MmFreeContinuousPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address, } } -/* - * @implemented - */ PVOID STDCALL MmAllocateContiguousAlignedMemory(IN ULONG NumberOfBytes, IN PHYSICAL_ADDRESS HighestAcceptableAddress, diff --git a/reactos/ntoskrnl/mm/i386/page.c b/reactos/ntoskrnl/mm/i386/page.c index 8819812ff90..7b72089b96b 100644 --- a/reactos/ntoskrnl/mm/i386/page.c +++ b/reactos/ntoskrnl/mm/i386/page.c @@ -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: page.c,v 1.53 2003/06/19 19:01:01 gvg Exp $ +/* $Id: page.c,v 1.54 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/i386/page.c @@ -1221,6 +1221,9 @@ MmSetPageProtect(PEPROCESS Process, PVOID Address, ULONG flProtect) } } +/* + * @implemented + */ PHYSICAL_ADDRESS STDCALL MmGetPhysicalAddress(PVOID vaddr) /* diff --git a/reactos/ntoskrnl/mm/mm.c b/reactos/ntoskrnl/mm/mm.c index 12c226998f5..acf6dc44e05 100644 --- a/reactos/ntoskrnl/mm/mm.c +++ b/reactos/ntoskrnl/mm/mm.c @@ -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: mm.c,v 1.63 2003/07/10 21:05:03 royce Exp $ +/* $Id: mm.c,v 1.64 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top directory * PROJECT: ReactOS kernel @@ -158,9 +158,6 @@ BOOLEAN STDCALL MmIsAddressValid(PVOID VirtualAddress) return(TRUE); } -/* - * @implemented - */ NTSTATUS MmAccessFault(KPROCESSOR_MODE Mode, ULONG Address, BOOLEAN FromMdl) @@ -428,9 +425,6 @@ MmAdjustWorkingSetSize (DWORD Unknown0, } -/* - * @unimplemented - */ DWORD STDCALL MmDbgTranslatePhysicalAddress ( diff --git a/reactos/ntoskrnl/mm/mpw.c b/reactos/ntoskrnl/mm/mpw.c index ac33fd6acb9..89a4ba65592 100644 --- a/reactos/ntoskrnl/mm/mpw.c +++ b/reactos/ntoskrnl/mm/mpw.c @@ -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: mpw.c,v 1.13 2003/07/10 21:05:03 royce Exp $ +/* $Id: mpw.c,v 1.14 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/mpw.c @@ -46,9 +46,6 @@ static volatile BOOLEAN MpwThreadShouldTerminate; /* FUNCTIONS *****************************************************************/ -/* - * @unimplemented - */ NTSTATUS STDCALL MmWriteDirtyPages(ULONG Target, PULONG Actual) { diff --git a/reactos/ntoskrnl/mm/npool.c b/reactos/ntoskrnl/mm/npool.c index ec4e3ac3278..3a56bbafbbc 100644 --- a/reactos/ntoskrnl/mm/npool.c +++ b/reactos/ntoskrnl/mm/npool.c @@ -1,4 +1,4 @@ -/* $Id: npool.c,v 1.69 2003/07/10 21:05:03 royce Exp $ +/* $Id: npool.c,v 1.70 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -1455,9 +1455,6 @@ static void* grow_kernel_pool(unsigned int size, ULONG Tag, PVOID Caller) #endif /* not WHOLE_PAGE_ALLOCATIONS */ -/* - * @implemented - */ VOID STDCALL ExFreeNonPagedPool (PVOID block) /* * FUNCTION: Releases previously allocated memory @@ -1534,9 +1531,6 @@ VOID STDCALL ExFreeNonPagedPool (PVOID block) #endif /* WHOLE_PAGE_ALLOCATIONS */ } -/* - * @implemented - */ PVOID STDCALL ExAllocateNonPagedPoolWithTag(ULONG Type, ULONG Size, ULONG Tag, PVOID Caller) { @@ -1627,9 +1621,6 @@ ExAllocateNonPagedPoolWithTag(ULONG Type, ULONG Size, ULONG Tag, PVOID Caller) #ifdef WHOLE_PAGE_ALLOCATIONS -/* - * @implemented - */ PVOID STDCALL ExAllocateWholePageBlock(ULONG UserSize) { @@ -1662,9 +1653,6 @@ ExAllocateWholePageBlock(ULONG UserSize) return((PVOID)((ULONG)Address + (NrPages * PAGE_SIZE) - UserSize)); } -/* - * @implemented - */ VOID STDCALL ExFreeWholePageBlock(PVOID Addr) { diff --git a/reactos/ntoskrnl/mm/pagefile.c b/reactos/ntoskrnl/mm/pagefile.c index 46fd1bab2e5..2dcc0c16045 100644 --- a/reactos/ntoskrnl/mm/pagefile.c +++ b/reactos/ntoskrnl/mm/pagefile.c @@ -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: pagefile.c,v 1.31 2003/07/10 21:05:03 royce Exp $ +/* $Id: pagefile.c,v 1.32 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/pagefile.c @@ -560,9 +560,6 @@ MmDumpToPagingFile(ULONG BugCode, return(STATUS_SUCCESS); } -/* - * @implemented - */ NTSTATUS STDCALL NtCreatePagingFile(IN PUNICODE_STRING FileName, IN PLARGE_INTEGER InitialSize, diff --git a/reactos/ntoskrnl/mm/pool.c b/reactos/ntoskrnl/mm/pool.c index 103ab11222d..86bf23b5296 100644 --- a/reactos/ntoskrnl/mm/pool.c +++ b/reactos/ntoskrnl/mm/pool.c @@ -1,4 +1,4 @@ -/* $Id: pool.c,v 1.17 2003/07/10 21:05:04 royce Exp $ +/* $Id: pool.c,v 1.18 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -23,9 +23,6 @@ /* FUNCTIONS ***************************************************************/ -/* - * @unimplemented - */ PVOID STDCALL STATIC EiAllocatePool(POOL_TYPE PoolType, ULONG NumberOfBytes, diff --git a/reactos/ntoskrnl/mm/ppool.c b/reactos/ntoskrnl/mm/ppool.c index 3bf5c99007a..437aba0fa33 100644 --- a/reactos/ntoskrnl/mm/ppool.c +++ b/reactos/ntoskrnl/mm/ppool.c @@ -1,4 +1,4 @@ -/* $Id: ppool.c,v 1.12 2003/07/10 21:05:04 royce Exp $ +/* $Id: ppool.c,v 1.13 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -60,8 +60,6 @@ VOID MmInitializePagedPool(VOID) * ARGUMENTS * * RETURN VALUE - * - * @implemented */ PVOID STDCALL ExAllocatePagedPoolWithTag (IN POOL_TYPE PoolType, @@ -190,9 +188,6 @@ ExAllocatePagedPoolWithTag (IN POOL_TYPE PoolType, return(BlockAddress); } -/* - * @implemented - */ VOID STDCALL ExFreePagedPool(IN PVOID Block) { diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index dc6cc2417ec..6284158bcb4 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -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: section.c,v 1.120 2003/07/10 21:05:04 royce Exp $ +/* $Id: section.c,v 1.121 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/section.c @@ -1917,9 +1917,6 @@ MmProtectSectionView(PMADDRESS_SPACE AddressSpace, return(Status); } -/* - * @implemented - */ NTSTATUS STDCALL MmQuerySectionView(PMEMORY_AREA MemoryArea, PVOID Address, @@ -1954,9 +1951,6 @@ MmQuerySectionView(PMEMORY_AREA MemoryArea, return(STATUS_SUCCESS); } -/* - * @implemented - */ VOID STDCALL MmpDeleteSection(PVOID ObjectBody) { @@ -2902,8 +2896,6 @@ NtCreateSection (OUT PHANDLE SectionHandle, * RETURN VALUE * * REVISIONS - * - * @implemented */ NTSTATUS STDCALL NtOpenSection(PHANDLE SectionHandle, @@ -3268,8 +3260,6 @@ MmUnmapViewOfSection(PEPROCESS Process, * Status. * * REVISIONS - * - * @implemented */ NTSTATUS STDCALL NtUnmapViewOfSection (HANDLE ProcessHandle, @@ -3304,9 +3294,6 @@ NtUnmapViewOfSection (HANDLE ProcessHandle, } -/* - * @implemented - */ NTSTATUS STDCALL NtQuerySection (IN HANDLE SectionHandle, IN CINT SectionInformationClass, @@ -3404,9 +3391,6 @@ NtQuerySection (IN HANDLE SectionHandle, } -/* - * @unimplemented - */ NTSTATUS STDCALL NtExtendSection(IN HANDLE SectionHandle, IN ULONG NewMaximumSize) @@ -3431,8 +3415,6 @@ NtExtendSection(IN HANDLE SectionHandle, * Code taken from ntoskrnl/mm/special.c. * * REVISIONS - * - * @implemented */ PVOID STDCALL MmAllocateSection (IN ULONG Length) diff --git a/reactos/ntoskrnl/mm/virtual.c b/reactos/ntoskrnl/mm/virtual.c index af1b8fcc8f1..d7bca7695d9 100644 --- a/reactos/ntoskrnl/mm/virtual.c +++ b/reactos/ntoskrnl/mm/virtual.c @@ -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: virtual.c,v 1.67 2003/07/10 21:05:04 royce Exp $ +/* $Id: virtual.c,v 1.68 2003/07/11 01:23:15 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/virtual.c @@ -39,9 +39,6 @@ /* FUNCTIONS *****************************************************************/ -/* - * @unimplemented - */ NTSTATUS STDCALL NtFlushVirtualMemory(IN HANDLE ProcessHandle, IN PVOID BaseAddress, @@ -61,9 +58,6 @@ NtFlushVirtualMemory(IN HANDLE ProcessHandle, UNIMPLEMENTED; } -/* - * @unimplemented - */ NTSTATUS STDCALL NtLockVirtualMemory(HANDLE ProcessHandle, PVOID BaseAddress, @@ -73,9 +67,6 @@ NtLockVirtualMemory(HANDLE ProcessHandle, UNIMPLEMENTED; } -/* - * @implemented - */ NTSTATUS STDCALL NtQueryVirtualMemory (IN HANDLE ProcessHandle, IN PVOID Address, @@ -169,9 +160,6 @@ NtQueryVirtualMemory (IN HANDLE ProcessHandle, return(Status); } -/* - * @implemented - */ NTSTATUS STDCALL NtProtectVirtualMemory(IN HANDLE ProcessHandle, IN PVOID BaseAddress, @@ -237,9 +225,6 @@ NtProtectVirtualMemory(IN HANDLE ProcessHandle, return(Status); } -/* - * @implemented - */ NTSTATUS STDCALL NtReadVirtualMemory(IN HANDLE ProcessHandle, IN PVOID BaseAddress, @@ -294,9 +279,6 @@ NtReadVirtualMemory(IN HANDLE ProcessHandle, return(STATUS_SUCCESS); } -/* - * @unimplemented - */ NTSTATUS STDCALL NtUnlockVirtualMemory(HANDLE ProcessHandle, PVOID BaseAddress, @@ -307,9 +289,6 @@ NtUnlockVirtualMemory(HANDLE ProcessHandle, } -/* - * @implemented - */ NTSTATUS STDCALL NtWriteVirtualMemory(IN HANDLE ProcessHandle, IN PVOID BaseAddress, diff --git a/reactos/ntoskrnl/ob/security.c b/reactos/ntoskrnl/ob/security.c index 65d81ed1689..92119e6d041 100644 --- a/reactos/ntoskrnl/ob/security.c +++ b/reactos/ntoskrnl/ob/security.c @@ -53,6 +53,9 @@ ObReleaseObjectSecurity(IN PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtQuerySecurityObject(IN HANDLE Handle, IN SECURITY_INFORMATION SecurityInformation, @@ -97,6 +100,9 @@ NtQuerySecurityObject(IN HANDLE Handle, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtSetSecurityObject(IN HANDLE Handle, IN SECURITY_INFORMATION SecurityInformation, diff --git a/reactos/ntoskrnl/po/power.c b/reactos/ntoskrnl/po/power.c index aa50de6123a..88bfd8f947e 100644 --- a/reactos/ntoskrnl/po/power.c +++ b/reactos/ntoskrnl/po/power.c @@ -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: power.c,v 1.6 2002/09/08 10:23:39 chorns Exp $ +/* $Id: power.c,v 1.7 2003/07/11 01:23:15 royce Exp $ * PROJECT: ReactOS kernel * FILE: ntoskrnl/po/power.c * PURPOSE: Power Manager @@ -50,6 +50,9 @@ PoCallDriver( return Status; } +/* + * @unimplemented + */ PULONG STDCALL PoRegisterDeviceForIdleDetection( @@ -61,6 +64,9 @@ PoRegisterDeviceForIdleDetection( return NULL; } +/* + * @unimplemented + */ PVOID STDCALL PoRegisterSystemState( @@ -70,6 +76,9 @@ PoRegisterSystemState( return NULL; } +/* + * @unimplemented + */ NTSTATUS STDCALL PoRequestPowerIrp( @@ -90,6 +99,9 @@ PoSetDeviceBusy( { } +/* + * @unimplemented + */ POWER_STATE STDCALL PoSetPowerState( @@ -105,6 +117,9 @@ PoSetPowerState( return ps; } +/* + * @unimplemented + */ VOID STDCALL PoSetSystemState( @@ -112,6 +127,9 @@ PoSetSystemState( { } +/* + * @unimplemented + */ VOID STDCALL PoStartNextPowerIrp( @@ -119,6 +137,9 @@ PoStartNextPowerIrp( { } +/* + * @unimplemented + */ VOID STDCALL PoUnregisterSystemState( diff --git a/reactos/ntoskrnl/ps/create.c b/reactos/ntoskrnl/ps/create.c index 6cdcc53c3d2..ad411378fa5 100644 --- a/reactos/ntoskrnl/ps/create.c +++ b/reactos/ntoskrnl/ps/create.c @@ -1,4 +1,4 @@ -/* $Id: create.c,v 1.62 2003/06/20 16:22:20 ekohl Exp $ +/* $Id: create.c,v 1.63 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -90,6 +90,9 @@ PsAssignImpersonationToken(PETHREAD Thread, return(STATUS_SUCCESS); } +/* + * @implemented + */ VOID STDCALL PsRevertToSelf(VOID) { @@ -104,6 +107,9 @@ PsRevertToSelf(VOID) } } +/* + * @implemented + */ VOID STDCALL PsImpersonateClient(PETHREAD Thread, PACCESS_TOKEN Token, @@ -246,6 +252,9 @@ NtOpenThreadToken(IN HANDLE ThreadHandle, return(STATUS_UNSUCCESSFUL); } +/* + * @implemented + */ PACCESS_TOKEN STDCALL PsReferenceImpersonationToken(PETHREAD Thread, PULONG Unknown1, @@ -647,6 +656,9 @@ NtCreateThread(PHANDLE ThreadHandle, } +/* + * @implemented + */ NTSTATUS STDCALL PsCreateSystemThread(PHANDLE ThreadHandle, ACCESS_MASK DesiredAccess, @@ -707,6 +719,9 @@ PsCreateSystemThread(PHANDLE ThreadHandle, } +/* + * @implemented + */ NTSTATUS STDCALL PsSetCreateThreadNotifyRoutine(IN PCREATE_THREAD_NOTIFY_ROUTINE NotifyRoutine) { diff --git a/reactos/ntoskrnl/ps/kill.c b/reactos/ntoskrnl/ps/kill.c index ac2af198c25..3e35725019a 100644 --- a/reactos/ntoskrnl/ps/kill.c +++ b/reactos/ntoskrnl/ps/kill.c @@ -1,4 +1,4 @@ -/* $Id: kill.c,v 1.60 2003/06/05 23:36:35 gdalsnes Exp $ +/* $Id: kill.c,v 1.61 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -344,6 +344,9 @@ NtTerminateThread(IN HANDLE ThreadHandle, } +/* + * @implemented + */ NTSTATUS STDCALL PsTerminateSystemThread(NTSTATUS ExitStatus) /* diff --git a/reactos/ntoskrnl/ps/process.c b/reactos/ntoskrnl/ps/process.c index 9c31cac7391..dfd93d4baf1 100644 --- a/reactos/ntoskrnl/ps/process.c +++ b/reactos/ntoskrnl/ps/process.c @@ -1,4 +1,4 @@ -/* $Id: process.c,v 1.108 2003/06/20 16:22:20 ekohl Exp $ +/* $Id: process.c,v 1.109 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -124,6 +124,9 @@ _NtOpenProcessToken(IN HANDLE ProcessHandle, } +/* + * @implemented + */ NTSTATUS STDCALL NtOpenProcessToken(IN HANDLE ProcessHandle, IN ACCESS_MASK DesiredAccess, @@ -133,6 +136,9 @@ NtOpenProcessToken(IN HANDLE ProcessHandle, } +/* + * @implemented + */ PACCESS_TOKEN STDCALL PsReferencePrimaryToken(PEPROCESS Process) { @@ -407,6 +413,9 @@ KeGetCurrentProcess(VOID) return(&(PsGetCurrentProcess()->Pcb)); } +/* + * @implemented + */ HANDLE STDCALL PsGetCurrentProcessId(VOID) { @@ -415,6 +424,8 @@ PsGetCurrentProcessId(VOID) /* * FUNCTION: Returns a pointer to the current process + * + * @implemented */ PEPROCESS STDCALL IoGetCurrentProcess(VOID) @@ -430,6 +441,9 @@ IoGetCurrentProcess(VOID) } } +/* + * @implemented + */ NTSTATUS STDCALL PsCreateSystemProcess(PHANDLE ProcessHandle, ACCESS_MASK DesiredAccess, @@ -820,6 +834,9 @@ NtCreateProcess(OUT PHANDLE ProcessHandle, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtOpenProcess(OUT PHANDLE ProcessHandle, IN ACCESS_MASK DesiredAccess, @@ -903,6 +920,9 @@ NtOpenProcess(OUT PHANDLE ProcessHandle, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtQueryInformationProcess(IN HANDLE ProcessHandle, IN CINT ProcessInformationClass, @@ -1011,6 +1031,9 @@ PspAssignPrimaryToken(PEPROCESS Process, return(Status); } +/* + * @unimplemented + */ NTSTATUS STDCALL NtSetInformationProcess(IN HANDLE ProcessHandle, IN CINT ProcessInformationClass, @@ -1295,6 +1318,9 @@ PiQuerySystemProcessInformation(PVOID Buffer, #endif } +/* + * @implemented + */ LARGE_INTEGER STDCALL PsGetProcessExitTime(VOID) { @@ -1303,6 +1329,9 @@ PsGetProcessExitTime(VOID) return Li; } +/* + * @implemented + */ BOOLEAN STDCALL PsIsThreadTerminating(IN PETHREAD Thread) { @@ -1310,6 +1339,9 @@ PsIsThreadTerminating(IN PETHREAD Thread) } +/* + * @implemented + */ NTSTATUS STDCALL PsLookupProcessByProcessId(IN PVOID ProcessId, OUT PEPROCESS *Process) @@ -1342,6 +1374,9 @@ PsLookupProcessByProcessId(IN PVOID ProcessId, } +/* + * @implemented + */ NTSTATUS STDCALL PsSetCreateProcessNotifyRoutine(IN PCREATE_PROCESS_NOTIFY_ROUTINE NotifyRoutine, IN BOOLEAN Remove) diff --git a/reactos/ntoskrnl/ps/psmgr.c b/reactos/ntoskrnl/ps/psmgr.c index 464e86c23fd..cf1e3c73495 100644 --- a/reactos/ntoskrnl/ps/psmgr.c +++ b/reactos/ntoskrnl/ps/psmgr.c @@ -1,4 +1,4 @@ -/* $Id: psmgr.c,v 1.14 2002/09/08 10:23:40 chorns Exp $ +/* $Id: psmgr.c,v 1.15 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -63,6 +63,8 @@ VOID PiInitProcessManager(VOID) * NOTES * The DDK docs say something about a 'CmCSDVersionString'. * How do we determine in the build is checked or free?? + * + * @unimplemented */ BOOLEAN diff --git a/reactos/ntoskrnl/ps/thread.c b/reactos/ntoskrnl/ps/thread.c index eadb0e7f1b4..ddbf1d900b8 100644 --- a/reactos/ntoskrnl/ps/thread.c +++ b/reactos/ntoskrnl/ps/thread.c @@ -1,4 +1,4 @@ -/* $Id: thread.c,v 1.112 2003/06/05 11:51:13 chorns Exp $ +/* $Id: thread.c,v 1.113 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -61,11 +61,17 @@ static GENERIC_MAPPING PiThreadMapping = {THREAD_READ, /* FUNCTIONS ***************************************************************/ +/* + * @implemented + */ PKTHREAD STDCALL KeGetCurrentThread(VOID) { return(((PIKPCR) KeGetCurrentKPCR())->CurrentThread); } +/* + * @implemented + */ HANDLE STDCALL PsGetCurrentThreadId(VOID) { return(PsGetCurrentThread()->Cid.UniqueThread); @@ -468,6 +474,9 @@ PsInitThreadManagment(VOID) } } +/* + * @implemented + */ LONG STDCALL KeSetBasePriorityThread (PKTHREAD Thread, LONG Increment) @@ -487,6 +496,9 @@ KeSetBasePriorityThread (PKTHREAD Thread, } +/* + * @implemented + */ KPRIORITY STDCALL KeSetPriorityThread (PKTHREAD Thread, KPRIORITY Priority) { @@ -512,6 +524,9 @@ KeSetPriorityThread (PKTHREAD Thread, KPRIORITY Priority) return(OldPriority); } +/* + * @unimplemented + */ NTSTATUS STDCALL KeSetAffinityThread(PKTHREAD Thread, PVOID AfMask) @@ -596,6 +611,9 @@ NtYieldExecution(VOID) } +/* + * @implemented + */ NTSTATUS STDCALL PsLookupProcessThreadByCid(IN PCLIENT_ID Cid, OUT PEPROCESS *Process OPTIONAL, @@ -638,6 +656,9 @@ PsLookupProcessThreadByCid(IN PCLIENT_ID Cid, } +/* + * @implemented + */ NTSTATUS STDCALL PsLookupThreadByThreadId(IN PVOID ThreadId, OUT PETHREAD *Thread) diff --git a/reactos/ntoskrnl/ps/tinfo.c b/reactos/ntoskrnl/ps/tinfo.c index 09e8a3ba5ea..06e338e5b99 100644 --- a/reactos/ntoskrnl/ps/tinfo.c +++ b/reactos/ntoskrnl/ps/tinfo.c @@ -1,4 +1,4 @@ -/* $Id: tinfo.c,v 1.20 2003/04/30 21:56:22 gvg Exp $ +/* $Id: tinfo.c,v 1.21 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -329,12 +329,18 @@ VOID KeSetPreviousMode(ULONG Mode) PsGetCurrentThread()->Tcb.PreviousMode = Mode; } +/* + * @implemented + */ ULONG STDCALL KeGetPreviousMode (VOID) { return (ULONG)PsGetCurrentThread()->Tcb.PreviousMode; } +/* + * @implemented + */ ULONG STDCALL ExGetPreviousMode (VOID) { diff --git a/reactos/ntoskrnl/ps/win32.c b/reactos/ntoskrnl/ps/win32.c index bf5125cd423..12a7421934d 100644 --- a/reactos/ntoskrnl/ps/win32.c +++ b/reactos/ntoskrnl/ps/win32.c @@ -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: win32.c,v 1.6 2003/06/20 16:22:20 ekohl Exp $ +/* $Id: win32.c,v 1.7 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -74,6 +74,9 @@ PsCreateWin32Process(PEPROCESS Process) } +/* + * @implemented + */ VOID STDCALL PsEstablishWin32Callouts (PW32_PROCESS_CALLBACK W32ProcessCallback, PW32_THREAD_CALLBACK W32ThreadCallback, diff --git a/reactos/ntoskrnl/rtl/atom.c b/reactos/ntoskrnl/rtl/atom.c index a8732c37647..613226a10c1 100644 --- a/reactos/ntoskrnl/rtl/atom.c +++ b/reactos/ntoskrnl/rtl/atom.c @@ -1,4 +1,4 @@ -/* $Id: atom.c,v 1.4 2002/09/08 10:23:41 chorns Exp $ +/* $Id: atom.c,v 1.5 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -65,6 +65,9 @@ static PRTL_ATOM_TABLE GlobalAtomTable = NULL; /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL NtAddAtom(IN PWSTR AtomName, OUT PRTL_ATOM Atom) @@ -81,6 +84,9 @@ NtAddAtom(IN PWSTR AtomName, } +/* + * @implemented + */ NTSTATUS STDCALL NtDeleteAtom(IN RTL_ATOM Atom) { @@ -95,6 +101,9 @@ NtDeleteAtom(IN RTL_ATOM Atom) } +/* + * @implemented + */ NTSTATUS STDCALL NtFindAtom(IN PWSTR AtomName, OUT PRTL_ATOM Atom) @@ -111,6 +120,9 @@ NtFindAtom(IN PWSTR AtomName, } +/* + * @implemented + */ NTSTATUS STDCALL NtQueryInformationAtom(RTL_ATOM Atom, ATOM_INFORMATION_CLASS AtomInformationClass, @@ -151,6 +163,9 @@ NtQueryInformationAtom(RTL_ATOM Atom, } +/* + * @implemented + */ NTSTATUS STDCALL RtlCreateAtomTable(ULONG TableSize, PRTL_ATOM_TABLE *AtomTable) @@ -202,6 +217,9 @@ RtlCreateAtomTable(ULONG TableSize, } +/* + * @implemented + */ NTSTATUS STDCALL RtlDestroyAtomTable(IN PRTL_ATOM_TABLE AtomTable) { @@ -242,6 +260,9 @@ RtlDestroyAtomTable(IN PRTL_ATOM_TABLE AtomTable) } +/* + * @implemented + */ NTSTATUS STDCALL RtlEmptyAtomTable(IN PRTL_ATOM_TABLE AtomTable, IN BOOLEAN DeletePinned) @@ -291,6 +312,9 @@ RtlEmptyAtomTable(IN PRTL_ATOM_TABLE AtomTable, } +/* + * @implemented + */ NTSTATUS STDCALL RtlAddAtomToAtomTable(IN PRTL_ATOM_TABLE AtomTable, IN PWSTR AtomName, @@ -382,6 +406,9 @@ RtlAddAtomToAtomTable(IN PRTL_ATOM_TABLE AtomTable, } +/* + * @implemented + */ NTSTATUS STDCALL RtlDeleteAtomFromAtomTable(IN PRTL_ATOM_TABLE AtomTable, IN RTL_ATOM Atom) @@ -438,6 +465,9 @@ RtlDeleteAtomFromAtomTable(IN PRTL_ATOM_TABLE AtomTable, } +/* + * @implemented + */ NTSTATUS STDCALL RtlLookupAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable, IN PWSTR AtomName, @@ -498,6 +528,9 @@ RtlLookupAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlPinAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable, IN RTL_ATOM Atom) @@ -534,6 +567,9 @@ RtlPinAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable, } +/* + * @implemented + */ NTSTATUS STDCALL RtlQueryAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable, IN RTL_ATOM Atom, diff --git a/reactos/ntoskrnl/rtl/bitmap.c b/reactos/ntoskrnl/rtl/bitmap.c index 2eb8d099ce8..738787c35fb 100644 --- a/reactos/ntoskrnl/rtl/bitmap.c +++ b/reactos/ntoskrnl/rtl/bitmap.c @@ -1,4 +1,4 @@ -/* $Id: bitmap.c,v 1.8 2003/02/08 20:59:50 ekohl Exp $ +/* $Id: bitmap.c,v 1.9 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -16,6 +16,9 @@ #define MASK(Count, Shift) ((Count) == 32 ? 0xFFFFFFFF : ~(0xFFFFFFFF << (Count)) << (Shift)) +/* + * @implemented + */ VOID STDCALL RtlInitializeBitMap ( @@ -29,6 +32,9 @@ RtlInitializeBitMap ( } +/* + * @implemented + */ BOOLEAN STDCALL RtlAreBitsClear ( @@ -68,6 +74,9 @@ RtlAreBitsClear ( } +/* + * @implemented + */ BOOLEAN STDCALL RtlAreBitsSet ( @@ -107,6 +116,9 @@ RtlAreBitsSet ( } +/* + * @implemented + */ VOID STDCALL RtlClearAllBits ( @@ -119,6 +131,9 @@ RtlClearAllBits ( } +/* + * @implemented + */ VOID STDCALL RtlClearBits ( @@ -155,6 +170,9 @@ RtlClearBits ( } +/* + * @implemented + */ ULONG STDCALL RtlFindClearBits ( @@ -211,6 +229,9 @@ RtlFindClearBits ( } +/* + * @implemented + */ ULONG STDCALL RtlFindClearBitsAndSet ( @@ -233,6 +254,9 @@ RtlFindClearBitsAndSet ( } +/* + * @implemented + */ ULONG STDCALL RtlFindFirstRunClear ( @@ -351,6 +375,9 @@ RtlFindFirstRunSet ( } +/* + * @implemented + */ ULONG STDCALL RtlFindLongestRunClear ( @@ -465,6 +492,9 @@ RtlFindLongestRunSet ( } +/* + * @implemented + */ ULONG STDCALL RtlFindSetBits ( @@ -521,6 +551,9 @@ RtlFindSetBits ( } +/* + * @implemented + */ ULONG STDCALL RtlFindSetBitsAndClear ( @@ -543,6 +576,9 @@ RtlFindSetBitsAndClear ( } +/* + * @implemented + */ ULONG STDCALL RtlNumberOfClearBits ( @@ -572,6 +608,9 @@ RtlNumberOfClearBits ( } +/* + * @implemented + */ ULONG STDCALL RtlNumberOfSetBits ( @@ -601,6 +640,9 @@ RtlNumberOfSetBits ( } +/* + * @implemented + */ VOID STDCALL RtlSetAllBits ( @@ -613,6 +655,9 @@ RtlSetAllBits ( } +/* + * @implemented + */ VOID STDCALL RtlSetBits ( diff --git a/reactos/ntoskrnl/rtl/compress.c b/reactos/ntoskrnl/rtl/compress.c index b5772b15d82..6af1577dd74 100644 --- a/reactos/ntoskrnl/rtl/compress.c +++ b/reactos/ntoskrnl/rtl/compress.c @@ -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: compress.c,v 1.1 2002/07/25 13:17:28 ekohl Exp $ +/* $Id: compress.c,v 1.2 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -77,6 +77,9 @@ RtlpWorkSpaceSizeLZNT1(USHORT Engine, +/* + * @unimplemented + */ NTSTATUS STDCALL RtlCompressBuffer(IN USHORT CompressionFormatAndEngine, IN PUCHAR UncompressedBuffer, @@ -108,6 +111,9 @@ RtlCompressBuffer(IN USHORT CompressionFormatAndEngine, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlCompressChunks(IN PUCHAR UncompressedBuffer, IN ULONG UncompressedBufferSize, @@ -121,6 +127,9 @@ RtlCompressChunks(IN PUCHAR UncompressedBuffer, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlDecompressBuffer(IN USHORT CompressionFormat, OUT PUCHAR UncompressedBuffer, @@ -133,6 +142,9 @@ RtlDecompressBuffer(IN USHORT CompressionFormat, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlDecompressChunks(OUT PUCHAR UncompressedBuffer, IN ULONG UncompressedBufferSize, @@ -146,6 +158,9 @@ RtlDecompressChunks(OUT PUCHAR UncompressedBuffer, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlDecompressFragment(IN USHORT CompressionFormat, OUT PUCHAR UncompressedFragment, @@ -160,6 +175,9 @@ RtlDecompressFragment(IN USHORT CompressionFormat, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlDescribeChunk(IN USHORT CompressionFormat, IN OUT PUCHAR *CompressedBuffer, @@ -171,6 +189,9 @@ RtlDescribeChunk(IN USHORT CompressionFormat, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlGetCompressionWorkSpaceSize(IN USHORT CompressionFormatAndEngine, OUT PULONG CompressBufferAndWorkSpaceSize, @@ -192,6 +213,9 @@ RtlGetCompressionWorkSpaceSize(IN USHORT CompressionFormatAndEngine, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlReserveChunk(IN USHORT CompressionFormat, IN OUT PUCHAR *CompressedBuffer, diff --git a/reactos/ntoskrnl/rtl/ctype.c b/reactos/ntoskrnl/rtl/ctype.c index 012c7a5f4e6..0412cfea368 100644 --- a/reactos/ntoskrnl/rtl/ctype.c +++ b/reactos/ntoskrnl/rtl/ctype.c @@ -1,4 +1,4 @@ -/* $Id: ctype.c,v 1.11 2002/09/30 20:55:33 chorns Exp $ +/* $Id: ctype.c,v 1.12 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -324,6 +324,9 @@ int __iscsymf(int c) } */ +/* + * @implemented + */ int isdigit(int c) { return(_isctype(c, _DIGIT)); @@ -336,11 +339,17 @@ int isgraph(int c) } */ +/* + * @implemented + */ int islower(int c) { return (_isctype (c, _LOWER)); } +/* + * @implemented + */ int isprint(int c) { return (_isctype (c, _BLANK | _PUNCT | _ALPHA | _DIGIT)); @@ -353,16 +362,25 @@ int ispunct(int c) } */ +/* + * @implemented + */ int isspace(int c) { return (_isctype (c, _SPACE)); } +/* + * @implemented + */ int isupper(int c) { return (_isctype (c, _UPPER)); } +/* + * @implemented + */ int isxdigit(int c) { return (_isctype (c, _HEX)); @@ -412,6 +430,9 @@ int _toupper(int c) } */ +/* + * @implemented + */ int tolower(int c) { if (_isctype (c, _UPPER)) @@ -419,6 +440,9 @@ int tolower(int c) return(c); } +/* + * @implemented + */ int toupper(int c) { if (_isctype (c, _LOWER)) @@ -426,6 +450,9 @@ int toupper(int c) return(c); } +/* + * @implemented + */ wchar_t towlower(wchar_t c) { if (iswctype (c, _UPPER)) @@ -433,6 +460,9 @@ wchar_t towlower(wchar_t c) return(c); } +/* + * @implemented + */ wchar_t towupper(wchar_t c) { if (iswctype (c, _LOWER)) diff --git a/reactos/ntoskrnl/rtl/dos8dot3.c b/reactos/ntoskrnl/rtl/dos8dot3.c index 4794b296b6b..5dc254fd3ee 100644 --- a/reactos/ntoskrnl/rtl/dos8dot3.c +++ b/reactos/ntoskrnl/rtl/dos8dot3.c @@ -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: dos8dot3.c,v 1.6 2002/09/08 10:23:41 chorns Exp $ +/* $Id: dos8dot3.c,v 1.7 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -56,6 +56,9 @@ RtlpIsShortIllegal(WCHAR Char) } +/* + * @implemented + */ VOID STDCALL RtlGenerate8dot3Name(IN PUNICODE_STRING Name, IN BOOLEAN AllowExtendedCharacters, @@ -175,6 +178,9 @@ RtlGenerate8dot3Name(IN PUNICODE_STRING Name, } +/* + * @implemented + */ BOOLEAN STDCALL RtlIsNameLegalDOS8Dot3(IN PUNICODE_STRING UnicodeName, IN PANSI_STRING AnsiName, diff --git a/reactos/ntoskrnl/rtl/error.c b/reactos/ntoskrnl/rtl/error.c index 464ab7fd932..9bc78eae827 100644 --- a/reactos/ntoskrnl/rtl/error.c +++ b/reactos/ntoskrnl/rtl/error.c @@ -1,4 +1,4 @@ -/* $Id: error.c,v 1.8 2003/05/28 18:09:10 chorns Exp $ +/* $Id: error.c,v 1.9 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -830,6 +830,9 @@ RPC_NT_SS_CONTEXT_MISMATCH ERROR_INVALID_HANDLE /* FUNCTIONS ***************************************************************/ +/* + * @implemented + */ VOID STDCALL RtlAssert(PVOID FailedAssertion, @@ -861,6 +864,8 @@ RtlAssert(PVOID FailedAssertion, * * REMARK * RtlNtStatusToDosErrorNoTeb() does the real work. + * + * @implemented */ DWORD STDCALL RtlNtStatusToDosErrorNoTeb(IN NTSTATUS Status) @@ -921,6 +926,8 @@ RtlNtStatusToDosErrorNoTeb(IN NTSTATUS Status) * * REMARK * RtlNtStatusToDosErrorNoTeb() does the real work. + * + * @implemented */ DWORD STDCALL RtlNtStatusToDosError(IN NTSTATUS Status) diff --git a/reactos/ntoskrnl/rtl/i386/exception.c b/reactos/ntoskrnl/rtl/i386/exception.c index 2a587d25db0..6141489906c 100755 --- a/reactos/ntoskrnl/rtl/i386/exception.c +++ b/reactos/ntoskrnl/rtl/i386/exception.c @@ -1,4 +1,4 @@ -/* $Id: exception.c,v 1.6 2003/06/07 10:14:40 chorns Exp $ +/* $Id: exception.c,v 1.7 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -26,6 +26,9 @@ MsvcrtDebug(ULONG Value) } #endif +/* + * @implemented + */ int _abnormal_termination(void) { @@ -35,6 +38,9 @@ _abnormal_termination(void) struct _CONTEXT; +/* + * @implemented + */ EXCEPTION_DISPOSITION _except_handler2( struct _EXCEPTION_RECORD *ExceptionRecord, @@ -46,6 +52,9 @@ _except_handler2( return (EXCEPTION_DISPOSITION)0; } +/* + * @implemented + */ void __cdecl _global_unwind2(PEXCEPTION_REGISTRATION RegistrationFrame) { @@ -303,6 +312,9 @@ RtlRaiseStatus(NTSTATUS Status) RtlRaiseException (& ExceptionRecord); } +/* + * @implemented + */ VOID STDCALL RtlUnwind(PEXCEPTION_REGISTRATION RegistrationFrame, PVOID ReturnAddress, diff --git a/reactos/ntoskrnl/rtl/largeint.c b/reactos/ntoskrnl/rtl/largeint.c index e0c4b96b4cb..bbcc7620725 100644 --- a/reactos/ntoskrnl/rtl/largeint.c +++ b/reactos/ntoskrnl/rtl/largeint.c @@ -1,4 +1,4 @@ -/* $Id: largeint.c,v 1.14 2003/06/01 18:13:23 ekohl Exp $ +/* $Id: largeint.c,v 1.15 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -19,6 +19,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlConvertLongToLargeInteger ( @@ -32,6 +35,9 @@ RtlConvertLongToLargeInteger ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlConvertUlongToLargeInteger ( @@ -45,6 +51,9 @@ RtlConvertUlongToLargeInteger ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlEnlargedIntegerMultiply ( @@ -59,6 +68,9 @@ RtlEnlargedIntegerMultiply ( return RC; } +/* + * @implemented + */ ULONG STDCALL RtlEnlargedUnsignedDivide ( @@ -73,6 +85,9 @@ RtlEnlargedUnsignedDivide ( return (ULONG)(Dividend.QuadPart / Divisor); } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlEnlargedUnsignedMultiply ( @@ -87,6 +102,9 @@ RtlEnlargedUnsignedMultiply ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlExtendedIntegerMultiply ( @@ -101,6 +119,9 @@ RtlExtendedIntegerMultiply ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlExtendedLargeIntegerDivide ( @@ -144,6 +165,9 @@ RtlExtendedLargeIntegerDivide ( #define LOWER_32(A) ((A) & 0xffffffff) #define UPPER_32(A) ((A) >> 32) +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlExtendedMagicDivide (LARGE_INTEGER Dividend, LARGE_INTEGER MagicDivisor, @@ -191,6 +215,9 @@ RtlExtendedMagicDivide (LARGE_INTEGER Dividend, } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlLargeIntegerAdd ( @@ -205,6 +232,9 @@ RtlLargeIntegerAdd ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlLargeIntegerArithmeticShift ( @@ -231,6 +261,9 @@ RtlLargeIntegerArithmeticShift ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlLargeIntegerDivide ( @@ -249,6 +282,9 @@ RtlLargeIntegerDivide ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlLargeIntegerNegate ( @@ -262,6 +298,9 @@ RtlLargeIntegerNegate ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlLargeIntegerShiftLeft ( @@ -278,6 +317,9 @@ RtlLargeIntegerShiftLeft ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlLargeIntegerShiftRight ( @@ -294,6 +336,9 @@ RtlLargeIntegerShiftRight ( return RC; } +/* + * @implemented + */ LARGE_INTEGER STDCALL RtlLargeIntegerSubtract ( diff --git a/reactos/ntoskrnl/rtl/mem.c b/reactos/ntoskrnl/rtl/mem.c index 0234ee08dca..90c2d066aa8 100644 --- a/reactos/ntoskrnl/rtl/mem.c +++ b/reactos/ntoskrnl/rtl/mem.c @@ -1,4 +1,4 @@ -/* $Id: mem.c,v 1.18 2002/12/08 16:23:32 robd Exp $ +/* $Id: mem.c,v 1.19 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -62,6 +62,9 @@ MmCopyFromCaller(PVOID Dest, PVOID Src, ULONG NumberOfBytes) } +/* + * @implemented + */ ULONG STDCALL RtlCompareMemory(PVOID Source1, @@ -89,6 +92,9 @@ RtlCompareMemory(PVOID Source1, } +/* + * @implemented + */ ULONG STDCALL RtlCompareMemoryUlong ( @@ -139,6 +145,9 @@ VOID RtlCopyMemory(VOID* Destination, CONST VOID* Source, ULONG Length) } #endif +/* + * @implemented + */ VOID STDCALL RtlFillMemory ( @@ -151,6 +160,9 @@ RtlFillMemory ( } +/* + * @implemented + */ VOID STDCALL RtlFillMemoryUlong ( @@ -171,6 +183,9 @@ RtlFillMemoryUlong ( } +/* + * @implemented + */ VOID STDCALL RtlMoveMemory ( @@ -187,6 +202,9 @@ RtlMoveMemory ( } +/* + * @implemented + */ VOID STDCALL RtlZeroMemory ( diff --git a/reactos/ntoskrnl/rtl/nls.c b/reactos/ntoskrnl/rtl/nls.c index 386ad1084c9..b927596ea8f 100644 --- a/reactos/ntoskrnl/rtl/nls.c +++ b/reactos/ntoskrnl/rtl/nls.c @@ -1,4 +1,4 @@ -/* $Id: nls.c,v 1.16 2003/06/17 10:44:16 ekohl Exp $ +/* $Id: nls.c,v 1.17 2003/07/11 01:23:15 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -193,6 +193,9 @@ RtlpCreateNlsSection(VOID) } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlCustomCPToUnicodeN(IN PCPTABLEINFO CustomCP, PWCHAR UnicodeString, @@ -259,6 +262,9 @@ RtlDowncaseUnicodeChar (IN WCHAR Source) } +/* + * @implemented + */ VOID STDCALL RtlGetDefaultCodePage(PUSHORT AnsiCodePage, PUSHORT OemCodePage) @@ -268,6 +274,9 @@ RtlGetDefaultCodePage(PUSHORT AnsiCodePage, } +/* + * @implemented + */ VOID STDCALL RtlInitCodePageTable(IN PUSHORT TableBase, OUT PCPTABLEINFO CodePageTable) @@ -342,6 +351,9 @@ RtlInitNlsTables(IN PUSHORT AnsiTableBase, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlMultiByteToUnicodeN(PWCHAR UnicodeString, ULONG UnicodeSize, @@ -380,6 +392,9 @@ RtlMultiByteToUnicodeN(PWCHAR UnicodeString, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlMultiByteToUnicodeSize(PULONG UnicodeSize, PCHAR MbString, @@ -400,6 +415,9 @@ RtlMultiByteToUnicodeSize(PULONG UnicodeSize, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlOemToUnicodeN(PWCHAR UnicodeString, ULONG UnicodeSize, @@ -467,6 +485,9 @@ RtlResetRtlTranslations(IN PNLSTABLEINFO NlsTable) } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlUnicodeToCustomCPN(IN PCPTABLEINFO CustomCP, PCHAR CustomString, @@ -506,6 +527,9 @@ RtlUnicodeToCustomCPN(IN PCPTABLEINFO CustomCP, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlUnicodeToMultiByteN(PCHAR MbString, @@ -545,6 +569,9 @@ RtlUnicodeToMultiByteN(PCHAR MbString, } +/* + * @implemented + */ NTSTATUS STDCALL RtlUnicodeToMultiByteSize(PULONG MbSize, PWCHAR UnicodeString, @@ -580,6 +607,9 @@ RtlUnicodeToMultiByteSize(PULONG MbSize, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlUnicodeToOemN(PCHAR OemString, ULONG OemSize, @@ -618,6 +648,9 @@ RtlUnicodeToOemN(PCHAR OemString, } +/* + * @implemented + */ WCHAR STDCALL RtlUpcaseUnicodeChar(IN WCHAR Source) { @@ -642,6 +675,9 @@ RtlUpcaseUnicodeChar(IN WCHAR Source) } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlUpcaseUnicodeToCustomCPN(IN PCPTABLEINFO CustomCP, PCHAR CustomString, @@ -683,6 +719,9 @@ RtlUpcaseUnicodeToCustomCPN(IN PCPTABLEINFO CustomCP, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlUpcaseUnicodeToMultiByteN(PCHAR MbString, ULONG MbSize, @@ -723,6 +762,9 @@ RtlUpcaseUnicodeToMultiByteN(PCHAR MbString, } +/* + * @unimplemented + */ NTSTATUS STDCALL RtlUpcaseUnicodeToOemN(PCHAR OemString, ULONG OemSize, @@ -763,6 +805,9 @@ RtlUpcaseUnicodeToOemN(PCHAR OemString, } +/* + * @unimplemented + */ CHAR STDCALL RtlUpperChar (IN CHAR Source) { diff --git a/reactos/ntoskrnl/rtl/qsort.c b/reactos/ntoskrnl/rtl/qsort.c index 4e5eef51ce4..3ee4638df6b 100644 --- a/reactos/ntoskrnl/rtl/qsort.c +++ b/reactos/ntoskrnl/rtl/qsort.c @@ -1,4 +1,4 @@ -/* $Id: qsort.c,v 1.1 2000/03/18 15:12:19 ea Exp $ +/* $Id: qsort.c,v 1.2 2003/07/11 01:23:15 royce Exp $ * * FILE: ntoskrnl/rtl/qsort.c * NOTE: Adapted from CygWin newlib 2000-03-12. @@ -145,7 +145,10 @@ med3 ( } -/* EXPORTED */ +/* EXPORTED + * + * @implemented + */ void qsort ( void * a, diff --git a/reactos/ntoskrnl/rtl/regio.c b/reactos/ntoskrnl/rtl/regio.c index 476a81e8cb9..ec2026588af 100644 --- a/reactos/ntoskrnl/rtl/regio.c +++ b/reactos/ntoskrnl/rtl/regio.c @@ -1,4 +1,4 @@ -/* $Id: regio.c,v 1.5 2002/09/08 10:23:42 chorns Exp $ +/* $Id: regio.c,v 1.6 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -23,6 +23,9 @@ READ_REGISTER_UCHAR ( return *Register; } +/* + * @implemented + */ USHORT STDCALL READ_REGISTER_USHORT ( @@ -32,6 +35,9 @@ READ_REGISTER_USHORT ( return *Register; } +/* + * @implemented + */ ULONG STDCALL READ_REGISTER_ULONG ( @@ -41,6 +47,9 @@ READ_REGISTER_ULONG ( return *Register; } +/* + * @implemented + */ VOID STDCALL READ_REGISTER_BUFFER_UCHAR ( @@ -55,6 +64,9 @@ READ_REGISTER_BUFFER_UCHAR ( } } +/* + * @implemented + */ VOID STDCALL READ_REGISTER_BUFFER_USHORT ( @@ -69,6 +81,9 @@ READ_REGISTER_BUFFER_USHORT ( } } +/* + * @implemented + */ VOID STDCALL READ_REGISTER_BUFFER_ULONG ( @@ -83,6 +98,9 @@ READ_REGISTER_BUFFER_ULONG ( } } +/* + * @implemented + */ VOID STDCALL WRITE_REGISTER_UCHAR ( @@ -93,6 +111,9 @@ WRITE_REGISTER_UCHAR ( *Register = Value; } +/* + * @implemented + */ VOID STDCALL WRITE_REGISTER_USHORT ( @@ -103,6 +124,9 @@ WRITE_REGISTER_USHORT ( *Register = Value; } +/* + * @implemented + */ VOID STDCALL WRITE_REGISTER_ULONG ( @@ -113,6 +137,9 @@ WRITE_REGISTER_ULONG ( *Register = Value; } +/* + * @implemented + */ VOID STDCALL WRITE_REGISTER_BUFFER_UCHAR ( @@ -127,6 +154,9 @@ WRITE_REGISTER_BUFFER_UCHAR ( } } +/* + * @implemented + */ VOID STDCALL WRITE_REGISTER_BUFFER_USHORT ( @@ -141,6 +171,9 @@ WRITE_REGISTER_BUFFER_USHORT ( } } +/* + * @implemented + */ VOID STDCALL WRITE_REGISTER_BUFFER_ULONG ( diff --git a/reactos/ntoskrnl/rtl/sprintf.c b/reactos/ntoskrnl/rtl/sprintf.c index 9b1d9b28fcc..8ac20f1dec2 100644 --- a/reactos/ntoskrnl/rtl/sprintf.c +++ b/reactos/ntoskrnl/rtl/sprintf.c @@ -1,4 +1,4 @@ -/* $Id: sprintf.c,v 1.11 2002/09/13 18:43:01 hbirr Exp $ +/* $Id: sprintf.c,v 1.12 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -240,6 +240,9 @@ stringw(char* buf, char* end, const wchar_t* sw, int len, int field_width, int p return buf; } +/* + * @implemented + */ int _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args) { int len; @@ -521,6 +524,9 @@ int _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args) } +/* + * @implemented + */ int sprintf(char * buf, const char *fmt, ...) { va_list args; @@ -533,6 +539,9 @@ int sprintf(char * buf, const char *fmt, ...) } +/* + * @implemented + */ int _snprintf(char * buf, size_t cnt, const char *fmt, ...) { va_list args; @@ -545,6 +554,9 @@ int _snprintf(char * buf, size_t cnt, const char *fmt, ...) } +/* + * @implemented + */ int vsprintf(char *buf, const char *fmt, va_list args) { return _vsnprintf(buf,INT_MAX,fmt,args); diff --git a/reactos/ntoskrnl/rtl/stdlib.c b/reactos/ntoskrnl/rtl/stdlib.c index 1c474f8c445..3d4c6eef326 100644 --- a/reactos/ntoskrnl/rtl/stdlib.c +++ b/reactos/ntoskrnl/rtl/stdlib.c @@ -1,4 +1,4 @@ -/* $Id: stdlib.c,v 1.7 2002/09/08 10:23:42 chorns Exp $ +/* $Id: stdlib.c,v 1.8 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -31,8 +31,9 @@ int atoi(const char *str) /* * NOTE: no error + * + * @implemented */ - long atol(const char *str) { const char *s = str; @@ -105,6 +106,8 @@ long atol(const char *str) /* * NOTE: no radix range check (valid range: 2 - 36) + * + * @implemented */ char *_itoa (int value, char *string, int radix) @@ -146,6 +149,9 @@ char *_itoa (int value, char *string, int radix) } +/* + * @implemented + */ int rand(void) { next = next * 0x5deece66dLL + 11; @@ -153,12 +159,18 @@ int rand(void) } +/* + * @implemented + */ void srand(unsigned seed) { next = seed; } +/* + * @implemented + */ int mbtowc (wchar_t *wchar, const char *mbchar, size_t count) { NTSTATUS Status; @@ -179,6 +191,9 @@ int mbtowc (wchar_t *wchar, const char *mbchar, size_t count) } +/* + * @implemented + */ size_t mbstowcs (wchar_t *wcstr, const char *mbstr, size_t count) { NTSTATUS Status; @@ -208,6 +223,9 @@ size_t mbstowcs (wchar_t *wcstr, const char *mbstr, size_t count) } +/* + * @implemented + */ int wctomb (char *mbchar, wchar_t wchar) { NTSTATUS Status; @@ -228,6 +246,9 @@ int wctomb (char *mbchar, wchar_t wchar) } +/* + * @implemented + */ size_t wcstombs (char *mbstr, const wchar_t *wcstr, size_t count) { NTSTATUS Status; diff --git a/reactos/ntoskrnl/rtl/string.c b/reactos/ntoskrnl/rtl/string.c index cc6af9bc372..c194c5bb29f 100644 --- a/reactos/ntoskrnl/rtl/string.c +++ b/reactos/ntoskrnl/rtl/string.c @@ -28,6 +28,9 @@ int _stricmp(const char *s1, const char *s2) } +/* + * @implemented + */ char * _strlwr(char *x) { char *y=x; @@ -41,6 +44,9 @@ char * _strlwr(char *x) } +/* + * @implemented + */ int _strnicmp(const char *s1, const char *s2, size_t n) { if (n == 0) @@ -56,6 +62,9 @@ int _strnicmp(const char *s1, const char *s2, size_t n) return 0; } +/* + * @implemented + */ char* _strnset(char* szToFill, int szFill, size_t sizeMaxFill) { char *t = szToFill; @@ -71,6 +80,9 @@ char* _strnset(char* szToFill, int szFill, size_t sizeMaxFill) } +/* + * @implemented + */ char * _strrev(char *s) { char *e; @@ -92,6 +104,9 @@ char * _strrev(char *s) } +/* + * @implemented + */ char* _strset(char* szToFill, int szFill) { char *t = szToFill; @@ -105,6 +120,9 @@ char* _strset(char* szToFill, int szFill) } +/* + * @implemented + */ char *_strupr(char *x) { char *y=x; @@ -117,6 +135,9 @@ char *_strupr(char *x) return x; } +/* + * @implemented + */ char *strstr(const char *s, const char *find) { char c, sc; diff --git a/reactos/ntoskrnl/rtl/swprintf.c b/reactos/ntoskrnl/rtl/swprintf.c index 3c2e2ed474a..fc8ef146573 100644 --- a/reactos/ntoskrnl/rtl/swprintf.c +++ b/reactos/ntoskrnl/rtl/swprintf.c @@ -1,4 +1,4 @@ -/* $Id: swprintf.c,v 1.9 2002/09/13 18:43:01 hbirr Exp $ +/* $Id: swprintf.c,v 1.10 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -509,6 +509,9 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args) } +/* + * @implemented + */ int swprintf(wchar_t *buf, const wchar_t *fmt, ...) { va_list args; @@ -521,6 +524,9 @@ int swprintf(wchar_t *buf, const wchar_t *fmt, ...) } +/* + * @implemented + */ int _snwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, ...) { va_list args; diff --git a/reactos/ntoskrnl/rtl/time.c b/reactos/ntoskrnl/rtl/time.c index 57188c99030..6a8c2a37eb1 100644 --- a/reactos/ntoskrnl/rtl/time.c +++ b/reactos/ntoskrnl/rtl/time.c @@ -1,4 +1,4 @@ -/* $Id: time.c,v 1.16 2002/12/08 16:23:32 robd Exp $ +/* $Id: time.c,v 1.17 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -58,6 +58,9 @@ static __inline void NormalizeTimeFields(CSHORT *FieldToNormalize, /* FUNCTIONS *****************************************************************/ +/* + * @unimplemented + */ VOID STDCALL RtlTimeToTimeFields( @@ -138,6 +141,9 @@ RtlTimeToTimeFields( TimeFields->Day = (CSHORT) (Days + 1); } +/* + * @unimplemented + */ BOOLEAN STDCALL RtlTimeFieldsToTime( @@ -191,6 +197,9 @@ RtlTimeFieldsToTime( } +/* + * @implemented + */ VOID STDCALL RtlSecondsSince1970ToTime( @@ -205,6 +214,9 @@ RtlSecondsSince1970ToTime( } +/* + * @implemented + */ VOID STDCALL RtlSecondsSince1980ToTime( @@ -219,6 +231,9 @@ RtlSecondsSince1980ToTime( } +/* + * @implemented + */ BOOLEAN STDCALL RtlTimeToSecondsSince1970( @@ -239,6 +254,9 @@ RtlTimeToSecondsSince1970( } +/* + * @implemented + */ BOOLEAN STDCALL RtlTimeToSecondsSince1980( diff --git a/reactos/ntoskrnl/rtl/timezone.c b/reactos/ntoskrnl/rtl/timezone.c index 1600a13a73f..6726319be16 100644 --- a/reactos/ntoskrnl/rtl/timezone.c +++ b/reactos/ntoskrnl/rtl/timezone.c @@ -1,4 +1,4 @@ -/* $Id: timezone.c,v 1.4 2002/09/08 10:23:42 chorns Exp $ +/* $Id: timezone.c,v 1.5 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -21,6 +21,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL RtlQueryTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation) { @@ -92,6 +95,9 @@ RtlQueryTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation) } +/* + * @implemented + */ NTSTATUS STDCALL RtlSetTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation) { diff --git a/reactos/ntoskrnl/rtl/unicode.c b/reactos/ntoskrnl/rtl/unicode.c index efa3e06d4ff..bbe9501d936 100644 --- a/reactos/ntoskrnl/rtl/unicode.c +++ b/reactos/ntoskrnl/rtl/unicode.c @@ -1,4 +1,4 @@ -/* $Id: unicode.c,v 1.29 2003/07/09 20:13:56 hbirr Exp $ +/* $Id: unicode.c,v 1.30 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -50,6 +50,9 @@ RtlAnsiCharToUnicodeChar(IN CHAR AnsiChar) } +/* + * @implemented + */ ULONG STDCALL RtlAnsiStringToUnicodeSize(IN PANSI_STRING AnsiString) @@ -64,6 +67,9 @@ RtlAnsiStringToUnicodeSize(IN PANSI_STRING AnsiString) } +/* + * @implemented + */ NTSTATUS STDCALL RtlAnsiStringToUnicodeString(IN OUT PUNICODE_STRING DestinationString, @@ -122,6 +128,9 @@ RtlAnsiStringToUnicodeString(IN OUT PUNICODE_STRING DestinationString, } +/* + * @implemented + */ NTSTATUS STDCALL RtlAppendAsciizToString(IN OUT PSTRING Destination, @@ -150,6 +159,9 @@ RtlAppendAsciizToString(IN OUT PSTRING Destination, } +/* + * @implemented + */ NTSTATUS STDCALL RtlAppendStringToString(IN OUT PSTRING Destination, @@ -176,6 +188,9 @@ RtlAppendStringToString(IN OUT PSTRING Destination, } +/* + * @implemented + */ NTSTATUS STDCALL RtlAppendUnicodeStringToString(IN OUT PUNICODE_STRING Destination, @@ -193,6 +208,9 @@ RtlAppendUnicodeStringToString(IN OUT PUNICODE_STRING Destination, } +/* + * @implemented + */ NTSTATUS STDCALL RtlAppendUnicodeToString(IN OUT PUNICODE_STRING Destination, IN PWSTR Source) @@ -211,6 +229,9 @@ RtlAppendUnicodeToString(IN OUT PUNICODE_STRING Destination, } +/* + * @implemented + */ NTSTATUS STDCALL RtlCharToInteger(IN PCSZ String, @@ -251,6 +272,9 @@ RtlCharToInteger(IN PCSZ String, } +/* + * @implemented + */ LONG STDCALL RtlCompareString(IN PSTRING String1, @@ -297,6 +321,9 @@ RtlCompareString(IN PSTRING String1, } +/* + * @implemented + */ LONG STDCALL RtlCompareUnicodeString(IN PUNICODE_STRING String1, @@ -343,6 +370,9 @@ RtlCompareUnicodeString(IN PUNICODE_STRING String1, } +/* + * @implemented + */ VOID STDCALL RtlCopyString(IN OUT PSTRING DestinationString, @@ -365,6 +395,9 @@ RtlCopyString(IN OUT PSTRING DestinationString, } +/* + * @implemented + */ VOID STDCALL RtlCopyUnicodeString(IN OUT PUNICODE_STRING DestinationString, @@ -386,6 +419,9 @@ RtlCopyUnicodeString(IN OUT PUNICODE_STRING DestinationString, } +/* + * @implemented + */ BOOLEAN STDCALL RtlCreateUnicodeString(IN OUT PUNICODE_STRING Destination, @@ -431,6 +467,9 @@ RtlCreateUnicodeStringFromAsciiz(IN OUT PUNICODE_STRING Destination, } +/* + * @implemented + */ NTSTATUS STDCALL RtlDowncaseUnicodeString(IN OUT PUNICODE_STRING DestinationString, IN PUNICODE_STRING SourceString, @@ -482,6 +521,9 @@ RtlDowncaseUnicodeString(IN OUT PUNICODE_STRING DestinationString, } +/* + * @implemented + */ BOOLEAN STDCALL RtlEqualString(IN PSTRING String1, @@ -525,6 +567,9 @@ RtlEqualString(IN PSTRING String1, } +/* + * @implemented + */ BOOLEAN STDCALL RtlEqualUnicodeString(IN PUNICODE_STRING String1, @@ -567,6 +612,9 @@ RtlEqualUnicodeString(IN PUNICODE_STRING String1, } +/* + * @implemented + */ VOID STDCALL RtlFreeAnsiString(IN PANSI_STRING AnsiString) @@ -582,6 +630,9 @@ RtlFreeAnsiString(IN PANSI_STRING AnsiString) } +/* + * @implemented + */ VOID STDCALL RtlFreeOemString(IN POEM_STRING OemString) @@ -597,6 +648,9 @@ RtlFreeOemString(IN POEM_STRING OemString) } +/* + * @implemented + */ VOID STDCALL RtlFreeUnicodeString(IN PUNICODE_STRING UnicodeString) @@ -612,6 +666,9 @@ RtlFreeUnicodeString(IN PUNICODE_STRING UnicodeString) } +/* + * @implemented + */ VOID STDCALL RtlInitAnsiString(IN OUT PANSI_STRING DestinationString, @@ -634,6 +691,9 @@ RtlInitAnsiString(IN OUT PANSI_STRING DestinationString, } +/* + * @implemented + */ VOID STDCALL RtlInitString(IN OUT PSTRING DestinationString, @@ -656,6 +716,9 @@ RtlInitString(IN OUT PSTRING DestinationString, } +/* + * @implemented + */ VOID STDCALL RtlInitUnicodeString(IN OUT PUNICODE_STRING DestinationString, @@ -682,6 +745,9 @@ RtlInitUnicodeString(IN OUT PUNICODE_STRING DestinationString, } +/* + * @implemented + */ NTSTATUS STDCALL RtlIntegerToChar(IN ULONG Value, @@ -728,6 +794,9 @@ RtlIntegerToChar(IN ULONG Value, } +/* + * @implemented + */ NTSTATUS STDCALL RtlIntegerToUnicodeString(IN ULONG Value, @@ -757,6 +826,9 @@ RtlIntegerToUnicodeString(IN ULONG Value, } +/* + * @implemented + */ NTSTATUS STDCALL RtlOemStringToCountedUnicodeString(IN OUT PUNICODE_STRING DestinationString, @@ -813,6 +885,9 @@ RtlOemStringToCountedUnicodeString(IN OUT PUNICODE_STRING DestinationString, } +/* + * @implemented + */ ULONG STDCALL RtlOemStringToUnicodeSize(IN POEM_STRING OemString) @@ -827,6 +902,9 @@ RtlOemStringToUnicodeSize(IN POEM_STRING OemString) } +/* + * @implemented + */ NTSTATUS STDCALL RtlOemStringToUnicodeString(IN OUT PUNICODE_STRING DestinationString, @@ -885,6 +963,9 @@ RtlOemStringToUnicodeString(IN OUT PUNICODE_STRING DestinationString, } +/* + * @implemented + */ BOOLEAN STDCALL RtlPrefixString(IN PANSI_STRING String1, @@ -926,6 +1007,9 @@ RtlPrefixString(IN PANSI_STRING String1, } +/* + * @implemented + */ BOOLEAN STDCALL RtlPrefixUnicodeString(IN PUNICODE_STRING String1, @@ -968,6 +1052,9 @@ RtlPrefixUnicodeString(IN PUNICODE_STRING String1, } +/* + * @implemented + */ ULONG STDCALL RtlUnicodeStringToAnsiSize(IN PUNICODE_STRING UnicodeString) @@ -982,6 +1069,9 @@ RtlUnicodeStringToAnsiSize(IN PUNICODE_STRING UnicodeString) } +/* + * @implemented + */ NTSTATUS STDCALL RtlUnicodeStringToAnsiString(IN OUT PANSI_STRING DestinationString, @@ -1035,6 +1125,9 @@ RtlUnicodeStringToAnsiString(IN OUT PANSI_STRING DestinationString, } +/* + * @implemented + */ NTSTATUS STDCALL RtlUnicodeStringToCountedOemString(IN OUT POEM_STRING DestinationString, @@ -1098,6 +1191,9 @@ RtlUnicodeStringToCountedOemString(IN OUT POEM_STRING DestinationString, } +/* + * @implemented + */ NTSTATUS STDCALL RtlUnicodeStringToInteger(IN PUNICODE_STRING String, @@ -1186,6 +1282,9 @@ RtlUnicodeStringToInteger(IN PUNICODE_STRING String, } +/* + * @implemented + */ ULONG STDCALL RtlUnicodeStringToOemSize(IN PUNICODE_STRING UnicodeString) { @@ -1198,6 +1297,9 @@ RtlUnicodeStringToOemSize(IN PUNICODE_STRING UnicodeString) } +/* + * @implemented + */ NTSTATUS STDCALL RtlUnicodeStringToOemString(IN OUT POEM_STRING DestinationString, @@ -1251,6 +1353,9 @@ RtlUnicodeStringToOemString(IN OUT POEM_STRING DestinationString, } +/* + * @implemented + */ NTSTATUS STDCALL RtlUpcaseUnicodeString(IN OUT PUNICODE_STRING DestinationString, IN PCUNICODE_STRING SourceString, @@ -1290,6 +1395,9 @@ RtlUpcaseUnicodeString(IN OUT PUNICODE_STRING DestinationString, } +/* + * @implemented + */ NTSTATUS STDCALL RtlUpcaseUnicodeStringToAnsiString(IN OUT PANSI_STRING DestinationString, IN PUNICODE_STRING SourceString, @@ -1344,6 +1452,9 @@ RtlUpcaseUnicodeStringToAnsiString(IN OUT PANSI_STRING DestinationString, } +/* + * @implemented + */ NTSTATUS STDCALL RtlUpcaseUnicodeStringToCountedOemString(IN OUT POEM_STRING DestinationString, IN PUNICODE_STRING SourceString, @@ -1405,6 +1516,9 @@ RtlUpcaseUnicodeStringToCountedOemString(IN OUT POEM_STRING DestinationString, } +/* + * @implemented + */ NTSTATUS STDCALL RtlUpcaseUnicodeStringToOemString(IN OUT POEM_STRING DestinationString, IN PUNICODE_STRING SourceString, @@ -1457,6 +1571,9 @@ RtlUpcaseUnicodeStringToOemString(IN OUT POEM_STRING DestinationString, } +/* + * @implemented + */ VOID STDCALL RtlUpperString(PSTRING DestinationString, PSTRING SourceString) @@ -1483,6 +1600,9 @@ RtlUpperString(PSTRING DestinationString, } +/* + * @implemented + */ ULONG STDCALL RtlxAnsiStringToUnicodeSize(IN PANSI_STRING AnsiString) { @@ -1490,6 +1610,9 @@ RtlxAnsiStringToUnicodeSize(IN PANSI_STRING AnsiString) } +/* + * @implemented + */ ULONG STDCALL RtlxOemStringToUnicodeSize(IN POEM_STRING OemString) { @@ -1497,6 +1620,9 @@ RtlxOemStringToUnicodeSize(IN POEM_STRING OemString) } +/* + * @implemented + */ ULONG STDCALL RtlxUnicodeStringToAnsiSize(IN PUNICODE_STRING UnicodeString) { @@ -1504,6 +1630,9 @@ RtlxUnicodeStringToAnsiSize(IN PUNICODE_STRING UnicodeString) } +/* + * @implemented + */ ULONG STDCALL RtlxUnicodeStringToOemSize(IN PUNICODE_STRING UnicodeString) { diff --git a/reactos/ntoskrnl/rtl/wstring.c b/reactos/ntoskrnl/rtl/wstring.c index 0415b1d24b2..4bda720ff59 100644 --- a/reactos/ntoskrnl/rtl/wstring.c +++ b/reactos/ntoskrnl/rtl/wstring.c @@ -1,4 +1,4 @@ -/* $Id: wstring.c,v 1.19 2003/05/27 19:24:04 hbirr Exp $ +/* $Id: wstring.c,v 1.20 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -30,6 +30,9 @@ int _wcsicmp (const wchar_t* cs, const wchar_t* ct) return *cs - *ct; } +/* + * @implemented + */ wchar_t *_wcslwr (wchar_t *x) { wchar_t *y=x; @@ -43,6 +46,9 @@ wchar_t *_wcslwr (wchar_t *x) } +/* + * @implemented + */ int _wcsnicmp (const wchar_t * cs,const wchar_t * ct,size_t count) { if (count == 0) @@ -57,6 +63,9 @@ int _wcsnicmp (const wchar_t * cs,const wchar_t * ct,size_t count) } +/* + * @implemented + */ wchar_t *_wcsnset (wchar_t* wsToFill, wchar_t wcFill, size_t sizeMaxFill) { wchar_t *t = wsToFill; @@ -71,6 +80,9 @@ wchar_t *_wcsnset (wchar_t* wsToFill, wchar_t wcFill, size_t sizeMaxFill) } +/* + * @implemented + */ wchar_t *_wcsrev(wchar_t *s) { wchar_t *e; @@ -90,6 +102,9 @@ wchar_t *_wcsrev(wchar_t *s) } +/* + * @implemented + */ wchar_t *_wcsupr(wchar_t *x) { wchar_t *y=x; @@ -102,6 +117,9 @@ wchar_t *_wcsupr(wchar_t *x) return x; } +/* + * @implemented + */ size_t wcscspn(const wchar_t *str,const wchar_t *reject) { wchar_t *s; @@ -121,6 +139,9 @@ size_t wcscspn(const wchar_t *str,const wchar_t *reject) return s-str; /* nr of wchars */ } +/* + * @implemented + */ size_t wcsspn(const wchar_t *str,const wchar_t *accept) { wchar_t *s; @@ -143,6 +164,9 @@ size_t wcsspn(const wchar_t *str,const wchar_t *accept) } +/* + * @implemented + */ wchar_t *wcsstr(const wchar_t *s,const wchar_t *b) { wchar_t *x; diff --git a/reactos/ntoskrnl/se/access.c b/reactos/ntoskrnl/se/access.c index 25d874ec908..b42431bcd34 100644 --- a/reactos/ntoskrnl/se/access.c +++ b/reactos/ntoskrnl/se/access.c @@ -1,4 +1,4 @@ -/* $Id: access.c,v 1.3 2002/09/08 10:23:43 chorns Exp $ +/* $Id: access.c,v 1.4 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -27,6 +27,9 @@ RtlAreAllAccessesGranted ( } +/* + * @implemented + */ BOOLEAN STDCALL RtlAreAnyAccessesGranted ( @@ -38,6 +41,9 @@ RtlAreAnyAccessesGranted ( } +/* + * @implemented + */ VOID STDCALL RtlMapGenericMask ( diff --git a/reactos/ntoskrnl/se/acl.c b/reactos/ntoskrnl/se/acl.c index 49df6b5c18e..4e69055f65e 100644 --- a/reactos/ntoskrnl/se/acl.c +++ b/reactos/ntoskrnl/se/acl.c @@ -1,4 +1,4 @@ -/* $Id: acl.c,v 1.11 2003/02/15 21:05:15 ekohl Exp $ +/* $Id: acl.c,v 1.12 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -222,6 +222,9 @@ RtlpAddKnownAce(PACL Acl, } +/* + * @implemented + */ NTSTATUS STDCALL RtlAddAccessAllowedAce(PACL Acl, ULONG Revision, @@ -232,6 +235,9 @@ RtlAddAccessAllowedAce(PACL Acl, } +/* + * @implemented + */ NTSTATUS STDCALL RtlAddAce(PACL Acl, ULONG AclRevision, @@ -299,6 +305,9 @@ RtlAddAce(PACL Acl, } +/* + * @implemented + */ NTSTATUS STDCALL RtlCreateAcl(PACL Acl, ULONG AclSize, diff --git a/reactos/ntoskrnl/se/luid.c b/reactos/ntoskrnl/se/luid.c index 9edbf0db0e5..bb9dfff7884 100644 --- a/reactos/ntoskrnl/se/luid.c +++ b/reactos/ntoskrnl/se/luid.c @@ -1,4 +1,4 @@ -/* $Id: luid.c,v 1.7 2003/05/31 11:10:30 ekohl Exp $ +/* $Id: luid.c,v 1.8 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -34,6 +34,9 @@ SepInitLuid(VOID) } +/* + * @implemented + */ NTSTATUS STDCALL NtAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId) { @@ -55,6 +58,9 @@ NtAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId) } +/* + * @implemented + */ VOID STDCALL RtlCopyLuid(IN PLUID LuidDest, IN PLUID LuidSrc) @@ -64,6 +70,9 @@ RtlCopyLuid(IN PLUID LuidDest, } +/* + * @implemented + */ BOOLEAN STDCALL RtlEqualLuid(IN PLUID Luid1, IN PLUID Luid2) diff --git a/reactos/ntoskrnl/se/priv.c b/reactos/ntoskrnl/se/priv.c index 1d13bd10b37..f34c4b44740 100644 --- a/reactos/ntoskrnl/se/priv.c +++ b/reactos/ntoskrnl/se/priv.c @@ -1,4 +1,4 @@ -/* $Id: priv.c,v 1.8 2003/06/20 18:19:29 ekohl Exp $ +/* $Id: priv.c,v 1.9 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -285,6 +285,9 @@ NtPrivilegeCheck (IN HANDLE ClientToken, } +/* + * @implemented + */ BOOLEAN STDCALL SePrivilegeCheck (PPRIVILEGE_SET Privileges, PSECURITY_SUBJECT_CONTEXT SubjectContext, @@ -313,6 +316,9 @@ SePrivilegeCheck (PPRIVILEGE_SET Privileges, } +/* + * @implemented + */ BOOLEAN STDCALL SeSinglePrivilegeCheck (IN LUID PrivilegeValue, IN KPROCESSOR_MODE PreviousMode) diff --git a/reactos/ntoskrnl/se/sd.c b/reactos/ntoskrnl/se/sd.c index dcc22a03f3e..f7c6a2b34b4 100644 --- a/reactos/ntoskrnl/se/sd.c +++ b/reactos/ntoskrnl/se/sd.c @@ -1,4 +1,4 @@ -/* $Id: sd.c,v 1.9 2003/02/15 21:07:49 ekohl Exp $ +/* $Id: sd.c,v 1.10 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -112,6 +112,9 @@ SepInitSDs(VOID) } +/* + * @implemented + */ NTSTATUS STDCALL RtlCreateSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, ULONG Revision) @@ -131,6 +134,9 @@ RtlCreateSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @implemented + */ ULONG STDCALL RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor) { @@ -191,6 +197,9 @@ RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor) } +/* + * @implemented + */ NTSTATUS STDCALL RtlGetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, PBOOLEAN DaclPresent, @@ -239,6 +248,9 @@ RtlGetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @implemented + */ NTSTATUS STDCALL RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, BOOLEAN DaclPresent, @@ -274,6 +286,9 @@ RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @implemented + */ BOOLEAN STDCALL RtlValidSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor) { @@ -343,6 +358,9 @@ RtlValidSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor) } +/* + * @implemented + */ NTSTATUS STDCALL RtlSetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, PSID Owner, @@ -370,6 +388,9 @@ RtlSetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @implemented + */ NTSTATUS STDCALL RtlGetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, PSID* Owner, @@ -408,6 +429,9 @@ RtlGetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @implemented + */ NTSTATUS STDCALL RtlSetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, PSID Group, @@ -435,6 +459,9 @@ RtlSetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @implemented + */ NTSTATUS STDCALL RtlGetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, PSID* Group, @@ -475,6 +502,9 @@ RtlGetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @implemented + */ NTSTATUS STDCALL RtlGetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, PBOOLEAN SaclPresent, @@ -523,6 +553,9 @@ RtlGetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @implemented + */ NTSTATUS STDCALL RtlSetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, BOOLEAN SaclPresent, @@ -656,6 +689,9 @@ RtlpQuerySecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, } +/* + * @implemented + */ NTSTATUS STDCALL RtlAbsoluteToSelfRelativeSD(PSECURITY_DESCRIPTOR AbsSD, PSECURITY_DESCRIPTOR RelSD, diff --git a/reactos/ntoskrnl/se/semgr.c b/reactos/ntoskrnl/se/semgr.c index 18cd840ae74..7471f2c0f32 100644 --- a/reactos/ntoskrnl/se/semgr.c +++ b/reactos/ntoskrnl/se/semgr.c @@ -1,4 +1,4 @@ -/* $Id: semgr.c,v 1.24 2003/02/15 21:05:15 ekohl Exp $ +/* $Id: semgr.c,v 1.25 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -241,6 +241,9 @@ NtAccessCheckAndAuditAlarm(IN PUNICODE_STRING SubsystemName, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtAllocateUuids(PULARGE_INTEGER Time, PULONG Range, @@ -283,6 +286,9 @@ NtDeleteObjectAuditAlarm(IN PUNICODE_STRING SubsystemName, +/* + * @implemented + */ VOID STDCALL SeReleaseSubjectContext (PSECURITY_SUBJECT_CONTEXT SubjectContext) { ObDereferenceObject(SubjectContext->PrimaryToken); @@ -292,6 +298,9 @@ VOID STDCALL SeReleaseSubjectContext (PSECURITY_SUBJECT_CONTEXT SubjectContext) } } +/* + * @implemented + */ VOID STDCALL SeCaptureSubjectContext (PSECURITY_SUBJECT_CONTEXT SubjectContext) { PEPROCESS Process; @@ -310,6 +319,9 @@ VOID STDCALL SeCaptureSubjectContext (PSECURITY_SUBJECT_CONTEXT SubjectContext) } +/* + * @implemented + */ NTSTATUS STDCALL SeDeassignSecurity(PSECURITY_DESCRIPTOR* SecurityDescriptor) { @@ -370,6 +382,9 @@ NTSTATUS SepInheritAcl(PACL Acl, } #endif +/* + * @unimplemented + */ NTSTATUS STDCALL SeAssignSecurity(PSECURITY_DESCRIPTOR ParentDescriptor, PSECURITY_DESCRIPTOR ExplicitDescriptor, @@ -461,6 +476,9 @@ BOOLEAN SepSidInToken(PACCESS_TOKEN Token, } +/* + * @implemented + */ BOOLEAN STDCALL SeAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext, diff --git a/reactos/ntoskrnl/se/sid.c b/reactos/ntoskrnl/se/sid.c index 6a7a9ec63f8..6ca52c0ca97 100644 --- a/reactos/ntoskrnl/se/sid.c +++ b/reactos/ntoskrnl/se/sid.c @@ -1,4 +1,4 @@ -/* $Id: sid.c,v 1.13 2003/06/07 10:34:47 ekohl Exp $ +/* $Id: sid.c,v 1.14 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -468,6 +468,9 @@ SepInitSecurityIDs(VOID) } +/* + * @implemented + */ BOOLEAN STDCALL RtlValidSid(PSID Sid) { @@ -483,6 +486,9 @@ RtlValidSid(PSID Sid) } +/* + * @implemented + */ ULONG STDCALL RtlLengthRequiredSid(UCHAR SubAuthorityCount) { @@ -490,6 +496,9 @@ RtlLengthRequiredSid(UCHAR SubAuthorityCount) } +/* + * @implemented + */ NTSTATUS STDCALL RtlInitializeSid(PSID Sid, PSID_IDENTIFIER_AUTHORITY IdentifierAuthority, @@ -504,6 +513,9 @@ RtlInitializeSid(PSID Sid, } +/* + * @implemented + */ PULONG STDCALL RtlSubAuthoritySid(PSID Sid, ULONG SubAuthority) @@ -512,6 +524,9 @@ RtlSubAuthoritySid(PSID Sid, } +/* + * @implemented + */ PUCHAR STDCALL RtlSubAuthorityCountSid(PSID Sid) { @@ -519,6 +534,9 @@ RtlSubAuthorityCountSid(PSID Sid) } +/* + * @implemented + */ BOOLEAN STDCALL RtlEqualSid(PSID Sid1, PSID Sid2) @@ -540,6 +558,9 @@ RtlEqualSid(PSID Sid1, } +/* + * @implemented + */ ULONG STDCALL RtlLengthSid(PSID Sid) { @@ -547,6 +568,9 @@ RtlLengthSid(PSID Sid) } +/* + * @implemented + */ NTSTATUS STDCALL RtlCopySid(ULONG BufferLength, PSID Dest, @@ -593,6 +617,9 @@ RtlCopySidAndAttributesArray(ULONG Count, } +/* + * @implemented + */ NTSTATUS STDCALL RtlConvertSidToUnicodeString(PUNICODE_STRING String, PSID Sid, diff --git a/reactos/ntoskrnl/se/token.c b/reactos/ntoskrnl/se/token.c index 495cd3132bc..13a701439c9 100644 --- a/reactos/ntoskrnl/se/token.c +++ b/reactos/ntoskrnl/se/token.c @@ -1,4 +1,4 @@ -/* $Id: token.c,v 1.25 2003/06/17 10:42:37 ekohl Exp $ +/* $Id: token.c,v 1.26 2003/07/11 01:23:16 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -313,6 +313,9 @@ NTSTATUS SeCopyClientToken(PACCESS_TOKEN Token, } +/* + * @implemented + */ NTSTATUS STDCALL SeCreateClientSecurity(IN struct _ETHREAD *Thread, IN PSECURITY_QUALITY_OF_SERVICE Qos, @@ -402,6 +405,9 @@ SeCreateClientSecurity(IN struct _ETHREAD *Thread, } +/* + * @implemented + */ VOID STDCALL SeImpersonateClient(IN PSECURITY_CLIENT_CONTEXT ClientContext, IN PETHREAD ServerThread OPTIONAL) @@ -473,6 +479,9 @@ SepInitializeTokenImplementation(VOID) } +/* + * @implemented + */ NTSTATUS STDCALL NtQueryInformationToken(IN HANDLE TokenHandle, IN TOKEN_INFORMATION_CLASS TokenInformationClass, @@ -736,6 +745,9 @@ NtSetInformationToken(IN HANDLE TokenHandle, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtDuplicateToken(IN HANDLE ExistingTokenHandle, IN ACCESS_MASK DesiredAccess, @@ -878,6 +890,9 @@ SepAdjustPrivileges(PACCESS_TOKEN Token, #endif +/* + * @implemented + */ NTSTATUS STDCALL NtAdjustPrivilegesToken (IN HANDLE TokenHandle, IN BOOLEAN DisableAllPrivileges, @@ -1384,6 +1399,9 @@ NtCreateToken(OUT PHANDLE UnsafeTokenHandle, } +/* + * @implemented + */ SECURITY_IMPERSONATION_LEVEL STDCALL SeTokenImpersonationLevel(IN PACCESS_TOKEN Token) { @@ -1391,6 +1409,9 @@ SeTokenImpersonationLevel(IN PACCESS_TOKEN Token) } +/* + * @implemented + */ TOKEN_TYPE STDCALL SeTokenType(IN PACCESS_TOKEN Token) { -- 2.17.1