-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Microsoft Windows NT 3.51 DDK (3.51.1057.1)
- Loading branch information
0x9dec1980
committed
Sep 30, 2016
1 parent
9a79f08
commit 554b4fa
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.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
WDK-Samples/Microsoft Windows NT 3.51 DDK (3.51.1057.1)/SRC/COMM/DIRS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
DIRS=intpar \ | ||
parclass \ | ||
parport \ | ||
parsimp \ | ||
parstat \ | ||
pollpar \ | ||
serial |
54 changes: 54 additions & 0 deletions
54
WDK-Samples/Microsoft Windows NT 3.51 DDK (3.51.1057.1)/SRC/COMM/INC/NTDDPAR.H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
Oops, something went wrong.