- Added return values to some unimplemented functions.
authorHartmut Birr <osexpert@googlemail.com>
Sun, 14 Dec 2003 17:44:02 +0000 (17:44 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Sun, 14 Dec 2003 17:44:02 +0000 (17:44 +0000)
svn path=/trunk/; revision=7039

16 files changed:
reactos/ntoskrnl/ex/sysinfo.c
reactos/ntoskrnl/io/create.c
reactos/ntoskrnl/io/dir.c
reactos/ntoskrnl/io/error.c
reactos/ntoskrnl/io/resource.c
reactos/ntoskrnl/io/rw.c
reactos/ntoskrnl/lpc/port.c
reactos/ntoskrnl/lpc/receive.c
reactos/ntoskrnl/lpc/send.c
reactos/ntoskrnl/mm/pool.c
reactos/ntoskrnl/mm/virtual.c
reactos/ntoskrnl/nt/plugplay.c
reactos/ntoskrnl/ob/security.c
reactos/ntoskrnl/se/audit.c
reactos/ntoskrnl/se/semgr.c
reactos/ntoskrnl/se/token.c

index ccc0582..3af5362 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sysinfo.c,v 1.25 2003/09/14 09:03:54 hbirr Exp $
+/* $Id: sysinfo.c,v 1.26 2003/12/14 17:44:02 hbirr Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -1263,6 +1263,7 @@ NtFlushInstructionCache (
        )
 {
        UNIMPLEMENTED;
+       return(STATUS_NOT_IMPLEMENTED);
 }
 
 
index 46f3b92..542519e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: create.c,v 1.70 2003/12/13 14:36:42 ekohl Exp $
+/* $Id: create.c,v 1.71 2003/12/14 17:44:02 hbirr Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -47,6 +47,7 @@ NTSTATUS STDCALL
 NtDeleteFile(IN POBJECT_ATTRIBUTES ObjectAttributes)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
index 54a1351..bd8c10b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: dir.c,v 1.20 2003/12/13 14:36:42 ekohl Exp $
+/* $Id: dir.c,v 1.21 2003/12/14 17:44:02 hbirr Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -39,6 +39,7 @@ NtNotifyChangeDirectoryFile (
        )
 {
        UNIMPLEMENTED;
+       return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -171,6 +172,7 @@ NtQueryDirectoryFile(
 NTSTATUS STDCALL NtQueryOleDirectoryFile(VOID)
 {
    UNIMPLEMENTED;
+   return(STATUS_NOT_IMPLEMENTED);
 }
 
 
index 84a567e..bb3175d 100644 (file)
@@ -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.9 2003/07/10 15:47:00 royce Exp $
+/* $Id: error.c,v 1.10 2003/12/14 17:44:01 hbirr Exp $
  *
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/io/error.c
@@ -51,6 +51,7 @@ BOOLEAN
 IoIsTotalDeviceFailure(NTSTATUS Status)
 {
    UNIMPLEMENTED;
+   return(FALSE);
 }
 
 /*
@@ -62,6 +63,7 @@ IoRaiseInformationalHardError(NTSTATUS ErrorStatus,
                              PKTHREAD Thread)
 {
    UNIMPLEMENTED;
+   return(FALSE);
 }
 
 
index ef1125e..1cb892e 100644 (file)
@@ -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.13 2003/11/17 02:12:51 hyperion Exp $
+/* $Id: resource.c,v 1.14 2003/12/14 17:44:02 hbirr Exp $
  *
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/io/resource.c
@@ -87,6 +87,7 @@ IoReportResourceUsage(PUNICODE_STRING DriverClassName,
       */
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 /*
@@ -101,6 +102,7 @@ IoAssignResources(PUNICODE_STRING RegistryPath,
                  PCM_RESOURCE_LIST* AllocatedResources)
 {
    UNIMPLEMENTED;
+   return(STATUS_NOT_IMPLEMENTED);
 }
 
 /*
index 3936ab2..2b977a0 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: rw.c,v 1.52 2003/12/13 14:36:42 ekohl Exp $
+/* $Id: rw.c,v 1.53 2003/12/14 17:44:02 hbirr Exp $
  *
  * COPYRIGHT:      See COPYING in the top level directory
  * PROJECT:        ReactOS kernel
@@ -299,6 +299,7 @@ NtReadFileScatter (
        )
 {
        UNIMPLEMENTED;
+       return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -329,6 +330,7 @@ NtWriteFileGather (
        )
 {
        UNIMPLEMENTED;
+       return(STATUS_NOT_IMPLEMENTED);
 }
 
 
index 21e10df..77af065 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: port.c,v 1.15 2003/11/17 02:12:51 hyperion Exp $
+/* $Id: port.c,v 1.16 2003/12/14 17:44:02 hbirr Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -125,6 +125,7 @@ NtImpersonateClientOfPort (HANDLE           PortHandle,
                           PLPC_MESSAGE ClientMessage)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
index 16670b5..c8723b5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: receive.c,v 1.7 2003/07/11 01:23:15 royce Exp $
+/* $Id: receive.c,v 1.8 2003/12/14 17:44:02 hbirr Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -39,6 +39,7 @@ NtReadRequestData (HANDLE             PortHandle,
                   PULONG               Returnlength)
 {
        UNIMPLEMENTED;
+       return(STATUS_NOT_IMPLEMENTED);
 }
 
 
index b7dab5e..af8cd78 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: send.c,v 1.12 2003/08/18 11:48:19 hbirr Exp $
+/* $Id: send.c,v 1.13 2003/12/14 17:44:02 hbirr Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -325,6 +325,7 @@ NTSTATUS STDCALL NtWriteRequestData (HANDLE         PortHandle,
                                     PULONG             ReturnLength)
 {
    UNIMPLEMENTED;
+   return(STATUS_NOT_IMPLEMENTED);
 }
 
 
index 0166bc2..8b0497c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: pool.c,v 1.24 2003/09/27 18:53:58 navaraf Exp $
+/* $Id: pool.c,v 1.25 2003/12/14 17:44:02 hbirr Exp $
  * 
  * COPYRIGHT:    See COPYING in the top level directory
  * PROJECT:      ReactOS kernel
@@ -138,8 +138,10 @@ ExAllocatePoolWithQuotaTag (IN     POOL_TYPE       PoolType,
                         Tag,
                         (PVOID)__builtin_return_address(0));
   return(Block);
-#endif
+#else
   UNIMPLEMENTED;
+  return(NULL);
+#endif
 }
 
 /*
index 841cb9e..92d8f48 100644 (file)
@@ -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.70 2003/08/20 10:37:33 silverblade Exp $
+/* $Id: virtual.c,v 1.71 2003/12/14 17:44:02 hbirr Exp $
  *
  * PROJECT:     ReactOS kernel
  * FILE:        ntoskrnl/mm/virtual.c
@@ -56,6 +56,7 @@ NtFlushVirtualMemory(IN       HANDLE  ProcessHandle,
  */
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 NTSTATUS STDCALL 
index 4082039..2636e1e 100644 (file)
@@ -23,6 +23,7 @@ NtPlugPlayControl (DWORD Unknown1,
                    DWORD Unknown3)
 {
    UNIMPLEMENTED;
+   return(STATUS_NOT_IMPLEMENTED);
 }
 
 NTSTATUS
@@ -33,4 +34,5 @@ NtGetPlugPlayEvent (ULONG Reserved1,
                     ULONG BufferLength)
 {
    UNIMPLEMENTED;
+   return(STATUS_NOT_IMPLEMENTED);
 }
index 92119e6..d93165c 100644 (file)
@@ -27,6 +27,7 @@ ObAssignSecurity(IN PACCESS_STATE AccessState,
                 IN POBJECT_TYPE Type)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -39,6 +40,7 @@ ObGetObjectSecurity(IN PVOID Object,
                    OUT PBOOLEAN MemoryAllocated)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
index f15d0fd..1c108b0 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: audit.c,v 1.1 2003/07/20 22:10:23 ekohl Exp $
+/* $Id: audit.c,v 1.2 2003/12/14 17:44:02 hbirr Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -33,6 +33,7 @@ NtAccessCheckAndAuditAlarm(IN PUNICODE_STRING SubsystemName,
        )
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -42,6 +43,7 @@ NtCloseObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
                        IN BOOLEAN GenerateOnClose)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -51,6 +53,7 @@ NtDeleteObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
                         IN BOOLEAN GenerateOnClose)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -69,6 +72,7 @@ NtOpenObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
                       OUT PBOOLEAN GenerateOnClose)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -80,6 +84,7 @@ NtPrivilegedServiceAuditAlarm(IN PUNICODE_STRING SubsystemName,
                              IN BOOLEAN AccessGranted)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -92,6 +97,7 @@ NtPrivilegeObjectAuditAlarm(IN PUNICODE_STRING SubsystemName,
                            IN BOOLEAN AccessGranted)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 /* EOF */
index ded22d1..5c89762 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: semgr.c,v 1.27 2003/10/12 17:05:50 hbirr Exp $
+/* $Id: semgr.c,v 1.28 2003/12/14 17:44:02 hbirr Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -197,6 +197,7 @@ NtAllocateUuids(PULARGE_INTEGER Time,
                PULONG Sequence)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -211,6 +212,7 @@ NtAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
              OUT PBOOLEAN AccessStatus)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -375,6 +377,7 @@ SeAssignSecurity(PSECURITY_DESCRIPTOR ParentDescriptor,
      }
 #else
   UNIMPLEMENTED;   
+  return(STATUS_NOT_IMPLEMENTED);
 #endif
 }
 
index 8f211d2..f0ea4f2 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: token.c,v 1.29 2003/10/12 17:05:50 hbirr Exp $
+/* $Id: token.c,v 1.30 2003/12/14 17:44:02 hbirr Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -43,6 +43,7 @@ VOID SepFreeProxyData(PVOID ProxyData)
 NTSTATUS SepCopyProxyData(PVOID* Dest, PVOID Src)
 {
    UNIMPLEMENTED;
+   return(STATUS_NOT_IMPLEMENTED);
 }
 
 NTSTATUS SeExchangePrimaryToken(PEPROCESS Process,
@@ -748,6 +749,7 @@ NtSetInformationToken(IN HANDLE TokenHandle,
                      IN ULONG TokenInformationLength)
 {
   UNIMPLEMENTED;
+  return(STATUS_NOT_IMPLEMENTED);
 }
 
 
@@ -785,6 +787,7 @@ NtDuplicateToken(IN HANDLE ExistingTokenHandle,
                     &NewToken);
 #else
    UNIMPLEMENTED;
+   return(STATUS_NOT_IMPLEMENTED);
 #endif
 }
 
@@ -838,6 +841,7 @@ NtAdjustGroupsToken(IN HANDLE TokenHandle,
                   &c);
 #else
    UNIMPLEMENTED;
+   return(STATUS_NOT_IMPLEMENTED);
 #endif
 }