Edit

Share via


PNEGOTIATE_IEEE_MODE callback function (parallel.h)

The old version of the PNEGOTIATE_IEEE_MODE callback function. For the latest version, see the PNEGOTIATE_IEEE_MODE (new) callback function.

Syntax

PNEGOTIATE_IEEE_MODE PnegotiateIeeeMode;

NTSTATUS PnegotiateIeeeMode(
  [in] PVOID Extension,
  [in] UCHAR Extensibility
)
{...}

Parameters

[in] Extension

Pointer to the device extension of the parallel port device.

[in] Extensibility

Specifies the IEEE 1284 extensibility mode to negotiate. This is a UCHAR value that indicates the specific parallel port communication mode to establish.

Return value

Returns an NTSTATUS value. Possible return values include:

Return code Description
STATUS_SUCCESS The IEEE mode was successfully negotiated.
STATUS_UNSUCCESSFUL The mode negotiation failed.
STATUS_INVALID_PARAMETER An invalid extensibility mode was specified.
STATUS_DEVICE_NOT_READY The parallel port device is not ready for mode negotiation.

Requirements

Requirement Value
Target Platform Desktop
Header parallel.h (include parallel.h)

See also