mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Added required defines and typedefs for ntoskrnl/io modules.
svn path=/trunk/; revision=3613
This commit is contained in:
parent
a46d78f359
commit
48d7bdc4d9
3 changed files with 35 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#ifndef _INCLUDE_DDK_IOFUNCS_H
|
#ifndef _INCLUDE_DDK_IOFUNCS_H
|
||||||
#define _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 --- */
|
/* --- EXPORTED BY NTOSKRNL --- */
|
||||||
|
|
||||||
|
@ -824,6 +824,31 @@ STDCALL
|
||||||
IoQueueThreadIrp (
|
IoQueueThreadIrp (
|
||||||
IN PIRP Irp
|
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
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
IoRaiseHardError (
|
IoRaiseHardError (
|
||||||
|
|
|
@ -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;
|
PDEVICE_CAPABILITIES Capabilities;
|
||||||
} DeviceCapabilities;
|
} DeviceCapabilities;
|
||||||
|
|
||||||
|
// Parameters for IRP_MN_FILTER_RESOURCE_REQUIREMENTS
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
PIO_RESOURCE_REQUIREMENTS_LIST IoResourceRequirementList;
|
||||||
|
} FilterResourceRequirements;
|
||||||
|
|
||||||
// Parameters for IRP_MN_QUERY_ID
|
// Parameters for IRP_MN_QUERY_ID
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
|
|
|
@ -183,6 +183,8 @@
|
||||||
#define STATUS_OBJECT_NAME_INVALID (0xc0000033)
|
#define STATUS_OBJECT_NAME_INVALID (0xc0000033)
|
||||||
#define STATUS_OBJECT_NAME_NOT_FOUND (0xc0000034)
|
#define STATUS_OBJECT_NAME_NOT_FOUND (0xc0000034)
|
||||||
#define STATUS_OBJECT_NAME_COLLISION (0xc0000035)
|
#define STATUS_OBJECT_NAME_COLLISION (0xc0000035)
|
||||||
|
#define STATUS_OBJECT_NAME_EXISTS (0x40000000)
|
||||||
|
|
||||||
|
|
||||||
#define STATUS_PORT_DISCONNECTED (0xc0000037)
|
#define STATUS_PORT_DISCONNECTED (0xc0000037)
|
||||||
#define STATUS_DEVICE_ALREADY_ATTACHED (0xc0000038)
|
#define STATUS_DEVICE_ALREADY_ATTACHED (0xc0000038)
|
||||||
|
|
Loading…
Reference in a new issue