Annotation of ntddk/src/comm/inc/ntddpar.h, revision 1.1.1.1

1.1       root        1: /*++ BUILD Version: 0001    // Increment this if a change has global effects
                      2: 
                      3: Copyright (c) 1990-1993  Microsoft Corporation
                      4: 
                      5: Module Name:
                      6: 
                      7:     ntddpar.h
                      8: 
                      9: Abstract:
                     10: 
                     11:     This is the include file that defines all constants and types for
                     12:     accessing the Parallel device.
                     13: 
                     14: Author:
                     15: 
                     16:     Steve Wood (stevewo) 27-May-1990
                     17: 
                     18: Revision History:
                     19: 
                     20: --*/
                     21: 
                     22: //
                     23: // NtDeviceIoControlFile IoControlCode values for this device.
                     24: //
                     25: // Warning:  Remember that the low two bits of the code specify how the
                     26: //           buffers are passed to the driver!
                     27: //
                     28: 
                     29: #define IOCTL_PAR_BASE                  FILE_DEVICE_PARALLEL_PORT
                     30: #define IOCTL_PAR_QUERY_INFORMATION     CTL_CODE(FILE_DEVICE_PARALLEL_PORT,1,METHOD_BUFFERED,FILE_ANY_ACCESS)
                     31: #define IOCTL_PAR_SET_INFORMATION       CTL_CODE(FILE_DEVICE_PARALLEL_PORT,2,METHOD_BUFFERED,FILE_ANY_ACCESS)
                     32: 
                     33: //
                     34: // NtDeviceIoControlFile InputBuffer/OutputBuffer record structures for
                     35: // this device.
                     36: //
                     37: 
                     38: typedef struct _PAR_QUERY_INFORMATION{
                     39:        UCHAR Status;
                     40: } PAR_QUERY_INFORMATION, *PPAR_QUERY_INFORMATION;
                     41: 
                     42: typedef struct _PAR_SET_INFORMATION{
                     43:        UCHAR Init;
                     44: } PAR_SET_INFORMATION, *PPAR_SET_INFORMATION;
                     45: 
                     46: #define PARALLEL_INIT            0x1
                     47: #define PARALLEL_AUTOFEED        0x2
                     48: #define PARALLEL_PAPER_EMPTY     0x4
                     49: #define PARALLEL_OFF_LINE         0x8
                     50: #define PARALLEL_POWER_OFF       0x10
                     51: #define PARALLEL_NOT_CONNECTED   0x20
                     52: #define PARALLEL_BUSY            0x40
                     53: #define PARALLEL_SELECTED        0x80

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.