ReactOS  0.4.15-dev-506-ga3ec01c
d4drvif.h File Reference

Go to the source code of this file.

Classes

struct  _DOT4_DC_CREATE_DATA
 
struct  _DOT4_DC_DESTROY_DATA
 
struct  _DOT4_DC_OPEN_DATA
 
struct  _DOT4_DRIVER_CMD
 

Macros

#define _DOT4DRVIF_H
 
#define MAX_SERVICE_LENGTH   40
 
#define CTL_CODE(DeviceType, Function, Method, Access)
 
#define METHOD_BUFFERED   0
 
#define METHOD_IN_DIRECT   1
 
#define METHOD_OUT_DIRECT   2
 
#define METHOD_NEITHER   3
 
#define FILE_ANY_ACCESS   0
 
#define FILE_READ_ACCESS   0x0001
 
#define FILE_WRITE_ACCESS   0x0002
 
#define FILE_DEVICE_DOT4   0x3a
 
#define IOCTL_DOT4_USER_BASE   2049
 
#define IOCTL_DOT4_LAST   IOCTL_DOT4_USER_BASE + 9
 
#define IOCTL_DOT4_ADD_ACTIVITY_BROADCAST   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_DOT4_CLOSE_CHANNEL   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_DOT4_CREATE_SOCKET   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 7, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
 
#define IOCTL_DOT4_DESTROY_SOCKET   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 9, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
 
#define IOCTL_DOT4_OPEN_CHANNEL   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 0, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
 
#define IOCTL_DOT4_READ   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 2, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
 
#define IOCTL_DOT4_REMOVE_ACTIVITY_BROADCAST   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_DOT4_WAIT_ACTIVITY_BROADCAST   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 6, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
 
#define IOCTL_DOT4_WAIT_FOR_CHANNEL   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 8, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
 
#define IOCTL_DOT4_WRITE   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 3, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
 

Typedefs

typedef struct _DOT4_DC_CREATE_DATA DOT4_DC_CREATE_DATA
 
typedef struct _DOT4_DC_CREATE_DATAPDOT4_DC_CREATE_DATA
 
typedef struct _DOT4_DC_DESTROY_DATA DOT4_DC_DESTROY_DATA
 
typedef struct _DOT4_DC_DESTROY_DATAPDOT4_DC_DESTROY_DATA
 
typedef struct _DOT4_DC_OPEN_DATA DOT4_DC_OPEN_DATA
 
typedef struct _DOT4_DC_OPEN_DATAPDOT4_DC_OPEN_DATA
 
typedef struct _DOT4_DRIVER_CMD DOT4_DRIVER_CMD
 
typedef struct _DOT4_DRIVER_CMDPDOT4_DRIVER_CMD
 

Macro Definition Documentation

◆ _DOT4DRVIF_H

#define _DOT4DRVIF_H

Definition at line 25 of file d4drvif.h.

◆ CTL_CODE

#define CTL_CODE (   DeviceType,
  Function,
  Method,
  Access 
)
Value:
( \
((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method) \
)
DeviceType
Definition: mmdrv.h:41
static LPOVERLAPPED_COMPLETION_ROUTINE Function
Definition: sync.c:681

Definition at line 35 of file d4drvif.h.

◆ FILE_ANY_ACCESS

#define FILE_ANY_ACCESS   0

Definition at line 44 of file d4drvif.h.

◆ FILE_DEVICE_DOT4

#define FILE_DEVICE_DOT4   0x3a

Definition at line 50 of file d4drvif.h.

◆ FILE_READ_ACCESS

#define FILE_READ_ACCESS   0x0001

Definition at line 45 of file d4drvif.h.

◆ FILE_WRITE_ACCESS

#define FILE_WRITE_ACCESS   0x0002

Definition at line 46 of file d4drvif.h.

◆ IOCTL_DOT4_ADD_ACTIVITY_BROADCAST

#define IOCTL_DOT4_ADD_ACTIVITY_BROADCAST   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 4, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 54 of file d4drvif.h.

◆ IOCTL_DOT4_CLOSE_CHANNEL

Definition at line 57 of file d4drvif.h.

◆ IOCTL_DOT4_CREATE_SOCKET

Definition at line 60 of file d4drvif.h.

◆ IOCTL_DOT4_DESTROY_SOCKET

Definition at line 63 of file d4drvif.h.

◆ IOCTL_DOT4_LAST

#define IOCTL_DOT4_LAST   IOCTL_DOT4_USER_BASE + 9

Definition at line 52 of file d4drvif.h.

◆ IOCTL_DOT4_OPEN_CHANNEL

Definition at line 66 of file d4drvif.h.

◆ IOCTL_DOT4_READ

Definition at line 69 of file d4drvif.h.

◆ IOCTL_DOT4_REMOVE_ACTIVITY_BROADCAST

#define IOCTL_DOT4_REMOVE_ACTIVITY_BROADCAST   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 5, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 72 of file d4drvif.h.

◆ IOCTL_DOT4_USER_BASE

#define IOCTL_DOT4_USER_BASE   2049

Definition at line 51 of file d4drvif.h.

◆ IOCTL_DOT4_WAIT_ACTIVITY_BROADCAST

#define IOCTL_DOT4_WAIT_ACTIVITY_BROADCAST   CTL_CODE(FILE_DEVICE_DOT4, IOCTL_DOT4_USER_BASE + 6, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)

Definition at line 75 of file d4drvif.h.

◆ IOCTL_DOT4_WAIT_FOR_CHANNEL

Definition at line 78 of file d4drvif.h.

◆ IOCTL_DOT4_WRITE

Definition at line 81 of file d4drvif.h.

◆ MAX_SERVICE_LENGTH

#define MAX_SERVICE_LENGTH   40

Definition at line 31 of file d4drvif.h.

◆ METHOD_BUFFERED

#define METHOD_BUFFERED   0

Definition at line 39 of file d4drvif.h.

◆ METHOD_IN_DIRECT

#define METHOD_IN_DIRECT   1

Definition at line 40 of file d4drvif.h.

◆ METHOD_NEITHER

#define METHOD_NEITHER   3

Definition at line 42 of file d4drvif.h.

◆ METHOD_OUT_DIRECT

#define METHOD_OUT_DIRECT   2

Definition at line 41 of file d4drvif.h.

Typedef Documentation

◆ DOT4_DC_CREATE_DATA

◆ DOT4_DC_DESTROY_DATA

◆ DOT4_DC_OPEN_DATA

◆ DOT4_DRIVER_CMD

◆ PDOT4_DC_CREATE_DATA

◆ PDOT4_DC_DESTROY_DATA

◆ PDOT4_DC_OPEN_DATA

◆ PDOT4_DRIVER_CMD