Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
PTERMINATE_IEEE_MODE PterminateIeeeMode;
NTSTATUS PterminateIeeeMode(
[in] PVOID Context
)
{...}
Parameters
[in] Context
Pointer to the device extension of a parallel device's physical device object (PDO).
Return value
| Return code | Description |
|---|---|
|
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
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | parallel.h (include Parallel.h) |