// parallel.h
PTERMINATE_IEEE_MODE PterminateIeeeMode;
NTSTATUS PterminateIeeeMode(
[in] PVOID Context
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
Context [in]Pointer to the device extension of a parallel device's physical device object (PDO).
| Return code | Description |
|---|---|
| STATUS_SUCCESS | The operating mode was set to IEEE 1284-compatible mode. |
typedef NTSTATUS ( *PTERMINATE_IEEE_MODE)(
_In_ PVOID Context
);
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.