ReactOS 0.4.15-dev-7842-g558ab78
mouclass.h
Go to the documentation of this file.
1#ifndef _MOUCLASS_PCH_
2#define _MOUCLASS_PCH_
3
4#include <ntifs.h>
5#include <ntddmou.h>
6
7#define MAX_PATH 260
8
9#define MIN(a, b) ((a) < (b) ? (a) : (b))
10
11#define CLASS_TAG 'CuoM'
12#define DPFLTR_CLASS_NAME_ID DPFLTR_MOUCLASS_ID
13
14typedef enum
15{
22
23typedef struct _CLASS_DRIVER_EXTENSION
24{
26
27 /* Registry settings */
31
34
35typedef struct _COMMON_DEVICE_EXTENSION
36{
39
40typedef struct _PORT_DEVICE_EXTENSION
41{
43
52
53typedef struct _CLASS_DEVICE_EXTENSION
54{
56
58
67
68/* misc.c */
69
71
77
78#endif /* _MOUCLASS_PCH_ */
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
PORT_DEVICE_STATE
Definition: kbdclass.h:15
struct _PORT_DEVICE_EXTENSION * PPORT_DEVICE_EXTENSION
struct _CLASS_DEVICE_EXTENSION CLASS_DEVICE_EXTENSION
NTSTATUS DuplicateUnicodeString(IN ULONG Flags, IN PCUNICODE_STRING SourceString, OUT PUNICODE_STRING DestinationString)
Definition: misc.c:31
struct _CLASS_DRIVER_EXTENSION * PCLASS_DRIVER_EXTENSION
PORT_DEVICE_STATE
Definition: mouclass.h:15
@ dsSurpriseRemoved
Definition: mouclass.h:20
@ dsStopped
Definition: mouclass.h:16
@ dsPaused
Definition: mouclass.h:18
@ dsStarted
Definition: mouclass.h:17
@ dsRemoved
Definition: mouclass.h:19
struct _CLASS_DRIVER_EXTENSION CLASS_DRIVER_EXTENSION
DRIVER_DISPATCH ForwardIrpAndForget
Definition: mouclass.h:70
struct _COMMON_DEVICE_EXTENSION COMMON_DEVICE_EXTENSION
struct _PORT_DEVICE_EXTENSION PORT_DEVICE_EXTENSION
struct _CLASS_DEVICE_EXTENSION * PCLASS_DEVICE_EXTENSION
struct _COMMON_DEVICE_EXTENSION * PCOMMON_DEVICE_EXTENSION
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1910
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1909
DRIVER_DISPATCH(nfs41_FsdDispatch)
COMMON_DEVICE_EXTENSION Common
Definition: kbdclass.h:55
KSPIN_LOCK ListSpinLock
Definition: kbdclass.h:60
PCLASS_DRIVER_EXTENSION DriverExtension
Definition: kbdclass.h:57
LIST_ENTRY ListHead
Definition: kbdclass.h:59
PMOUSE_INPUT_DATA PortData
Definition: mouclass.h:64
KSPIN_LOCK SpinLock
Definition: kbdclass.h:61
PDEVICE_OBJECT MainClassDeviceObject
Definition: kbdclass.h:32
UNICODE_STRING RegistryPath
Definition: kbdclass.h:25
UNICODE_STRING DeviceBaseName
Definition: kbdclass.h:30
Definition: typedefs.h:120
PDEVICE_OBJECT DeviceObject
Definition: kbdclass.h:45
UNICODE_STRING InterfaceName
Definition: kbdclass.h:50
PORT_DEVICE_STATE PnpState
Definition: kbdclass.h:46
LIST_ENTRY ListEntry
Definition: kbdclass.h:44
PDEVICE_OBJECT ClassDO
Definition: kbdclass.h:48
COMMON_DEVICE_EXTENSION Common
Definition: kbdclass.h:42
PDEVICE_OBJECT LowerDevice
Definition: kbdclass.h:47
ULONG_PTR SIZE_T
Definition: typedefs.h:80
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185