ReactOS  0.4.13-dev-235-g7373cb3
isapnp.h
Go to the documentation of this file.
1 #ifndef _ISAPNP_PCH_
2 #define _ISAPNP_PCH_
3 
4 #include <wdm.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 #define TAG_ISAPNP 'PNPI'
11 
12 typedef enum {
16 
17 typedef struct _ISAPNP_COMMON_EXTENSION {
22 
23 typedef struct _ISAPNP_FDO_EXTENSION {
32 
33 typedef struct _ISAPNP_LOGICAL_DEVICE {
43 
44 /* isapnp.c */
45 
46 DRIVER_INITIALIZE DriverEntry;
47 
49 NTAPI
53 
55 NTAPI
58  IN PIRP Irp);
59 
60 /* fdo.c */
62 NTAPI
63 IsaFdoPnp(
65  IN PIRP Irp,
67 
68 /* pdo.c */
70 NTAPI
71 IsaPdoPnp(
73  IN PIRP Irp,
75 
76 /* hardware.c */
78 NTAPI
80  IN PISAPNP_FDO_EXTENSION FdoExt);
81 
83 NTAPI
85  IN PISAPNP_FDO_EXTENSION FdoExt);
86 
88 NTAPI
90  IN PISAPNP_LOGICAL_DEVICE LogicalDevice);
91 
93 NTAPI
95  IN PISAPNP_LOGICAL_DEVICE LogicalDevice);
96 
97 #ifdef __cplusplus
98 }
99 #endif
100 
101 #endif /* _ISAPNP_PCH_ */
struct _ISAPNP_FDO_EXTENSION ISAPNP_FDO_EXTENSION
NTSTATUS NTAPI IsaFdoPnp(IN PISAPNP_FDO_EXTENSION FdoExt, IN PIRP Irp, IN PIO_STACK_LOCATION IrpSp)
Definition: fdo.c:99
NTSTATUS NTAPI IsaHwActivateDevice(IN PISAPNP_LOGICAL_DEVICE LogicalDevice)
Definition: hardware.c:554
#define IN
Definition: typedefs.h:38
_In_ PIRP Irp
Definition: csq.h:116
LIST_ENTRY DeviceListHead
Definition: isapnp.h:27
unsigned char * PUCHAR
Definition: retypes.h:3
struct _ISAPNP_LOGICAL_DEVICE ISAPNP_LOGICAL_DEVICE
LONG NTSTATUS
Definition: precomp.h:26
ISAPNP_DEVICE_STATE
Definition: isapnp.h:12
NTSTATUS NTAPI IsaForwardIrpSynchronous(IN PISAPNP_FDO_EXTENSION FdoExt, IN PIRP Irp)
Definition: isapnp.c:34
PDEVICE_OBJECT Pdo
Definition: isapnp.h:26
NTSTATUS NTAPI IsaHwFillDeviceList(IN PISAPNP_FDO_EXTENSION FdoExt)
Definition: hardware.c:576
DRIVER_INITIALIZE DriverEntry
Definition: isapnp.h:46
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned char BOOLEAN
static PDRIVER_OBJECT DriverObject
Definition: template.c:42
LIST_ENTRY ListEntry
Definition: isapnp.h:41
ISAPNP_DEVICE_STATE State
Definition: isapnp.h:20
KSPIN_LOCK Lock
Definition: isapnp.h:30
struct _ISAPNP_FDO_EXTENSION * PISAPNP_FDO_EXTENSION
struct _ISAPNP_LOGICAL_DEVICE * PISAPNP_LOGICAL_DEVICE
ISAPNP_COMMON_EXTENSION Common
Definition: isapnp.h:24
unsigned char UCHAR
Definition: xmlstorage.h:181
ISAPNP_COMMON_EXTENSION Common
Definition: isapnp.h:34
Definition: typedefs.h:117
NTSTATUS NTAPI IsaHwDetectReadDataPort(IN PISAPNP_FDO_EXTENSION FdoExt)
Definition: hardware.c:537
unsigned short USHORT
Definition: pedump.c:61
_In_ PIO_STACK_LOCATION IrpSp
Definition: create.c:4157
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
PUCHAR ReadDataPort
Definition: isapnp.h:29
struct _ISAPNP_COMMON_EXTENSION ISAPNP_COMMON_EXTENSION
NTSTATUS NTAPI IsaPdoPnp(IN PISAPNP_LOGICAL_DEVICE LogDev, IN PIRP Irp, IN PIO_STACK_LOCATION IrpSp)
Definition: pdo.c:40
NTSTATUS NTAPI IsaHwDeactivateDevice(IN PISAPNP_LOGICAL_DEVICE LogicalDevice)
Definition: hardware.c:565
unsigned int ULONG
Definition: retypes.h:1
_In_ PUNICODE_STRING RegistryPath
Definition: wmip.h:27
struct _ISAPNP_COMMON_EXTENSION * PISAPNP_COMMON_EXTENSION
PDEVICE_OBJECT Ldo
Definition: isapnp.h:25
PDEVICE_OBJECT Self
Definition: isapnp.h:18