PARCLASS_NEGOTIATION_MASK structure (ntddpar.h)

The PARCLASS_NEGOTIATION_MASK structure specifies the read and write protocols that a driver selects for a parallel device.

Syntax

typedef struct _PARCLASS_NEGOTIATION_MASK {
  USHORT usReadMask;
  USHORT usWriteMask;
} PARCLASS_NEGOTIATION_MASK, *PPARCLASS_NEGOTIATION_MASK;

Members

usReadMask

Specifies the read protocols. For read and write protocol values, see the constants that are defined in ntddpar.h (from NONE to ECP_ANY).

usWriteMask

Specifies the write protocols.

Remarks

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.

Requirements

   
Header ntddpar.h (include Ntddpar.h)

See also

IOCTL_PAR_GET_DEFAULT_MODES

IOCTL_IEEE1284_GET_MODE

PNEGOTIATE_IEEE_MODE

IOCTL_IEEE1284_NEGOTIATE

PDETERMINE_IEEE_MODES