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.
37 VDDTerminateVDM(VOID
);
43 typedef VOID (*PFNVDD_INB
) (WORD iport
, PBYTE data
);
44 typedef VOID (*PFNVDD_INW
) (WORD iport
, PWORD data
);
45 typedef VOID (*PFNVDD_INSB
) (WORD iport
, PBYTE data
, WORD count
);
46 typedef VOID (*PFNVDD_INSW
) (WORD iport
, PWORD data
, WORD count
);
47 typedef VOID (*PFNVDD_OUTB
) (WORD iport
, BYTE data
);
48 typedef VOID (*PFNVDD_OUTW
) (WORD iport
, WORD data
);
49 typedef VOID (*PFNVDD_OUTSB
) (WORD iport
, PBYTE data
, WORD count
);
50 typedef VOID (*PFNVDD_OUTSW
) (WORD iport
, PWORD data
, WORD count
);
52 typedef struct _VDD_IO_HANDLERS
54 PFNVDD_INB inb_handler
;
55 PFNVDD_INW inw_handler
;
56 PFNVDD_INSB insb_handler
;
57 PFNVDD_INSW insw_handler
;
58 PFNVDD_OUTB outb_handler
;
59 PFNVDD_OUTW outw_handler
;
60 PFNVDD_OUTSB outsb_handler
;
61 PFNVDD_OUTSW outsw_handler
;
62 } VDD_IO_HANDLERS
, *PVDD_IO_HANDLERS
;
64 typedef struct _VDD_IO_PORTRANGE
68 } VDD_IO_PORTRANGE
, *PVDD_IO_PORTRANGE
;
76 PVDD_IO_PORTRANGE pPortRange
,
77 PVDD_IO_HANDLERS IOhandler
86 PVDD_IO_PORTRANGE pPortRange