PTERMINATE_IEEE_MODE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// parallel.h

PTERMINATE_IEEE_MODE PterminateIeeeMode;

NTSTATUS PterminateIeeeMode(
  [in] PVOID Context
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-parallel-pterminate_ieee_mode)

PTERMINATE_IEEE_MODE callback

Description

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.

Parameters

Context [in]

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

Return value

Return code Description
STATUS_SUCCESS The operating mode was set to IEEE 1284-compatible mode.

Prototype

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

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.

See also

IOCTL_PAR_GET_DEFAULT_MODES

IOCTL_IEEE1284_GET_MODE

PPARALLEL_IEEE_FWD_TO_REV

PNEGOTIATE_IEEE_MODE

IOCTL_IEEE1284_NEGOTIATE

PDETERMINE_IEEE_MODES

PPARALLEL_IEEE_REV_TO_FWD