
;    This module contains the common public declarations for the game port
;    enumerator.

ifndef __GAMEPORT_H
__GAMEPORT_H equ 1

FILE_DEVICE_GAMEENUM         equ FILE_DEVICE_BUS_EXTENDER

IOCTL_GAMEENUM_EXPOSE_HARDWARE	equ CTL_CODE (FILE_DEVICE_GAMEENUM, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
IOCTL_GAMEENUM_REMOVE_HARDWARE	equ CTL_CODE (FILE_DEVICE_GAMEENUM, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
IOCTL_GAMEENUM_PORT_DESC		equ CTL_CODE (FILE_DEVICE_GAMEENUM, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)

IOCTL_GAMEENUM_PORT_PARAMETERS	equ CTL_CODE (FILE_DEVICE_GAMEENUM, 100h, METHOD_BUFFERED, FILE_ANY_ACCESS)
IOCTL_GAMEENUM_EXPOSE_SIBLING	equ CTL_CODE (FILE_DEVICE_GAMEENUM, 101h, METHOD_BUFFERED, FILE_ANY_ACCESS)
IOCTL_GAMEENUM_REMOVE_SELF		equ CTL_CODE (FILE_DEVICE_GAMEENUM, 102h, METHOD_BUFFERED, FILE_ANY_ACCESS)
IOCTL_GAMEENUM_ACQUIRE_ACCESSORS	equ CTL_CODE (FILE_DEVICE_GAMEENUM, 103h, METHOD_BUFFERED, FILE_ANY_ACCESS)

endif
