PAR_QUERY_INFORMATION structure

The PAR_QUERY_INFORMATION structure specifies the operating status of a parallel port.

Syntax

typedef struct _PAR_QUERY_INFORMATION {
  UCHAR Status;
} PAR_QUERY_INFORMATION, *PPAR_QUERY_INFORMATION;

Members

Status

Specifies the operating status of a parallel port. The value of Status is a bitwise OR of one or more of the following flags:

PARALLEL_INIT

PARALLEL_AUTOFEED

PARALLEL_PAPER_EMPTY

PARALLEL_OFF_LINE

PARALLEL_POWER_OFF

PARALLEL_NOT_CONNECTED

PARALLEL_BUSY

PARALLEL_SELECTED

Remarks

This structure is used with an IOCTL_PAR_QUERY_INFORMATION request.

Requirements

   
Header ntddpar.h (include Ntddpar.h)

See Also

IOCTL_PAR_SET_INFORMATION

IOCTL_PAR_QUERY_INFORMATION

PAR_SET_INFORMATION