Skip to content

Commit

Permalink
Microsoft Windows NT 3.51 DDK (3.51.1057.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x9dec1980 committed Sep 30, 2016
1 parent 9a79f08 commit 554b4fa
Show file tree
Hide file tree
Showing 3,031 changed files with 825,439 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DIRS=intpar \
parclass \
parport \
parsimp \
parstat \
pollpar \
serial
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*++ BUILD Version: 0001 // Increment this if a change has global effects
Copyright (c) 1990-1993 Microsoft Corporation
Module Name:
ntddpar.h
Abstract:
This is the include file that defines all constants and types for
accessing the Parallel device.
Author:
Steve Wood (stevewo) 27-May-1990
Revision History:
--*/

//
// NtDeviceIoControlFile IoControlCode values for this device.
//
// Warning: Remember that the low two bits of the code specify how the
// buffers are passed to the driver!
//

#define IOCTL_PAR_BASE FILE_DEVICE_PARALLEL_PORT
#define IOCTL_PAR_QUERY_INFORMATION CTL_CODE(FILE_DEVICE_PARALLEL_PORT,1,METHOD_BUFFERED,FILE_ANY_ACCESS)
#define IOCTL_PAR_SET_INFORMATION CTL_CODE(FILE_DEVICE_PARALLEL_PORT,2,METHOD_BUFFERED,FILE_ANY_ACCESS)

//
// NtDeviceIoControlFile InputBuffer/OutputBuffer record structures for
// this device.
//

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

typedef struct _PAR_SET_INFORMATION{
UCHAR Init;
} PAR_SET_INFORMATION, *PPAR_SET_INFORMATION;

#define PARALLEL_INIT 0x1
#define PARALLEL_AUTOFEED 0x2
#define PARALLEL_PAPER_EMPTY 0x4
#define PARALLEL_OFF_LINE 0x8
#define PARALLEL_POWER_OFF 0x10
#define PARALLEL_NOT_CONNECTED 0x20
#define PARALLEL_BUSY 0x40
#define PARALLEL_SELECTED 0x80

Loading

0 comments on commit 554b4fa

Please sign in to comment.