// ntddpar.h
typedef struct _PARCLASS_NEGOTIATION_MASK {
USHORT usReadMask;
USHORT usWriteMask;
} PARCLASS_NEGOTIATION_MASK, *PPARCLASS_NEGOTIATION_MASK;
View the official Windows Driver Kit DDI referenceNo description available.
The PARCLASS_NEGOTIATION_MASK structure specifies the read and write protocols that a driver selects for a parallel device.
usReadMaskSpecifies the read protocols. For read and write protocol values, see the constants that are defined in ntddpar.h (from NONE to ECP_ANY).
usWriteMaskSpecifies the write protocols.
typedef struct _PARCLASS_NEGOTIATION_MASK {
USHORT usReadMask;
USHORT usWriteMask;
} PARCLASS_NEGOTIATION_MASK, *PPARCLASS_NEGOTIATION_MASK;
A client specifies a set of requested protocols by setting a bitwise OR of the constants that represent each protocol. The system-supplied bus driver for parallel ports selects the fastest protocol that it supports from among those specified by the client.
For more information, see Setting and Clearing a Communication Mode for a Parallel Device.