4 * Windows NT Device Driver Kit
6 * This file is part of the ReactOS DDK package.
9 * Hermes Belusca-Maito (hermes.belusca@sfr.fr)
11 * THIS SOFTWARE IS NOT COPYRIGHTED
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAIMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
35 typedef VOID (*PFNVDD_INB
) (WORD iport
, PBYTE data
);
36 typedef VOID (*PFNVDD_INW
) (WORD iport
, PWORD data
);
37 typedef VOID (*PFNVDD_INSB
) (WORD iport
, PBYTE data
, WORD count
);
38 typedef VOID (*PFNVDD_INSW
) (WORD iport
, PWORD data
, WORD count
);
39 typedef VOID (*PFNVDD_OUTB
) (WORD iport
, BYTE data
);
40 typedef VOID (*PFNVDD_OUTW
) (WORD iport
, WORD data
);
41 typedef VOID (*PFNVDD_OUTSB
) (WORD iport
, PBYTE data
, WORD count
);
42 typedef VOID (*PFNVDD_OUTSW
) (WORD iport
, PWORD data
, WORD count
);
44 typedef struct _VDD_IO_HANDLERS
46 PFNVDD_INB inb_handler
;
47 PFNVDD_INW inw_handler
;
48 PFNVDD_INSB insb_handler
;
49 PFNVDD_INSW insw_handler
;
50 PFNVDD_OUTB outb_handler
;
51 PFNVDD_OUTW outw_handler
;
52 PFNVDD_OUTSB outsb_handler
;
53 PFNVDD_OUTSW outsw_handler
;
54 } VDD_IO_HANDLERS
, *PVDD_IO_HANDLERS
;
56 typedef struct _VDD_IO_PORTRANGE
60 } VDD_IO_PORTRANGE
, *PVDD_IO_PORTRANGE
;
68 PVDD_IO_PORTRANGE pPortRange
,
69 PVDD_IO_HANDLERS IOhandler
78 PVDD_IO_PORTRANGE pPortRange