ReactOS  0.4.15-dev-985-gd905dd5
ntddpar.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _PAR_DEVICE_ID_SIZE_INFORMATION
 
struct  _PAR_QUERY_INFORMATION
 
struct  _PAR_SET_INFORMATION
 
struct  _PARCLASS_NEGOTIATION_MASK
 

Macros

#define GUID_PARALLEL_DEVICE   GUID_DEVINTERFACE_PARALLEL
 
#define GUID_PARCLASS_DEVICE   GUID_DEVINTERFACE_PARCLASS
 
#define IOCTL_IEEE1284_GET_MODE   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_IEEE1284_NEGOTIATE   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_GET_DEFAULT_MODES   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_GET_DEVICE_CAPS   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 9, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_IS_PORT_FREE   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 21, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_QUERY_DEVICE_ID   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_QUERY_DEVICE_ID_SIZE   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_QUERY_INFORMATION   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_QUERY_LOCATION   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 22, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_QUERY_RAW_DEVICE_ID   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_SET_INFORMATION   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_SET_READ_ADDRESS   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_PAR_SET_WRITE_ADDRESS   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define PARALLEL_INIT   0x01
 
#define PARALLEL_AUTOFEED   0x02
 
#define PARALLEL_PAPER_EMPTY   0x04
 
#define PARALLEL_OFF_LINE   0x08
 
#define PARALLEL_POWER_OFF   0x10
 
#define PARALLEL_NOT_CONNECTED   0x20
 
#define PARALLEL_BUSY   0x40
 
#define PARALLEL_SELECTED   0x80
 
#define NONE   0x0000
 
#define CENTRONICS   0x0001
 
#define IEEE_COMPATIBILITY   0x0002
 
#define NIBBLE   0x0004
 
#define CHANNEL_NIBBLE   0x0008
 
#define BYTE_BIDIR   0x0010
 
#define EPP_HW   0x0020
 
#define EPP_SW   0x0040
 
#define EPP_ANY   0x0060
 
#define BOUNDED_ECP   0x0080
 
#define ECP_HW_NOIRQ   0x0100
 
#define ECP_HW_IRQ   0x0200
 
#define ECP_SW   0x0400
 
#define ECP_ANY   0x0780
 

Typedefs

typedef struct _PAR_DEVICE_ID_SIZE_INFORMATION PAR_DEVICE_ID_SIZE_INFORMATION
 
typedef struct _PAR_DEVICE_ID_SIZE_INFORMATIONPPAR_DEVICE_ID_SIZE_INFORMATION
 
typedef struct _PAR_QUERY_INFORMATION PAR_QUERY_INFORMATION
 
typedef struct _PAR_QUERY_INFORMATIONPPAR_QUERY_INFORMATION
 
typedef struct _PAR_SET_INFORMATION PAR_SET_INFORMATION
 
typedef struct _PAR_SET_INFORMATIONPPAR_SET_INFORMATION
 
typedef struct _PARCLASS_NEGOTIATION_MASK PARCLASS_NEGOTIATION_MASK
 
typedef struct _PARCLASS_NEGOTIATION_MASKPPARCLASS_NEGOTIATION_MASK
 

Functions

 DEFINE_GUID (GUID_DEVINTERFACE_PARALLEL, 0x97F76EF0, 0xF883, 0x11D0, 0xAF, 0x1F, 0x00, 0x00, 0xF8, 0x00, 0x84, 0x5C)
 
 DEFINE_GUID (GUID_DEVINTERFACE_PARCLASS, 0x811FC6A5, 0xF728, 0x11D0, 0xA5, 0x37, 0x00, 0x00, 0xF8, 0x75, 0x3E, 0xD1)
 

Macro Definition Documentation

◆ BOUNDED_ECP

#define BOUNDED_ECP   0x0080

Definition at line 103 of file ntddpar.h.

◆ BYTE_BIDIR

#define BYTE_BIDIR   0x0010

Definition at line 99 of file ntddpar.h.

◆ CENTRONICS

#define CENTRONICS   0x0001

Definition at line 95 of file ntddpar.h.

◆ CHANNEL_NIBBLE

#define CHANNEL_NIBBLE   0x0008

Definition at line 98 of file ntddpar.h.

◆ ECP_ANY

#define ECP_ANY   0x0780

Definition at line 107 of file ntddpar.h.

◆ ECP_HW_IRQ

#define ECP_HW_IRQ   0x0200

Definition at line 105 of file ntddpar.h.

◆ ECP_HW_NOIRQ

#define ECP_HW_NOIRQ   0x0100

Definition at line 104 of file ntddpar.h.

◆ ECP_SW

#define ECP_SW   0x0400

Definition at line 106 of file ntddpar.h.

◆ EPP_ANY

#define EPP_ANY   0x0060

Definition at line 102 of file ntddpar.h.

◆ EPP_HW

#define EPP_HW   0x0020

Definition at line 100 of file ntddpar.h.

◆ EPP_SW

#define EPP_SW   0x0040

Definition at line 101 of file ntddpar.h.

◆ GUID_PARALLEL_DEVICE

#define GUID_PARALLEL_DEVICE   GUID_DEVINTERFACE_PARALLEL

Definition at line 37 of file ntddpar.h.

◆ GUID_PARCLASS_DEVICE

#define GUID_PARCLASS_DEVICE   GUID_DEVINTERFACE_PARCLASS

Definition at line 38 of file ntddpar.h.

◆ IEEE_COMPATIBILITY

#define IEEE_COMPATIBILITY   0x0002

Definition at line 96 of file ntddpar.h.

◆ IOCTL_IEEE1284_GET_MODE

Definition at line 41 of file ntddpar.h.

◆ IOCTL_IEEE1284_NEGOTIATE

Definition at line 43 of file ntddpar.h.

◆ IOCTL_PAR_GET_DEFAULT_MODES

#define IOCTL_PAR_GET_DEFAULT_MODES   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 45 of file ntddpar.h.

◆ IOCTL_PAR_GET_DEVICE_CAPS

Definition at line 47 of file ntddpar.h.

◆ IOCTL_PAR_IS_PORT_FREE

Definition at line 49 of file ntddpar.h.

◆ IOCTL_PAR_QUERY_DEVICE_ID

Definition at line 51 of file ntddpar.h.

◆ IOCTL_PAR_QUERY_DEVICE_ID_SIZE

#define IOCTL_PAR_QUERY_DEVICE_ID_SIZE   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 53 of file ntddpar.h.

◆ IOCTL_PAR_QUERY_INFORMATION

#define IOCTL_PAR_QUERY_INFORMATION   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 55 of file ntddpar.h.

◆ IOCTL_PAR_QUERY_LOCATION

Definition at line 57 of file ntddpar.h.

◆ IOCTL_PAR_QUERY_RAW_DEVICE_ID

#define IOCTL_PAR_QUERY_RAW_DEVICE_ID   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 59 of file ntddpar.h.

◆ IOCTL_PAR_SET_INFORMATION

Definition at line 61 of file ntddpar.h.

◆ IOCTL_PAR_SET_READ_ADDRESS

#define IOCTL_PAR_SET_READ_ADDRESS   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 63 of file ntddpar.h.

◆ IOCTL_PAR_SET_WRITE_ADDRESS

#define IOCTL_PAR_SET_WRITE_ADDRESS   CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 65 of file ntddpar.h.

◆ NIBBLE

#define NIBBLE   0x0004

Definition at line 97 of file ntddpar.h.

◆ NONE

#define NONE   0x0000

Definition at line 94 of file ntddpar.h.

◆ PARALLEL_AUTOFEED

#define PARALLEL_AUTOFEED   0x02

Definition at line 73 of file ntddpar.h.

◆ PARALLEL_BUSY

#define PARALLEL_BUSY   0x40

Definition at line 78 of file ntddpar.h.

◆ PARALLEL_INIT

#define PARALLEL_INIT   0x01

Definition at line 72 of file ntddpar.h.

◆ PARALLEL_NOT_CONNECTED

#define PARALLEL_NOT_CONNECTED   0x20

Definition at line 77 of file ntddpar.h.

◆ PARALLEL_OFF_LINE

#define PARALLEL_OFF_LINE   0x08

Definition at line 75 of file ntddpar.h.

◆ PARALLEL_PAPER_EMPTY

#define PARALLEL_PAPER_EMPTY   0x04

Definition at line 74 of file ntddpar.h.

◆ PARALLEL_POWER_OFF

#define PARALLEL_POWER_OFF   0x10

Definition at line 76 of file ntddpar.h.

◆ PARALLEL_SELECTED

#define PARALLEL_SELECTED   0x80

Definition at line 79 of file ntddpar.h.

Typedef Documentation

◆ PAR_DEVICE_ID_SIZE_INFORMATION

◆ PAR_QUERY_INFORMATION

◆ PAR_SET_INFORMATION

◆ PARCLASS_NEGOTIATION_MASK

◆ PPAR_DEVICE_ID_SIZE_INFORMATION

◆ PPAR_QUERY_INFORMATION

◆ PPAR_SET_INFORMATION

◆ PPARCLASS_NEGOTIATION_MASK

Function Documentation

◆ DEFINE_GUID() [1/2]

DEFINE_GUID ( GUID_DEVINTERFACE_PARALLEL  ,
0x97F76EF0  ,
0xF883  ,
0x11D0  ,
0xAF  ,
0x1F  ,
0x00  ,
0x00  ,
0xF8  ,
0x00  ,
0x84  ,
0x5C   
)

◆ DEFINE_GUID() [2/2]

DEFINE_GUID ( GUID_DEVINTERFACE_PARCLASS  ,
0x811FC6A5  ,
0xF728  ,
0x11D0  ,
0xA5  ,
0x37  ,
0x00  ,
0x00  ,
0xF8  ,
0x75  ,
0x3E  ,
0xD1   
)