ReactOS 0.4.16-dev-106-g10b08aa
kbdmou.h File Reference
#include <ntddkbd.h>
#include <ntddmou.h>
#include <wmidata.h>
Include dependency graph for kbdmou.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CONNECT_DATA
 

Macros

#define _KBDMOU_
 
#define DD_KEYBOARD_PORT_DEVICE_NAME   "\\Device\\KeyboardPort"
 
#define DD_KEYBOARD_PORT_DEVICE_NAME_U   L"\\Device\\KeyboardPort"
 
#define DD_KEYBOARD_PORT_BASE_NAME_U   L"KeyboardPort"
 
#define DD_POINTER_PORT_DEVICE_NAME   "\\Device\\PointerPort"
 
#define DD_POINTER_PORT_DEVICE_NAME_U   L"\\Device\\PointerPort"
 
#define DD_POINTER_PORT_BASE_NAME_U   L"PointerPort"
 
#define DD_KEYBOARD_CLASS_BASE_NAME_U   L"KeyboardClass"
 
#define DD_POINTER_CLASS_BASE_NAME_U   L"PointerClass"
 
#define DD_KEYBOARD_RESOURCE_CLASS_NAME_U   L"Keyboard"
 
#define DD_POINTER_RESOURCE_CLASS_NAME_U   L"Pointer"
 
#define DD_KEYBOARD_MOUSE_COMBO_RESOURCE_CLASS_NAME_U   L"Keyboard/Pointer"
 
#define POINTER_PORTS_MAXIMUM   8
 
#define KEYBOARD_PORTS_MAXIMUM   8
 
#define KBDMOU_COULD_NOT_SEND_COMMAND   0x0000
 
#define KBDMOU_COULD_NOT_SEND_PARAM   0x0001
 
#define KBDMOU_NO_RESPONSE   0x0002
 
#define KBDMOU_INCORRECT_RESPONSE   0x0004
 
#define I8042_ERROR_VALUE_BASE   1000
 
#define INPORT_ERROR_VALUE_BASE   2000
 
#define SERIAL_MOUSE_ERROR_VALUE_BASE   3000
 
#define IOCTL_INTERNAL_KEYBOARD_CONNECT    CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0080, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define IOCTL_INTERNAL_KEYBOARD_DISCONNECT    CTL_CODE(FILE_DEVICE_KEYBOARD,0x0100, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define IOCTL_INTERNAL_KEYBOARD_ENABLE    CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0200, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define IOCTL_INTERNAL_KEYBOARD_DISABLE    CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0400, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define IOCTL_INTERNAL_MOUSE_CONNECT    CTL_CODE(FILE_DEVICE_MOUSE, 0x0080, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define IOCTL_INTERNAL_MOUSE_DISCONNECT    CTL_CODE(FILE_DEVICE_MOUSE, 0x0100, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define IOCTL_INTERNAL_MOUSE_ENABLE    CTL_CODE(FILE_DEVICE_MOUSE, 0x0200, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define IOCTL_INTERNAL_MOUSE_DISABLE    CTL_CODE(FILE_DEVICE_MOUSE, 0x0400, METHOD_NEITHER, FILE_ANY_ACCESS)
 

Typedefs

typedef struct _CONNECT_DATA CONNECT_DATA
 
typedef struct _CONNECT_DATAPCONNECT_DATA
 
typedef VOID(STDAPICALLTYPEPSERVICE_CALLBACK_ROUTINE) (IN PVOID NormalContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2, IN OUT PVOID SystemArgument3)
 

Macro Definition Documentation

◆ _KBDMOU_

#define _KBDMOU_

Definition at line 25 of file kbdmou.h.

◆ DD_KEYBOARD_CLASS_BASE_NAME_U

#define DD_KEYBOARD_CLASS_BASE_NAME_U   L"KeyboardClass"

Definition at line 37 of file kbdmou.h.

◆ DD_KEYBOARD_MOUSE_COMBO_RESOURCE_CLASS_NAME_U

#define DD_KEYBOARD_MOUSE_COMBO_RESOURCE_CLASS_NAME_U   L"Keyboard/Pointer"

Definition at line 42 of file kbdmou.h.

◆ DD_KEYBOARD_PORT_BASE_NAME_U

#define DD_KEYBOARD_PORT_BASE_NAME_U   L"KeyboardPort"

Definition at line 32 of file kbdmou.h.

◆ DD_KEYBOARD_PORT_DEVICE_NAME

#define DD_KEYBOARD_PORT_DEVICE_NAME   "\\Device\\KeyboardPort"

Definition at line 30 of file kbdmou.h.

◆ DD_KEYBOARD_PORT_DEVICE_NAME_U

#define DD_KEYBOARD_PORT_DEVICE_NAME_U   L"\\Device\\KeyboardPort"

Definition at line 31 of file kbdmou.h.

◆ DD_KEYBOARD_RESOURCE_CLASS_NAME_U

#define DD_KEYBOARD_RESOURCE_CLASS_NAME_U   L"Keyboard"

Definition at line 40 of file kbdmou.h.

◆ DD_POINTER_CLASS_BASE_NAME_U

#define DD_POINTER_CLASS_BASE_NAME_U   L"PointerClass"

Definition at line 38 of file kbdmou.h.

◆ DD_POINTER_PORT_BASE_NAME_U

#define DD_POINTER_PORT_BASE_NAME_U   L"PointerPort"

Definition at line 35 of file kbdmou.h.

◆ DD_POINTER_PORT_DEVICE_NAME

#define DD_POINTER_PORT_DEVICE_NAME   "\\Device\\PointerPort"

Definition at line 33 of file kbdmou.h.

◆ DD_POINTER_PORT_DEVICE_NAME_U

#define DD_POINTER_PORT_DEVICE_NAME_U   L"\\Device\\PointerPort"

Definition at line 34 of file kbdmou.h.

◆ DD_POINTER_RESOURCE_CLASS_NAME_U

#define DD_POINTER_RESOURCE_CLASS_NAME_U   L"Pointer"

Definition at line 41 of file kbdmou.h.

◆ I8042_ERROR_VALUE_BASE

#define I8042_ERROR_VALUE_BASE   1000

Definition at line 52 of file kbdmou.h.

◆ INPORT_ERROR_VALUE_BASE

#define INPORT_ERROR_VALUE_BASE   2000

Definition at line 53 of file kbdmou.h.

◆ IOCTL_INTERNAL_KEYBOARD_CONNECT

#define IOCTL_INTERNAL_KEYBOARD_CONNECT    CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0080, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 56 of file kbdmou.h.

◆ IOCTL_INTERNAL_KEYBOARD_DISABLE

#define IOCTL_INTERNAL_KEYBOARD_DISABLE    CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0400, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 65 of file kbdmou.h.

◆ IOCTL_INTERNAL_KEYBOARD_DISCONNECT

#define IOCTL_INTERNAL_KEYBOARD_DISCONNECT    CTL_CODE(FILE_DEVICE_KEYBOARD,0x0100, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 59 of file kbdmou.h.

◆ IOCTL_INTERNAL_KEYBOARD_ENABLE

#define IOCTL_INTERNAL_KEYBOARD_ENABLE    CTL_CODE(FILE_DEVICE_KEYBOARD, 0x0200, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 62 of file kbdmou.h.

◆ IOCTL_INTERNAL_MOUSE_CONNECT

#define IOCTL_INTERNAL_MOUSE_CONNECT    CTL_CODE(FILE_DEVICE_MOUSE, 0x0080, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 68 of file kbdmou.h.

◆ IOCTL_INTERNAL_MOUSE_DISABLE

#define IOCTL_INTERNAL_MOUSE_DISABLE    CTL_CODE(FILE_DEVICE_MOUSE, 0x0400, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 77 of file kbdmou.h.

◆ IOCTL_INTERNAL_MOUSE_DISCONNECT

#define IOCTL_INTERNAL_MOUSE_DISCONNECT    CTL_CODE(FILE_DEVICE_MOUSE, 0x0100, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 71 of file kbdmou.h.

◆ IOCTL_INTERNAL_MOUSE_ENABLE

#define IOCTL_INTERNAL_MOUSE_ENABLE    CTL_CODE(FILE_DEVICE_MOUSE, 0x0200, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 74 of file kbdmou.h.

◆ KBDMOU_COULD_NOT_SEND_COMMAND

#define KBDMOU_COULD_NOT_SEND_COMMAND   0x0000

Definition at line 47 of file kbdmou.h.

◆ KBDMOU_COULD_NOT_SEND_PARAM

#define KBDMOU_COULD_NOT_SEND_PARAM   0x0001

Definition at line 48 of file kbdmou.h.

◆ KBDMOU_INCORRECT_RESPONSE

#define KBDMOU_INCORRECT_RESPONSE   0x0004

Definition at line 50 of file kbdmou.h.

◆ KBDMOU_NO_RESPONSE

#define KBDMOU_NO_RESPONSE   0x0002

Definition at line 49 of file kbdmou.h.

◆ KEYBOARD_PORTS_MAXIMUM

#define KEYBOARD_PORTS_MAXIMUM   8

Definition at line 45 of file kbdmou.h.

◆ POINTER_PORTS_MAXIMUM

#define POINTER_PORTS_MAXIMUM   8

Definition at line 44 of file kbdmou.h.

◆ SERIAL_MOUSE_ERROR_VALUE_BASE

#define SERIAL_MOUSE_ERROR_VALUE_BASE   3000

Definition at line 54 of file kbdmou.h.

Typedef Documentation

◆ CONNECT_DATA

◆ PCONNECT_DATA

◆ PSERVICE_CALLBACK_ROUTINE

typedef VOID(STDAPICALLTYPE * PSERVICE_CALLBACK_ROUTINE) (IN PVOID NormalContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2, IN OUT PVOID SystemArgument3)

Definition at line 85 of file kbdmou.h.