ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

isapnp.h
Go to the documentation of this file.
00001 
00002 #include <wdm.h>
00003 
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007 
00008 #define TAG_ISAPNP 'PNPI'
00009 
00010 typedef enum {
00011   dsStopped,
00012   dsStarted
00013 } ISAPNP_DEVICE_STATE;
00014 
00015 typedef struct _ISAPNP_COMMON_EXTENSION {
00016   PDEVICE_OBJECT Self;
00017   BOOLEAN IsFdo;
00018   ISAPNP_DEVICE_STATE State;
00019 } ISAPNP_COMMON_EXTENSION, *PISAPNP_COMMON_EXTENSION;
00020 
00021 typedef struct _ISAPNP_FDO_EXTENSION {
00022   ISAPNP_COMMON_EXTENSION Common;
00023   PDEVICE_OBJECT Ldo;
00024   PDEVICE_OBJECT Pdo;
00025   LIST_ENTRY DeviceListHead;
00026   ULONG DeviceCount;
00027   PUCHAR ReadDataPort;
00028   KSPIN_LOCK Lock;
00029 } ISAPNP_FDO_EXTENSION, *PISAPNP_FDO_EXTENSION;
00030 
00031 typedef struct _ISAPNP_LOGICAL_DEVICE {
00032   ISAPNP_COMMON_EXTENSION Common;
00033   USHORT VendorId;
00034   USHORT ProdId;
00035   USHORT IoAddr;
00036   UCHAR IrqNo;
00037   UCHAR CSN;
00038   UCHAR LDN;
00039   LIST_ENTRY ListEntry;
00040 } ISAPNP_LOGICAL_DEVICE, *PISAPNP_LOGICAL_DEVICE;
00041 
00042 /* isapnp.c */
00043 NTSTATUS
00044 NTAPI
00045 DriverEntry(
00046   IN PDRIVER_OBJECT DriverObject,
00047   IN PUNICODE_STRING RegistryPath);
00048 
00049 NTSTATUS
00050 NTAPI
00051 IsaForwardIrpSynchronous(
00052     IN PISAPNP_FDO_EXTENSION FdoExt,
00053     IN PIRP Irp);
00054 
00055 /* fdo.c */
00056 NTSTATUS
00057 NTAPI
00058 IsaFdoPnp(
00059   IN PISAPNP_FDO_EXTENSION FdoExt,
00060   IN PIRP Irp,
00061   IN PIO_STACK_LOCATION IrpSp);
00062 
00063 /* pdo.c */
00064 NTSTATUS
00065 NTAPI
00066 IsaPdoPnp(
00067   IN PISAPNP_LOGICAL_DEVICE LogDev,
00068   IN PIRP Irp,
00069   IN PIO_STACK_LOCATION IrpSp);
00070 
00071 /* hardware.c */
00072 NTSTATUS
00073 NTAPI
00074 IsaHwDetectReadDataPort(
00075   IN PISAPNP_FDO_EXTENSION FdoExt);
00076 
00077 NTSTATUS
00078 NTAPI
00079 IsaHwFillDeviceList(
00080   IN PISAPNP_FDO_EXTENSION FdoExt);
00081 
00082 NTSTATUS
00083 NTAPI
00084 IsaHwDeactivateDevice(
00085   IN PISAPNP_LOGICAL_DEVICE LogicalDevice);
00086 
00087 NTSTATUS
00088 NTAPI
00089 IsaHwActivateDevice(
00090   IN PISAPNP_LOGICAL_DEVICE LogicalDevice);
00091 
00092 #ifdef __cplusplus
00093 }
00094 #endif

Generated on Sun May 27 2012 04:27:27 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.