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
Requirement | Value |
---|---|
Header | ntddpar.h (include Ntddpar.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for