PTERMINATE_IEEE_MODE function pointer

The PTERMINATE_IEEE_MODE-typed callback routine terminates the current IEEE operating mode and sets the mode to IEEE 1284-compatible. The system-supplied bus driver for parallel ports supplies this routine.

Syntax


typedef NTSTATUS ( *PTERMINATE_IEEE_MODE)(
  _In_  PVOID Context
);

Parameters

Context [in]

Pointer to the device extension of a parallel device's physical device object (PDO).

Return value

Return codeDescription
STATUS_SUCCESS

The operating mode was set to IEEE 1284-compatible mode.

 

Remarks

To obtain a pointer to the system-supplied PTERMINATE_IEEE_MODE callback, a kernel-mode driver uses an IOCTL_INTERNAL_PARCLASS_CONNECT request, which returns a PARCLASS_INFORMATION structure. The TerminateIeeeMode member of the PARCLASS_INFORMATION structure is a pointer to this callback.

The PTERMINATE_IEEE_MODE callback runs in the caller's thread at the IRQL of the caller.

For more information, see Setting and Clearing a Communication Mode for a Parallel Device.

Requirements

Header

Parallel.h (include Parallel.h)

See also

IOCTL_IEEE1284_GET_MODE
IOCTL_IEEE1284_NEGOTIATE
IOCTL_PAR_GET_DEFAULT_MODES
PDETERMINE_IEEE_MODES
PNEGOTIATE_IEEE_MODE
PPARALLEL_IEEE_FWD_TO_REV
PPARALLEL_IEEE_REV_TO_FWD

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft