From f5e3df2e1b2894e137b9d305857d902d5b2ff82a Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Thu, 10 Jul 2003 15:47:00 +0000 Subject: [PATCH] @implemented and @unimplemented comments for ntoskrnl/io/*.c svn path=/trunk/; revision=5040 --- reactos/ntoskrnl/io/adapter.c | 5 ++- reactos/ntoskrnl/io/buildirp.c | 11 ++++- reactos/ntoskrnl/io/cancel.c | 14 ++++++- reactos/ntoskrnl/io/cleanup.c | 8 ++++ reactos/ntoskrnl/io/cntrller.c | 14 ++++++- reactos/ntoskrnl/io/create.c | 10 ++++- reactos/ntoskrnl/io/device.c | 47 ++++++++++++++++++++- reactos/ntoskrnl/io/dir.c | 11 ++++- reactos/ntoskrnl/io/driver.c | 16 +++++++- reactos/ntoskrnl/io/errlog.c | 8 +++- reactos/ntoskrnl/io/error.c | 8 +++- reactos/ntoskrnl/io/event.c | 8 +++- reactos/ntoskrnl/io/file.c | 23 ++++++++++- reactos/ntoskrnl/io/flush.c | 6 +++ reactos/ntoskrnl/io/fs.c | 30 +++++++++++++- reactos/ntoskrnl/io/iocomp.c | 19 +++++++++ reactos/ntoskrnl/io/ioctrl.c | 5 ++- reactos/ntoskrnl/io/iomgr.c | 14 ++++++- reactos/ntoskrnl/io/iowork.c | 14 ++++++- reactos/ntoskrnl/io/irp.c | 74 ++++++++++++++++++---------------- reactos/ntoskrnl/io/lock.c | 9 +++++ reactos/ntoskrnl/io/mailslot.c | 3 ++ reactos/ntoskrnl/io/mdl.c | 11 ++++- reactos/ntoskrnl/io/npipe.c | 3 ++ reactos/ntoskrnl/io/page.c | 11 ++++- reactos/ntoskrnl/io/parttab.c | 11 ++++- reactos/ntoskrnl/io/pnpmgr.c | 65 ++++++++++++++++++++++++++++- reactos/ntoskrnl/io/pnproot.c | 20 ++++++++- reactos/ntoskrnl/io/process.c | 16 +++++++- reactos/ntoskrnl/io/queue.c | 11 ++++- reactos/ntoskrnl/io/rawfs.c | 17 +++++++- reactos/ntoskrnl/io/resource.c | 17 +++++++- reactos/ntoskrnl/io/rw.c | 6 ++- reactos/ntoskrnl/io/share.c | 29 ++++++++++++- reactos/ntoskrnl/io/shutdown.c | 8 +++- reactos/ntoskrnl/io/symlink.c | 5 ++- reactos/ntoskrnl/io/timer.c | 11 ++++- reactos/ntoskrnl/io/vpb.c | 17 +++++++- 38 files changed, 549 insertions(+), 66 deletions(-) diff --git a/reactos/ntoskrnl/io/adapter.c b/reactos/ntoskrnl/io/adapter.c index a785d42ef3b..e405700256e 100644 --- a/reactos/ntoskrnl/io/adapter.c +++ b/reactos/ntoskrnl/io/adapter.c @@ -1,4 +1,4 @@ -/* $Id: adapter.c,v 1.7 2002/09/08 10:23:24 chorns Exp $ +/* $Id: adapter.c,v 1.8 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -23,6 +23,9 @@ USHORT EXPORTED IoDeviceHandlerObjectSize = 0; /* FIXME */ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL IoAllocateAdapterChannel (PADAPTER_OBJECT AdapterObject, PDEVICE_OBJECT DeviceObject, diff --git a/reactos/ntoskrnl/io/buildirp.c b/reactos/ntoskrnl/io/buildirp.c index 638785697ca..c6e0df5fb5b 100644 --- a/reactos/ntoskrnl/io/buildirp.c +++ b/reactos/ntoskrnl/io/buildirp.c @@ -1,4 +1,4 @@ -/* $Id: buildirp.c,v 1.32 2003/06/04 21:41:12 gdalsnes Exp $ +/* $Id: buildirp.c,v 1.33 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -70,6 +70,9 @@ NTSTATUS IoPrepareIrpBuffer(PIRP Irp, } +/* + * @implemented + */ PIRP STDCALL IoBuildAsynchronousFsdRequest(ULONG MajorFunction, PDEVICE_OBJECT DeviceObject, @@ -159,6 +162,9 @@ IoBuildAsynchronousFsdRequest(ULONG MajorFunction, } +/* + * @implemented + */ PIRP STDCALL IoBuildDeviceIoControlRequest(ULONG IoControlCode, PDEVICE_OBJECT DeviceObject, @@ -333,6 +339,9 @@ IoBuildDeviceIoControlRequest(ULONG IoControlCode, } +/* + * @implemented + */ PIRP STDCALL IoBuildSynchronousFsdRequest(ULONG MajorFunction, PDEVICE_OBJECT DeviceObject, diff --git a/reactos/ntoskrnl/io/cancel.c b/reactos/ntoskrnl/io/cancel.c index 239623fb1d6..a80f0abef4f 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.9 2003/01/25 16:15:33 hbirr Exp $ +/* $Id: cancel.c,v 1.10 2003/07/10 15:47:00 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/io/cancel.c @@ -39,6 +39,9 @@ static KSPIN_LOCK CancelSpinLock; /* FUNCTIONS *****************************************************************/ +/* + * @unimplemented + */ NTSTATUS STDCALL NtCancelIoFile (IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock) @@ -47,6 +50,9 @@ NtCancelIoFile (IN HANDLE FileHandle, return(STATUS_NOT_IMPLEMENTED); } +/* + * @implemented + */ BOOLEAN STDCALL IoCancelIrp(PIRP Irp) { @@ -72,12 +78,18 @@ IoInitCancelHandling(VOID) KeInitializeSpinLock(&CancelSpinLock); } +/* + * @implemented + */ VOID STDCALL IoAcquireCancelSpinLock(PKIRQL Irql) { KeAcquireSpinLock(&CancelSpinLock,Irql); } +/* + * @implemented + */ VOID STDCALL IoReleaseCancelSpinLock(KIRQL Irql) { diff --git a/reactos/ntoskrnl/io/cleanup.c b/reactos/ntoskrnl/io/cleanup.c index 064f2d7b712..8f5007e412b 100644 --- a/reactos/ntoskrnl/io/cleanup.c +++ b/reactos/ntoskrnl/io/cleanup.c @@ -126,6 +126,9 @@ VOID IoVolumeInformationCompletion(PDEVICE_OBJECT DeviceObject, } +/* + * @implemented + */ VOID STDCALL IoSecondStageCompletion_KernelApcRoutine( IN PKAPC Apc, @@ -139,6 +142,9 @@ IoSecondStageCompletion_KernelApcRoutine( } +/* + * @implemented + */ VOID STDCALL IoSecondStageCompletion_RundownApcRoutine( IN PKAPC Apc @@ -155,6 +161,8 @@ 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/cntrller.c b/reactos/ntoskrnl/io/cntrller.c index 41f7c199faf..de4e9010529 100644 --- a/reactos/ntoskrnl/io/cntrller.c +++ b/reactos/ntoskrnl/io/cntrller.c @@ -1,4 +1,4 @@ -/* $Id: cntrller.c,v 1.9 2002/09/08 10:23:24 chorns Exp $ +/* $Id: cntrller.c,v 1.10 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -37,6 +37,9 @@ typedef struct /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ VOID STDCALL IoAllocateController(PCONTROLLER_OBJECT ControllerObject, @@ -83,6 +86,9 @@ IoAllocateController(PCONTROLLER_OBJECT ControllerObject, ExFreePool(entry); } +/* + * @implemented + */ PCONTROLLER_OBJECT STDCALL IoCreateController(ULONG Size) @@ -117,6 +123,9 @@ IoCreateController(ULONG Size) return(controller); } +/* + * @implemented + */ VOID STDCALL IoDeleteController(PCONTROLLER_OBJECT ControllerObject) @@ -132,6 +141,9 @@ IoDeleteController(PCONTROLLER_OBJECT ControllerObject) ExFreePool(ControllerObject); } +/* + * @implemented + */ VOID STDCALL IoFreeController(PCONTROLLER_OBJECT ControllerObject) diff --git a/reactos/ntoskrnl/io/create.c b/reactos/ntoskrnl/io/create.c index df60728a905..573436fa575 100644 --- a/reactos/ntoskrnl/io/create.c +++ b/reactos/ntoskrnl/io/create.c @@ -1,4 +1,4 @@ -/* $Id: create.c,v 1.65 2003/06/07 12:17:19 chorns Exp $ +/* $Id: create.c,v 1.66 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -41,6 +41,7 @@ * * REVISIONS * + * @unimplemented */ NTSTATUS STDCALL NtDeleteFile(IN POBJECT_ATTRIBUTES ObjectAttributes) @@ -61,6 +62,7 @@ NtDeleteFile(IN POBJECT_ATTRIBUTES ObjectAttributes) * * REVISIONS * + * @implemented */ NTSTATUS STDCALL IopCreateFile(PVOID ObjectBody, @@ -205,6 +207,7 @@ IopCreateFile(PVOID ObjectBody, * * REVISIONS * + * @implemented */ PFILE_OBJECT STDCALL IoCreateStreamFileObject(PFILE_OBJECT FileObject, @@ -319,6 +322,7 @@ IoCreateStreamFileObject(PFILE_OBJECT FileObject, * * REVISIONS * + * @implemented */ NTSTATUS STDCALL IoCreateFile(OUT PHANDLE FileHandle, @@ -495,6 +499,8 @@ IoCreateFile(OUT PHANDLE FileHandle, * REVISIONS * 2000-03-25 (ea) * Code originally in NtCreateFile moved in IoCreateFile. + * + * @implemented */ NTSTATUS STDCALL NtCreateFile(PHANDLE FileHandle, @@ -558,6 +564,8 @@ NtCreateFile(PHANDLE FileHandle, * * NOTE * Undocumented. + * + * @implemented */ NTSTATUS STDCALL NtOpenFile(PHANDLE FileHandle, diff --git a/reactos/ntoskrnl/io/device.c b/reactos/ntoskrnl/io/device.c index b3e7c29fdc7..a9a59ae8832 100644 --- a/reactos/ntoskrnl/io/device.c +++ b/reactos/ntoskrnl/io/device.c @@ -1,4 +1,4 @@ -/* $Id: device.c,v 1.54 2003/06/07 12:17:20 chorns Exp $ +/* $Id: device.c,v 1.55 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -36,6 +36,9 @@ /* FUNCTIONS ***************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL IoAttachDeviceByPointer(IN PDEVICE_OBJECT SourceDevice, IN PDEVICE_OBJECT TargetDevice) @@ -55,6 +58,9 @@ IoAttachDeviceByPointer(IN PDEVICE_OBJECT SourceDevice, } +/* + * @implemented + */ VOID STDCALL IoDeleteDevice(PDEVICE_OBJECT DeviceObject) { @@ -91,6 +97,9 @@ IoDeleteDevice(PDEVICE_OBJECT DeviceObject) } +/* + * @implemented + */ PDEVICE_OBJECT STDCALL IoGetRelatedDeviceObject ( @@ -115,6 +124,9 @@ IoGetRelatedDeviceObject ( } +/* + * @implemented + */ NTSTATUS STDCALL IoGetDeviceObjectPointer ( @@ -167,6 +179,9 @@ IoGetDeviceObjectPointer ( } +/* + * @unimplemented + */ VOID STDCALL IoDetachDevice(PDEVICE_OBJECT TargetDevice) @@ -176,6 +191,9 @@ IoDetachDevice(PDEVICE_OBJECT TargetDevice) } +/* + * @implemented + */ PDEVICE_OBJECT STDCALL IoGetAttachedDevice(PDEVICE_OBJECT DeviceObject) @@ -194,6 +212,9 @@ IoGetAttachedDevice(PDEVICE_OBJECT DeviceObject) return(Current); } +/* + * @implemented + */ PDEVICE_OBJECT STDCALL IoGetAttachedDeviceReference(PDEVICE_OBJECT DeviceObject) @@ -209,6 +230,9 @@ IoGetAttachedDeviceReference(PDEVICE_OBJECT DeviceObject) return(Current); } +/* + * @implemented + */ PDEVICE_OBJECT STDCALL IoAttachDeviceToDeviceStack(PDEVICE_OBJECT SourceDevice, PDEVICE_OBJECT TargetDevice) @@ -226,6 +250,9 @@ IoAttachDeviceToDeviceStack(PDEVICE_OBJECT SourceDevice, return(AttachedDevice); } +/* + * @unimplemented + */ VOID STDCALL IoRegisterDriverReinitialization(PDRIVER_OBJECT DriverObject, PDRIVER_REINITIALIZE ReinitRoutine, @@ -234,6 +261,9 @@ IoRegisterDriverReinitialization(PDRIVER_OBJECT DriverObject, UNIMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IopDefaultDispatchFunction(PDEVICE_OBJECT DeviceObject, PIRP Irp) @@ -561,6 +591,9 @@ IopInitializeDriver(PDRIVER_INITIALIZE DriverEntry, } +/* + * @implemented + */ NTSTATUS STDCALL IoAttachDevice(PDEVICE_OBJECT SourceDevice, PUNICODE_STRING TargetDeviceName, @@ -595,6 +628,9 @@ IoAttachDevice(PDEVICE_OBJECT SourceDevice, } +/* + * @implemented + */ NTSTATUS STDCALL IopCreateDevice(PVOID ObjectBody, PVOID Parent, @@ -614,6 +650,9 @@ IopCreateDevice(PVOID ObjectBody, } +/* + * @implemented + */ NTSTATUS STDCALL IoCreateDevice(PDRIVER_OBJECT DriverObject, ULONG DeviceExtensionSize, @@ -739,6 +778,9 @@ IoCreateDevice(PDRIVER_OBJECT DriverObject, } +/* + * @unimplemented + */ NTSTATUS STDCALL IoOpenDeviceInstanceKey ( @@ -754,6 +796,9 @@ IoOpenDeviceInstanceKey ( } +/* + * @unimplemented + */ DWORD STDCALL IoQueryDeviceEnumInfo ( diff --git a/reactos/ntoskrnl/io/dir.c b/reactos/ntoskrnl/io/dir.c index 1f1acc67c72..30903703c3e 100644 --- a/reactos/ntoskrnl/io/dir.c +++ b/reactos/ntoskrnl/io/dir.c @@ -1,4 +1,4 @@ -/* $Id: dir.c,v 1.16 2003/05/22 00:47:04 gdalsnes Exp $ +/* $Id: dir.c,v 1.17 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -21,6 +21,9 @@ +/* + * @unimplemented + */ NTSTATUS STDCALL NtNotifyChangeDirectoryFile ( @@ -39,6 +42,9 @@ NtNotifyChangeDirectoryFile ( } +/* + * @implemented + */ NTSTATUS STDCALL NtQueryDirectoryFile( @@ -166,6 +172,9 @@ NtQueryDirectoryFile( return(Status); } +/* + * @unimplemented + */ NTSTATUS STDCALL NtQueryOleDirectoryFile(VOID) { UNIMPLEMENTED; diff --git a/reactos/ntoskrnl/io/driver.c b/reactos/ntoskrnl/io/driver.c index 3414ab2d674..89f26385be4 100644 --- a/reactos/ntoskrnl/io/driver.c +++ b/reactos/ntoskrnl/io/driver.c @@ -1,4 +1,4 @@ -/* $Id: driver.c,v 1.12 2002/09/08 10:23:24 chorns Exp $ +/* $Id: driver.c,v 1.13 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -67,6 +67,9 @@ POBJECT_TYPE EXPORTED IoDriverObjectType = NULL; /* FUNCTIONS ***************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL IopCreateDriver(PVOID ObjectBody, PVOID Parent, @@ -126,6 +129,8 @@ IopInitDriverImplementation(VOID) * Status. * * REVISIONS + * + * @implemented */ NTSTATUS STDCALL NtLoadDriver(IN PUNICODE_STRING DriverServiceName) @@ -234,6 +239,9 @@ NtLoadDriver(IN PUNICODE_STRING DriverServiceName) } +/* + * @unimplemented + */ NTSTATUS STDCALL NtUnloadDriver(IN PUNICODE_STRING DriverServiceName) { @@ -243,6 +251,9 @@ NtUnloadDriver(IN PUNICODE_STRING DriverServiceName) } +/* + * @implemented + */ static NTSTATUS STDCALL IopCreateGroupListEntry(PWSTR ValueName, ULONG ValueType, @@ -281,6 +292,9 @@ IopCreateGroupListEntry(PWSTR ValueName, } +/* + * @implemented + */ static NTSTATUS STDCALL IopCreateServiceListEntry(PUNICODE_STRING ServiceName) { diff --git a/reactos/ntoskrnl/io/errlog.c b/reactos/ntoskrnl/io/errlog.c index 4f605c4485a..db977efa43b 100644 --- a/reactos/ntoskrnl/io/errlog.c +++ b/reactos/ntoskrnl/io/errlog.c @@ -1,4 +1,4 @@ -/* $Id: errlog.c,v 1.9 2003/06/20 22:43:27 ekohl Exp $ +/* $Id: errlog.c,v 1.10 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -62,6 +62,9 @@ IopInitErrorLog (VOID) } +/* + * @implemented + */ PVOID STDCALL IoAllocateErrorLogEntry (IN PVOID IoObject, IN UCHAR EntrySize) @@ -106,6 +109,9 @@ IoAllocateErrorLogEntry (IN PVOID IoObject, } +/* + * @unimplemented + */ VOID STDCALL IoWriteErrorLogEntry (IN PVOID ElEntry) { diff --git a/reactos/ntoskrnl/io/error.c b/reactos/ntoskrnl/io/error.c index 2ddcfad3b1c..84a567efd1f 100644 --- a/reactos/ntoskrnl/io/error.c +++ b/reactos/ntoskrnl/io/error.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: error.c,v 1.8 2002/09/08 10:23:24 chorns Exp $ +/* $Id: error.c,v 1.9 2003/07/10 15:47:00 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/io/error.c @@ -36,6 +36,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @unimplemented + */ VOID STDCALL IoRaiseHardError(PIRP Irp, PVPB Vpb, @@ -50,6 +53,9 @@ IoIsTotalDeviceFailure(NTSTATUS Status) UNIMPLEMENTED; } +/* + * @unimplemented + */ BOOLEAN STDCALL IoRaiseInformationalHardError(NTSTATUS ErrorStatus, PUNICODE_STRING String, diff --git a/reactos/ntoskrnl/io/event.c b/reactos/ntoskrnl/io/event.c index b04bbafce1b..d1bf032fe99 100644 --- a/reactos/ntoskrnl/io/event.c +++ b/reactos/ntoskrnl/io/event.c @@ -1,4 +1,4 @@ -/* $Id: event.c,v 1.6 2002/09/08 10:23:24 chorns Exp $ +/* $Id: event.c,v 1.7 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -18,6 +18,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ PKEVENT STDCALL IoCreateNotificationEvent(PUNICODE_STRING EventName, PHANDLE EventHandle) @@ -56,6 +59,9 @@ IoCreateNotificationEvent(PUNICODE_STRING EventName, return Event; } +/* + * @implemented + */ PKEVENT STDCALL IoCreateSynchronizationEvent(PUNICODE_STRING EventName, PHANDLE EventHandle) diff --git a/reactos/ntoskrnl/io/file.c b/reactos/ntoskrnl/io/file.c index 0d5a704d4ae..1cb30008628 100644 --- a/reactos/ntoskrnl/io/file.c +++ b/reactos/ntoskrnl/io/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.24 2003/05/22 00:47:04 gdalsnes Exp $ +/* $Id: file.c,v 1.25 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -26,6 +26,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL NtQueryInformationFile(HANDLE FileHandle, PIO_STATUS_BLOCK IoStatusBlock, @@ -129,6 +132,9 @@ NtQueryInformationFile(HANDLE FileHandle, } +/* + * @implemented + */ NTSTATUS STDCALL IoQueryFileInformation(IN PFILE_OBJECT FileObject, IN FILE_INFORMATION_CLASS FileInformationClass, @@ -207,6 +213,9 @@ IoQueryFileInformation(IN PFILE_OBJECT FileObject, } +/* + * @implemented + */ NTSTATUS STDCALL NtSetInformationFile(HANDLE FileHandle, PIO_STATUS_BLOCK IoStatusBlock, @@ -345,6 +354,9 @@ NtSetInformationFile(HANDLE FileHandle, } +/* + * @implemented + */ NTSTATUS STDCALL NtQueryAttributesFile(IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PFILE_BASIC_INFORMATION FileInformation) @@ -382,6 +394,9 @@ NtQueryAttributesFile(IN POBJECT_ATTRIBUTES ObjectAttributes, } +/* + * @implemented + */ NTSTATUS STDCALL NtQueryFullAttributesFile(IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PFILE_NETWORK_OPEN_INFORMATION FileInformation) @@ -419,6 +434,9 @@ NtQueryFullAttributesFile(IN POBJECT_ATTRIBUTES ObjectAttributes, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtQueryEaFile(IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, @@ -435,6 +453,9 @@ NtQueryEaFile(IN HANDLE FileHandle, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtSetEaFile(IN HANDLE FileHandle, IN PIO_STATUS_BLOCK IoStatusBlock, diff --git a/reactos/ntoskrnl/io/flush.c b/reactos/ntoskrnl/io/flush.c index 831a67c3502..8f5cdae900c 100644 --- a/reactos/ntoskrnl/io/flush.c +++ b/reactos/ntoskrnl/io/flush.c @@ -19,6 +19,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL NtFlushWriteBuffer(VOID) @@ -27,6 +30,9 @@ NtFlushWriteBuffer(VOID) return STATUS_SUCCESS; } +/* + * @implemented + */ NTSTATUS STDCALL NtFlushBuffersFile ( diff --git a/reactos/ntoskrnl/io/fs.c b/reactos/ntoskrnl/io/fs.c index 22b070165d6..c8057b4d00e 100644 --- a/reactos/ntoskrnl/io/fs.c +++ b/reactos/ntoskrnl/io/fs.c @@ -1,4 +1,4 @@ -/* $Id: fs.c,v 1.34 2003/06/27 19:00:33 hbirr Exp $ +/* $Id: fs.c,v 1.35 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -54,6 +54,9 @@ IopNotifyFileSystemChange(PDEVICE_OBJECT DeviceObject, /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL NtFsControlFile ( IN HANDLE DeviceHandle, @@ -426,6 +429,8 @@ IoMountVolume(IN PDEVICE_OBJECT DeviceObject, * * RETURN VALUE * Status + * + * @implemented */ NTSTATUS STDCALL IoVerifyVolume(IN PDEVICE_OBJECT DeviceObject, @@ -520,6 +525,9 @@ IoVerifyVolume(IN PDEVICE_OBJECT DeviceObject, } +/* + * @implemented + */ PDEVICE_OBJECT STDCALL IoGetDeviceToVerify(IN PETHREAD Thread) /* @@ -531,6 +539,9 @@ IoGetDeviceToVerify(IN PETHREAD Thread) } +/* + * @implemented + */ VOID STDCALL IoSetDeviceToVerify(IN PETHREAD Thread, IN PDEVICE_OBJECT DeviceObject) @@ -539,6 +550,9 @@ IoSetDeviceToVerify(IN PETHREAD Thread, } +/* + * @implemented + */ VOID STDCALL IoSetHardErrorOrVerifyDevice(IN PIRP Irp, IN PDEVICE_OBJECT DeviceObject) @@ -547,6 +561,9 @@ IoSetHardErrorOrVerifyDevice(IN PIRP Irp, } +/* + * @implemented + */ VOID STDCALL IoRegisterFileSystem(IN PDEVICE_OBJECT DeviceObject) { @@ -577,6 +594,9 @@ IoRegisterFileSystem(IN PDEVICE_OBJECT DeviceObject) } +/* + * @implemented + */ VOID STDCALL IoUnregisterFileSystem(IN PDEVICE_OBJECT DeviceObject) { @@ -619,6 +639,8 @@ IoUnregisterFileSystem(IN PDEVICE_OBJECT DeviceObject) * * NOTE * From Bo Branten's ntifs.h v13. + * + * @implemented */ PDEVICE_OBJECT STDCALL IoGetBaseFileSystemDeviceObject(IN PFILE_OBJECT FileObject) @@ -683,6 +705,9 @@ IopNotifyFileSystemChange(PDEVICE_OBJECT DeviceObject, } +/* + * @implemented + */ NTSTATUS STDCALL IoRegisterFsRegistrationChange(IN PDRIVER_OBJECT DriverObject, IN PFSDNOTIFICATIONPROC FSDNotificationProc) @@ -706,6 +731,9 @@ IoRegisterFsRegistrationChange(IN PDRIVER_OBJECT DriverObject, } +/* + * @implemented + */ VOID STDCALL IoUnregisterFsRegistrationChange(IN PDRIVER_OBJECT DriverObject, IN PFSDNOTIFICATIONPROC FSDNotificationProc) diff --git a/reactos/ntoskrnl/io/iocomp.c b/reactos/ntoskrnl/io/iocomp.c index 61fcdbb1454..d992ff7a543 100644 --- a/reactos/ntoskrnl/io/iocomp.c +++ b/reactos/ntoskrnl/io/iocomp.c @@ -35,6 +35,9 @@ static GENERIC_MAPPING ExIoCompletionMapping = /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL NtpCreateIoCompletion( @@ -55,6 +58,9 @@ NtpCreateIoCompletion( return STATUS_SUCCESS; } +/* + * @implemented + */ VOID STDCALL NtpDeleteIoCompletion(PVOID ObjectBody) { @@ -102,6 +108,9 @@ NtInitializeIoCompletionImplementation(VOID) } +/* + * @implemented + */ NTSTATUS STDCALL NtCreateIoCompletion( @@ -150,6 +159,9 @@ Return Value STATUS_SUCCESS or an error status, such as STATUS_ACCESS_DENIED or STATUS_OBJECT_NAME_NOT_FOUND. */ +/* + * @implemented + */ NTSTATUS STDCALL NtOpenIoCompletion( @@ -172,6 +184,9 @@ NtOpenIoCompletion( } +/* + * @implemented + */ NTSTATUS STDCALL NtQueryIoCompletion( @@ -216,6 +231,8 @@ NtQueryIoCompletion( /* * Dequeues an I/O completion message from an I/O completion object + * + * @implemented */ NTSTATUS STDCALL @@ -275,6 +292,8 @@ 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/ioctrl.c b/reactos/ntoskrnl/io/ioctrl.c index 885f2208b41..f9aa29156d9 100644 --- a/reactos/ntoskrnl/io/ioctrl.c +++ b/reactos/ntoskrnl/io/ioctrl.c @@ -1,4 +1,4 @@ -/* $Id: ioctrl.c,v 1.17 2003/05/22 00:47:04 gdalsnes Exp $ +/* $Id: ioctrl.c,v 1.18 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -22,6 +22,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL NtDeviceIoControlFile (IN HANDLE DeviceHandle, IN HANDLE Event, IN PIO_APC_ROUTINE UserApcRoutine, diff --git a/reactos/ntoskrnl/io/iomgr.c b/reactos/ntoskrnl/io/iomgr.c index 64e727be1e3..b7070177c30 100644 --- a/reactos/ntoskrnl/io/iomgr.c +++ b/reactos/ntoskrnl/io/iomgr.c @@ -1,4 +1,4 @@ -/* $Id: iomgr.c,v 1.34 2003/06/02 10:02:56 ekohl Exp $ +/* $Id: iomgr.c,v 1.35 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -43,6 +43,9 @@ static GENERIC_MAPPING IopFileMapping = {FILE_GENERIC_READ, /* FUNCTIONS ****************************************************************/ +/* + * @implemented + */ VOID STDCALL IopCloseFile(PVOID ObjectBody, ULONG HandleCount) @@ -87,6 +90,9 @@ IopCloseFile(PVOID ObjectBody, } +/* + * @implemented + */ VOID STDCALL IopDeleteFile(PVOID ObjectBody) { @@ -133,6 +139,9 @@ IopDeleteFile(PVOID ObjectBody) } +/* + * @implemented + */ NTSTATUS STDCALL IopQueryNameFile(PVOID ObjectBody, POBJECT_NAME_INFORMATION ObjectNameInfo, @@ -382,6 +391,9 @@ VOID IoInit2(VOID) } } +/* + * @implemented + */ PGENERIC_MAPPING STDCALL IoGetFileObjectGenericMapping(VOID) { diff --git a/reactos/ntoskrnl/io/iowork.c b/reactos/ntoskrnl/io/iowork.c index 43ddf14c72f..f00dab3d31c 100644 --- a/reactos/ntoskrnl/io/iowork.c +++ b/reactos/ntoskrnl/io/iowork.c @@ -1,4 +1,4 @@ -/* $Id: iowork.c,v 1.3 2003/03/23 10:50:13 hbirr Exp $ +/* $Id: iowork.c,v 1.4 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -34,6 +34,9 @@ typedef struct _IO_WORKITEM /* FUNCTIONS ****************************************************************/ +/* + * @implemented + */ VOID STDCALL STATIC IoWorkItemCallback(PVOID Parameter) { @@ -43,6 +46,9 @@ IoWorkItemCallback(PVOID Parameter) ObDereferenceObject(DeviceObject); } +/* + * @implemented + */ VOID STDCALL IoQueueWorkItem(IN PIO_WORKITEM IoWorkItem, IN PIO_WORKITEM_ROUTINE WorkerRoutine, @@ -67,12 +73,18 @@ IoQueueWorkItem(IN PIO_WORKITEM IoWorkItem, ExQueueWorkItem(&IoWorkItem->Item, QueueType); } +/* + * @implemented + */ VOID STDCALL IoFreeWorkItem(PIO_WORKITEM IoWorkItem) { ExFreePool(IoWorkItem); } +/* + * @implemented + */ PIO_WORKITEM STDCALL IoAllocateWorkItem(PDEVICE_OBJECT DeviceObject) { diff --git a/reactos/ntoskrnl/io/irp.c b/reactos/ntoskrnl/io/irp.c index 9af39ca8f11..5d1482f2e2e 100644 --- a/reactos/ntoskrnl/io/irp.c +++ b/reactos/ntoskrnl/io/irp.c @@ -1,4 +1,4 @@ -/* $Id: irp.c,v 1.51 2003/06/05 23:37:10 gdalsnes Exp $ +/* $Id: irp.c,v 1.52 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -46,6 +46,9 @@ /* FUNCTIONS ****************************************************************/ +/* + * @implemented + */ VOID STDCALL IoFreeIrp(PIRP Irp) /* @@ -58,6 +61,9 @@ IoFreeIrp(PIRP Irp) } +/* + * @unimplemented + */ PIRP STDCALL IoMakeAssociatedIrp(PIRP Irp, CCHAR StackSize) @@ -77,6 +83,9 @@ IoMakeAssociatedIrp(PIRP Irp, } +/* + * @implemented + */ VOID STDCALL IoInitializeIrp(PIRP Irp, USHORT PacketSize, @@ -99,6 +108,9 @@ IoInitializeIrp(PIRP Irp, } +/* + * @implemented + */ NTSTATUS FASTCALL IofCallDriver(PDEVICE_OBJECT DeviceObject, PIRP Irp) @@ -133,6 +145,9 @@ IofCallDriver(PDEVICE_OBJECT DeviceObject, } +/* + * @implemented + */ NTSTATUS STDCALL IoCallDriver (PDEVICE_OBJECT DeviceObject, PIRP Irp) @@ -142,6 +157,9 @@ IoCallDriver (PDEVICE_OBJECT DeviceObject, PIRP Irp) } +/* + * @implemented + */ PIRP STDCALL IoAllocateIrp(CCHAR StackSize, BOOLEAN ChargeQuota) @@ -191,6 +209,9 @@ IoAllocateIrp(CCHAR StackSize, } +/* + * @implemented + */ VOID FASTCALL IofCompleteRequest(PIRP Irp, CCHAR PriorityBoost) @@ -299,6 +320,9 @@ IofCompleteRequest(PIRP Irp, } +/* + * @implemented + */ VOID STDCALL IoCompleteRequest(PIRP Irp, CCHAR PriorityBoost) @@ -321,6 +345,8 @@ IoCompleteRequest(PIRP Irp, * * RETURN VALUE * TRUE if Irp's operation is synchronous; otherwise FALSE. + * + * @implemented */ BOOLEAN STDCALL IoIsOperationSynchronous(IN PIRP Irp) @@ -350,6 +376,9 @@ IoIsOperationSynchronous(IN PIRP Irp) } +/* + * @unimplemented + */ VOID STDCALL IoEnqueueIrp(IN PIRP Irp) { @@ -357,6 +386,9 @@ IoEnqueueIrp(IN PIRP Irp) } +/* + * @implemented + */ VOID STDCALL IoSetTopLevelIrp(IN PIRP Irp) { @@ -367,6 +399,9 @@ IoSetTopLevelIrp(IN PIRP Irp) } +/* + * @implemented + */ PIRP STDCALL IoGetTopLevelIrp(VOID) { @@ -374,44 +409,13 @@ IoGetTopLevelIrp(VOID) } +/* + * @unimplemented + */ VOID STDCALL IoQueueThreadIrp(IN PIRP Irp) { UNIMPLEMENTED; } -/* -NTSTATUS -STDCALL -IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName, IN BOOLEAN Enable) -{ - UNIMPLEMENTED; - return 0; -} - -NTSTATUS -STDCALL -IoGetDeviceProperty( - IN PDEVICE_OBJECT DeviceObject, - IN DEVICE_REGISTRY_PROPERTY DeviceProperty, - IN ULONG BufferLength, - OUT PVOID PropertyBuffer, - OUT PULONG ResultLength) -{ - UNIMPLEMENTED; - return 0; -} - -NTSTATUS -STDCALL -IoOpenDeviceRegistryKey( - IN PDEVICE_OBJECT DeviceObject, - IN ULONG DevInstKeyType, - IN ACCESS_MASK DesiredAccess, - OUT PHANDLE DevInstRegKey) -{ - UNIMPLEMENTED; - return 0; -} - */ /* EOF */ diff --git a/reactos/ntoskrnl/io/lock.c b/reactos/ntoskrnl/io/lock.c index 2304f88c255..265d6c6729f 100644 --- a/reactos/ntoskrnl/io/lock.c +++ b/reactos/ntoskrnl/io/lock.c @@ -21,6 +21,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @unimplemented + */ NTSTATUS STDCALL NtLockFileCompletionRoutine( @@ -34,6 +37,9 @@ STDCALL //FIXME: should I call IoFreeIrp and return STATUS_MORE_PROCESSING_REQUIRED? } +/* + * @unimplemented + */ NTSTATUS STDCALL NtLockFile ( @@ -201,6 +207,9 @@ NtLockFile ( +/* + * @unimplemented + */ NTSTATUS STDCALL NtUnlockFile ( diff --git a/reactos/ntoskrnl/io/mailslot.c b/reactos/ntoskrnl/io/mailslot.c index 93d9c7e1147..d79893c5067 100644 --- a/reactos/ntoskrnl/io/mailslot.c +++ b/reactos/ntoskrnl/io/mailslot.c @@ -18,6 +18,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL NtCreateMailslotFile(OUT PHANDLE FileHandle, IN ACCESS_MASK DesiredAccess, diff --git a/reactos/ntoskrnl/io/mdl.c b/reactos/ntoskrnl/io/mdl.c index 3281dfb87d7..9dbf5c7dd9a 100644 --- a/reactos/ntoskrnl/io/mdl.c +++ b/reactos/ntoskrnl/io/mdl.c @@ -1,4 +1,4 @@ -/* $Id: mdl.c,v 1.11 2002/10/01 19:27:21 chorns Exp $ +/* $Id: mdl.c,v 1.12 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -22,6 +22,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ PMDL STDCALL IoAllocateMdl(PVOID VirtualAddress, @@ -54,6 +57,9 @@ IoAllocateMdl(PVOID VirtualAddress, return(Mdl); } +/* + * @implemented + */ VOID STDCALL IoBuildPartialMdl(PMDL SourceMdl, @@ -73,6 +79,9 @@ IoBuildPartialMdl(PMDL SourceMdl, } } +/* + * @implemented + */ VOID STDCALL IoFreeMdl(PMDL Mdl) { diff --git a/reactos/ntoskrnl/io/npipe.c b/reactos/ntoskrnl/io/npipe.c index e45596aa07f..27b2a7fe1d5 100644 --- a/reactos/ntoskrnl/io/npipe.c +++ b/reactos/ntoskrnl/io/npipe.c @@ -17,6 +17,9 @@ /* 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 d07211661c6..2dd0a3bf787 100644 --- a/reactos/ntoskrnl/io/page.c +++ b/reactos/ntoskrnl/io/page.c @@ -1,4 +1,4 @@ -/* $Id: page.c,v 1.19 2002/09/08 10:23:25 chorns Exp $ +/* $Id: page.c,v 1.20 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -19,6 +19,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL IoPageWrite(PFILE_OBJECT FileObject, PMDL Mdl, @@ -54,6 +57,9 @@ IoPageWrite(PFILE_OBJECT FileObject, } +/* + * @implemented + */ NTSTATUS STDCALL IoPageRead(PFILE_OBJECT FileObject, PMDL Mdl, @@ -90,6 +96,9 @@ IoPageRead(PFILE_OBJECT FileObject, } +/* + * @implemented + */ NTSTATUS STDCALL IoSynchronousPageWrite (PFILE_OBJECT FileObject, PMDL Mdl, diff --git a/reactos/ntoskrnl/io/parttab.c b/reactos/ntoskrnl/io/parttab.c index e179fc01f2d..b5a6bc9aee0 100644 --- a/reactos/ntoskrnl/io/parttab.c +++ b/reactos/ntoskrnl/io/parttab.c @@ -1,4 +1,4 @@ -/* $Id: parttab.c,v 1.4 2003/02/26 14:12:43 ekohl Exp $ +/* $Id: parttab.c,v 1.5 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -19,6 +19,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL IoReadPartitionTable(PDEVICE_OBJECT DeviceObject, ULONG SectorSize, @@ -32,6 +35,9 @@ IoReadPartitionTable(PDEVICE_OBJECT DeviceObject, } +/* + * @implemented + */ NTSTATUS STDCALL IoSetPartitionInformation(PDEVICE_OBJECT DeviceObject, ULONG SectorSize, @@ -45,6 +51,9 @@ 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 2f5bb977720..90a0fd3c6b7 100644 --- a/reactos/ntoskrnl/io/pnpmgr.c +++ b/reactos/ntoskrnl/io/pnpmgr.c @@ -1,4 +1,4 @@ -/* $Id: pnpmgr.c,v 1.10 2003/01/16 17:53:56 ekohl Exp $ +/* $Id: pnpmgr.c,v 1.11 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -42,6 +42,9 @@ PDRIVER_OBJECT IopRootDriverObject; /* FUNCTIONS *****************************************************************/ +/* + * @unimplemented + */ VOID STDCALL IoInitializeRemoveLockEx( @@ -53,6 +56,9 @@ IoInitializeRemoveLockEx( { } +/* + * @unimplemented + */ NTSTATUS STDCALL IoAcquireRemoveLockEx( @@ -65,6 +71,9 @@ IoAcquireRemoveLockEx( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ VOID STDCALL IoReleaseRemoveLockEx( @@ -74,6 +83,9 @@ IoReleaseRemoveLockEx( { } +/* + * @unimplemented + */ VOID STDCALL IoReleaseRemoveLockAndWaitEx( @@ -83,6 +95,9 @@ IoReleaseRemoveLockAndWaitEx( { } +/* + * @unimplemented + */ VOID STDCALL IoAdjustPagingPathCount( @@ -91,6 +106,9 @@ IoAdjustPagingPathCount( { } +/* + * @unimplemented + */ NTSTATUS STDCALL IoGetDeviceInterfaceAlias( @@ -101,6 +119,9 @@ IoGetDeviceInterfaceAlias( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoGetDeviceInterfaces( @@ -112,6 +133,9 @@ IoGetDeviceInterfaces( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoGetDeviceProperty( @@ -124,6 +148,9 @@ IoGetDeviceProperty( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ VOID STDCALL IoInvalidateDeviceRelations( @@ -132,6 +159,9 @@ IoInvalidateDeviceRelations( { } +/* + * @unimplemented + */ VOID STDCALL IoInvalidateDeviceState( @@ -139,6 +169,9 @@ IoInvalidateDeviceState( { } +/* + * @unimplemented + */ NTSTATUS STDCALL IoOpenDeviceInterfaceRegistryKey( @@ -149,6 +182,9 @@ IoOpenDeviceInterfaceRegistryKey( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoOpenDeviceRegistryKey( @@ -160,6 +196,9 @@ IoOpenDeviceRegistryKey( return STATUS_NOT_IMPLEMENTED; } +/* + * @implemented + */ NTSTATUS STDCALL IoRegisterDeviceInterface( @@ -178,6 +217,9 @@ IoRegisterDeviceInterface( // return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoRegisterPlugPlayNotification( @@ -192,6 +234,9 @@ IoRegisterPlugPlayNotification( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoReportDetectedDevice( @@ -207,6 +252,9 @@ IoReportDetectedDevice( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoReportResourceForDetection( @@ -221,6 +269,9 @@ IoReportResourceForDetection( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoReportTargetDeviceChange( @@ -230,6 +281,9 @@ IoReportTargetDeviceChange( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoReportTargetDeviceChangeAsynchronous( @@ -241,6 +295,9 @@ IoReportTargetDeviceChangeAsynchronous( return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ VOID STDCALL IoRequestDeviceEject( @@ -248,6 +305,9 @@ IoRequestDeviceEject( { } +/* + * @unimplemented + */ NTSTATUS STDCALL IoSetDeviceInterfaceState( @@ -261,6 +321,9 @@ IoSetDeviceInterfaceState( // return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoUnregisterPlugPlayNotification( diff --git a/reactos/ntoskrnl/io/pnproot.c b/reactos/ntoskrnl/io/pnproot.c index 043da4aa843..2d06372136f 100644 --- a/reactos/ntoskrnl/io/pnproot.c +++ b/reactos/ntoskrnl/io/pnproot.c @@ -1,4 +1,4 @@ -/* $Id: pnproot.c,v 1.11 2003/01/16 17:53:56 ekohl Exp $ +/* $Id: pnproot.c,v 1.12 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -726,6 +726,9 @@ PnpRootQueryDeviceRelations( } +/* + * @implemented + */ NTSTATUS STDCALL PnpRootFdoPnpControl( @@ -784,6 +787,9 @@ PnpRootFdoPnpControl( } +/* + * @implemented + */ NTSTATUS STDCALL PnpRootFdoPowerControl( @@ -823,6 +829,9 @@ PnpRootFdoPowerControl( } +/* + * @implemented + */ NTSTATUS STDCALL PnpRootPnpControl( @@ -857,6 +866,9 @@ PnpRootPnpControl( } +/* + * @implemented + */ NTSTATUS STDCALL PnpRootPowerControl( @@ -886,6 +898,9 @@ PnpRootPowerControl( } +/* + * @implemented + */ NTSTATUS STDCALL PnpRootAddDevice( @@ -948,6 +963,9 @@ PnpRootAddDevice( } +/* + * @implemented + */ NTSTATUS STDCALL PnpRootDriverEntry( diff --git a/reactos/ntoskrnl/io/process.c b/reactos/ntoskrnl/io/process.c index 07af0655538..c362004e12a 100644 --- a/reactos/ntoskrnl/io/process.c +++ b/reactos/ntoskrnl/io/process.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: process.c,v 1.14 2002/09/08 10:23:25 chorns Exp $ +/* $Id: process.c,v 1.15 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -36,6 +36,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ PVOID STDCALL IoGetInitialStack(VOID) { @@ -43,6 +46,9 @@ IoGetInitialStack(VOID) } +/* + * @implemented + */ VOID STDCALL IoGetStackLimits(OUT PULONG LowLimit, OUT PULONG HighLimit) @@ -52,6 +58,9 @@ IoGetStackLimits(OUT PULONG LowLimit, } +/* + * @implemented + */ PEPROCESS STDCALL IoThreadToProcess(IN PETHREAD Thread) { @@ -59,6 +68,9 @@ IoThreadToProcess(IN PETHREAD Thread) } +/* + * @implemented + */ PEPROCESS STDCALL IoGetRequestorProcess(IN PIRP Irp) { @@ -78,6 +90,8 @@ IoGetRequestorProcess(IN PIRP Irp) * RETURN VALUE * Previous value for the current thread's hard errors * processing policy. + * + * @implemented */ BOOLEAN STDCALL EXPORTED IoSetThreadHardErrorMode(IN BOOLEAN HardErrorEnabled) diff --git a/reactos/ntoskrnl/io/queue.c b/reactos/ntoskrnl/io/queue.c index 30d495336e3..e7d73ced345 100644 --- a/reactos/ntoskrnl/io/queue.c +++ b/reactos/ntoskrnl/io/queue.c @@ -1,4 +1,4 @@ -/* $Id: queue.c,v 1.12 2002/09/08 10:23:25 chorns Exp $ +/* $Id: queue.c,v 1.13 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -16,6 +16,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ VOID STDCALL IoStartNextPacketByKey(PDEVICE_OBJECT DeviceObject, @@ -53,6 +56,9 @@ IoStartNextPacketByKey(PDEVICE_OBJECT DeviceObject, } } +/* + * @implemented + */ VOID STDCALL IoStartNextPacket(PDEVICE_OBJECT DeviceObject, BOOLEAN Cancelable) @@ -84,6 +90,9 @@ IoStartNextPacket(PDEVICE_OBJECT DeviceObject, BOOLEAN Cancelable) } } +/* + * @implemented + */ VOID STDCALL IoStartPacket(PDEVICE_OBJECT DeviceObject, diff --git a/reactos/ntoskrnl/io/rawfs.c b/reactos/ntoskrnl/io/rawfs.c index f4ef77db1f3..d5ae710b2e2 100755 --- a/reactos/ntoskrnl/io/rawfs.c +++ b/reactos/ntoskrnl/io/rawfs.c @@ -1,4 +1,4 @@ -/* $Id: rawfs.c,v 1.3 2003/06/07 11:34:36 chorns Exp $ +/* $Id: rawfs.c,v 1.4 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -226,6 +226,9 @@ RawFsWriteDisk(IN PDEVICE_OBJECT pDeviceObject, return STATUS_SUCCESS; } +/* + * @implemented + */ static NTSTATUS RawFsBlockDeviceIoControl(IN PDEVICE_OBJECT DeviceObject, IN ULONG CtlCode, @@ -377,6 +380,9 @@ RawFsFreeIrpContext(IN PRAWFS_IRP_CONTEXT IrpContext) ExFreeToNPagedLookasideList(&IrpContextLookasideList, IrpContext); } +/* + * @implemented + */ static VOID STDCALL RawFsDoRequest(PVOID IrpContext) { @@ -772,6 +778,9 @@ RawFsFlush(IN PRAWFS_IRP_CONTEXT IrpContext) return STATUS_NOT_IMPLEMENTED; } +/* + * @unimplemented + */ static NTSTATUS STDCALL RawFsShutdown(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) { @@ -830,6 +839,9 @@ RawFsDispatchRequest(IN PRAWFS_IRP_CONTEXT IrpContext) } } +/* + * @implemented + */ static NTSTATUS STDCALL RawFsBuildRequest(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) @@ -868,6 +880,9 @@ 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/resource.c b/reactos/ntoskrnl/io/resource.c index bf7ce079ff0..0828defc4ad 100644 --- a/reactos/ntoskrnl/io/resource.c +++ b/reactos/ntoskrnl/io/resource.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: resource.c,v 1.11 2002/09/08 10:23:26 chorns Exp $ +/* $Id: resource.c,v 1.12 2003/07/10 15:47:00 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/io/resource.c @@ -40,12 +40,18 @@ SystemConfigurationInformation = {0, 0, 0, 0, 0, 0, 0, FALSE, FALSE}; /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ PCONFIGURATION_INFORMATION STDCALL IoGetConfigurationInformation(VOID) { return(&SystemConfigurationInformation); } +/* + * @unimplemented + */ NTSTATUS STDCALL IoReportResourceUsage(PUNICODE_STRING DriverClassName, PDRIVER_OBJECT DriverObject, @@ -82,6 +88,9 @@ IoReportResourceUsage(PUNICODE_STRING DriverClassName, UNIMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoAssignResources(PUNICODE_STRING RegistryPath, PUNICODE_STRING DriverClassName, @@ -93,6 +102,9 @@ IoAssignResources(PUNICODE_STRING RegistryPath, UNIMPLEMENTED; } +/* + * @unimplemented + */ NTSTATUS STDCALL IoQueryDeviceDescription(PINTERFACE_TYPE BusType, PULONG BusNumber, @@ -150,6 +162,9 @@ IoQueryDeviceDescription(PINTERFACE_TYPE BusType, return(STATUS_NOT_IMPLEMENTED); } +/* + * @implemented + */ NTSTATUS STDCALL IoReportHalResourceUsage(PUNICODE_STRING HalDescription, PCM_RESOURCE_LIST RawList, diff --git a/reactos/ntoskrnl/io/rw.c b/reactos/ntoskrnl/io/rw.c index 84b7207d9f7..b2abc765904 100644 --- a/reactos/ntoskrnl/io/rw.c +++ b/reactos/ntoskrnl/io/rw.c @@ -1,4 +1,4 @@ -/* $Id: rw.c,v 1.43 2003/05/22 00:47:04 gdalsnes Exp $ +/* $Id: rw.c,v 1.44 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -33,6 +33,7 @@ * * REVISIONS * + * @implemented */ NTSTATUS STDCALL NtReadFile(HANDLE FileHandle, HANDLE EventHandle, @@ -177,6 +178,7 @@ NTSTATUS STDCALL NtReadFile(HANDLE FileHandle, * * REVISIONS * + * @implemented */ NTSTATUS STDCALL NtWriteFile(HANDLE FileHandle, HANDLE EventHandle, @@ -320,6 +322,7 @@ NTSTATUS STDCALL NtWriteFile(HANDLE FileHandle, * * REVISIONS * + * @unimplemented */ NTSTATUS STDCALL @@ -351,6 +354,7 @@ NtReadFileScatter ( * * REVISIONS * + * @unimplemented */ NTSTATUS STDCALL diff --git a/reactos/ntoskrnl/io/share.c b/reactos/ntoskrnl/io/share.c index 3f348360525..09aeb05c4e3 100644 --- a/reactos/ntoskrnl/io/share.c +++ b/reactos/ntoskrnl/io/share.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: share.c,v 1.8 2002/09/08 10:23:26 chorns Exp $ +/* $Id: share.c,v 1.9 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -35,6 +35,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ VOID STDCALL IoUpdateShareAccess(PFILE_OBJECT FileObject, PSHARE_ACCESS ShareAccess) @@ -80,6 +83,9 @@ IoUpdateShareAccess(PFILE_OBJECT FileObject, } +/* + * @implemented + */ NTSTATUS STDCALL IoCheckShareAccess(IN ACCESS_MASK DesiredAccess, IN ULONG DesiredShareAccess, @@ -178,6 +184,9 @@ IoCheckShareAccess(IN ACCESS_MASK DesiredAccess, } +/* + * @implemented + */ VOID STDCALL IoRemoveShareAccess(IN PFILE_OBJECT FileObject, IN PSHARE_ACCESS ShareAccess) @@ -223,6 +232,9 @@ IoRemoveShareAccess(IN PFILE_OBJECT FileObject, } +/* + * @implemented + */ VOID STDCALL IoSetShareAccess(IN ACCESS_MASK DesiredAccess, IN ULONG DesiredShareAccess, @@ -281,6 +293,9 @@ IoSetShareAccess(IN ACCESS_MASK DesiredAccess, } +/* + * @implemented + */ NTSTATUS STDCALL IoCheckDesiredAccess(IN OUT PACCESS_MASK DesiredAccess, IN ACCESS_MASK GrantedAccess) @@ -294,6 +309,9 @@ IoCheckDesiredAccess(IN OUT PACCESS_MASK DesiredAccess, } +/* + * @unimplemented + */ NTSTATUS STDCALL IoCheckEaBufferValidity(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, @@ -304,6 +322,9 @@ IoCheckEaBufferValidity(IN PFILE_FULL_EA_INFORMATION EaBuffer, } +/* + * @unimplemented + */ NTSTATUS STDCALL IoCheckFunctionAccess(IN ACCESS_MASK GrantedAccess, IN UCHAR MajorFunction, @@ -317,6 +338,9 @@ IoCheckFunctionAccess(IN ACCESS_MASK GrantedAccess, } +/* + * @unimplemented + */ NTSTATUS STDCALL IoSetInformation(IN PFILE_OBJECT FileObject, IN FILE_INFORMATION_CLASS FileInformationClass, @@ -328,6 +352,9 @@ IoSetInformation(IN PFILE_OBJECT FileObject, } +/* + * @unimplemented + */ BOOLEAN STDCALL IoFastQueryNetworkAttributes(IN POBJECT_ATTRIBUTES ObjectAttributes, IN ACCESS_MASK DesiredAccess, diff --git a/reactos/ntoskrnl/io/shutdown.c b/reactos/ntoskrnl/io/shutdown.c index 3e44fca74e6..30c18ffc425 100644 --- a/reactos/ntoskrnl/io/shutdown.c +++ b/reactos/ntoskrnl/io/shutdown.c @@ -1,4 +1,4 @@ -/* $Id: shutdown.c,v 1.7 2002/09/08 10:23:26 chorns Exp $ +/* $Id: shutdown.c,v 1.8 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -79,6 +79,9 @@ VOID IoShutdownRegisteredDevices(VOID) } } +/* + * @implemented + */ NTSTATUS STDCALL IoRegisterShutdownNotification(PDEVICE_OBJECT DeviceObject) { PSHUTDOWN_ENTRY Entry; @@ -99,6 +102,9 @@ NTSTATUS STDCALL IoRegisterShutdownNotification(PDEVICE_OBJECT DeviceObject) return STATUS_SUCCESS; } +/* + * @implemented + */ VOID STDCALL IoUnregisterShutdownNotification(PDEVICE_OBJECT DeviceObject) { PSHUTDOWN_ENTRY ShutdownEntry; diff --git a/reactos/ntoskrnl/io/symlink.c b/reactos/ntoskrnl/io/symlink.c index e88eab8da0b..13725d33fb2 100644 --- a/reactos/ntoskrnl/io/symlink.c +++ b/reactos/ntoskrnl/io/symlink.c @@ -1,4 +1,4 @@ -/* $Id: symlink.c,v 1.32 2003/02/25 16:48:32 ekohl Exp $ +/* $Id: symlink.c,v 1.33 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -32,6 +32,7 @@ * * REVISIONS * + * @implemented */ NTSTATUS STDCALL IoCreateSymbolicLink(PUNICODE_STRING SymbolicLinkName, @@ -81,6 +82,7 @@ IoCreateSymbolicLink(PUNICODE_STRING SymbolicLinkName, * * REVISIONS * + * @implemented */ NTSTATUS STDCALL IoCreateUnprotectedSymbolicLink(PUNICODE_STRING SymbolicLinkName, @@ -149,6 +151,7 @@ IoCreateUnprotectedSymbolicLink(PUNICODE_STRING SymbolicLinkName, * * REVISIONS * + * @implemented */ NTSTATUS STDCALL IoDeleteSymbolicLink(PUNICODE_STRING SymbolicLinkName) diff --git a/reactos/ntoskrnl/io/timer.c b/reactos/ntoskrnl/io/timer.c index 7ad5053474c..7b7e322b4c1 100644 --- a/reactos/ntoskrnl/io/timer.c +++ b/reactos/ntoskrnl/io/timer.c @@ -1,4 +1,4 @@ -/* $Id: timer.c,v 1.8 2002/09/08 10:23:26 chorns Exp $ +/* $Id: timer.c,v 1.9 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -23,6 +23,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ NTSTATUS STDCALL IoInitializeTimer(PDEVICE_OBJECT DeviceObject, @@ -48,6 +51,9 @@ IoInitializeTimer(PDEVICE_OBJECT DeviceObject, return(STATUS_SUCCESS); } +/* + * @implemented + */ VOID STDCALL IoStartTimer(PDEVICE_OBJECT DeviceObject) @@ -70,6 +76,9 @@ IoStartTimer(PDEVICE_OBJECT DeviceObject) &(DeviceObject->Timer->dpc)); } +/* + * @implemented + */ VOID STDCALL IoStopTimer(PDEVICE_OBJECT DeviceObject) diff --git a/reactos/ntoskrnl/io/vpb.c b/reactos/ntoskrnl/io/vpb.c index b572776a1ed..d7f12107933 100644 --- a/reactos/ntoskrnl/io/vpb.c +++ b/reactos/ntoskrnl/io/vpb.c @@ -1,4 +1,4 @@ -/* $Id: vpb.c,v 1.20 2003/05/22 00:47:04 gdalsnes Exp $ +/* $Id: vpb.c,v 1.21 2003/07/10 15:47:00 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -65,6 +65,9 @@ IoAttachVpb(PDEVICE_OBJECT DeviceObject) } +/* + * @implemented + */ NTSTATUS STDCALL NtQueryVolumeInformationFile(IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, @@ -189,6 +192,9 @@ NtQueryVolumeInformationFile(IN HANDLE FileHandle, } +/* + * @implemented + */ NTSTATUS STDCALL IoQueryVolumeInformation(IN PFILE_OBJECT FileObject, IN FS_INFORMATION_CLASS FsInformationClass, @@ -267,6 +273,9 @@ IoQueryVolumeInformation(IN PFILE_OBJECT FileObject, } +/* + * @implemented + */ NTSTATUS STDCALL NtSetVolumeInformationFile(IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, @@ -356,6 +365,9 @@ NtSetVolumeInformationFile(IN HANDLE FileHandle, } +/* + * @implemented + */ VOID STDCALL IoAcquireVpbSpinLock(OUT PKIRQL Irql) { @@ -364,6 +376,9 @@ IoAcquireVpbSpinLock(OUT PKIRQL Irql) } +/* + * @implemented + */ VOID STDCALL IoReleaseVpbSpinLock(IN KIRQL Irql) {