Added required defines and typedefs for ntoskrnl/io modules.
authorRobert Dickenson <robd@reactos.org>
Thu, 3 Oct 2002 19:26:47 +0000 (19:26 +0000)
committerRobert Dickenson <robd@reactos.org>
Thu, 3 Oct 2002 19:26:47 +0000 (19:26 +0000)
svn path=/trunk/; revision=3613

reactos/include/ddk/iofuncs.h
reactos/include/ddk/iotypes.h
reactos/include/ddk/status.h

index 9790d2f..d3dd51e 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef _INCLUDE_DDK_IOFUNCS_H
 #define _INCLUDE_DDK_IOFUNCS_H
-/* $Id: iofuncs.h,v 1.33 2002/09/08 10:47:44 chorns Exp $ */
+/* $Id: iofuncs.h,v 1.34 2002/10/03 19:26:46 robd Exp $ */
 
 /* --- EXPORTED BY NTOSKRNL --- */
 
@@ -824,6 +824,31 @@ STDCALL
 IoQueueThreadIrp (
        IN      PIRP    Irp
        );
+
+typedef struct _IO_WORKITEM *PIO_WORKITEM;
+typedef VOID (*PIO_WORKITEM_ROUTINE)(IN PDEVICE_OBJECT DeviceObject, IN PVOID Context);
+
+VOID
+STDCALL
+IoQueueWorkItem(
+    IN PIO_WORKITEM IoWorkItem, 
+       IN PIO_WORKITEM_ROUTINE WorkerRoutine, 
+       IN WORK_QUEUE_TYPE QueueType, 
+       IN PVOID Context
+       );
+
+VOID
+STDCALL
+IoFreeWorkItem(
+    PIO_WORKITEM IoWorkItem
+       );
+
+PIO_WORKITEM
+STDCALL
+IoAllocateWorkItem(
+       PDEVICE_OBJECT DeviceObject
+       );
+
 VOID
 STDCALL
 IoRaiseHardError (
index 6ce2f2a..0449fa3 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: iotypes.h,v 1.41 2002/09/08 10:47:44 chorns Exp $
+/* $Id: iotypes.h,v 1.42 2002/10/03 19:26:47 robd Exp $
  *
  */
 
@@ -371,6 +371,12 @@ typedef struct __attribute__((packed)) _IO_STACK_LOCATION
          PDEVICE_CAPABILITIES Capabilities;
        } DeviceCapabilities;
 
+      // Parameters for IRP_MN_FILTER_RESOURCE_REQUIREMENTS
+      struct
+       {
+      PIO_RESOURCE_REQUIREMENTS_LIST IoResourceRequirementList;
+    } FilterResourceRequirements;
+
       // Parameters for IRP_MN_QUERY_ID
       struct
        {
index 580dd7c..81edfb9 100644 (file)
 #define STATUS_OBJECT_NAME_INVALID                  (0xc0000033)
 #define STATUS_OBJECT_NAME_NOT_FOUND                (0xc0000034)
 #define STATUS_OBJECT_NAME_COLLISION                (0xc0000035)
+#define STATUS_OBJECT_NAME_EXISTS                   (0x40000000)
+
 
 #define STATUS_PORT_DISCONNECTED                    (0xc0000037)
 #define STATUS_DEVICE_ALREADY_ATTACHED              (0xc0000038)