Go to the source code of this file.
Defines | |
| #define | DATA_PORT_OFFSET 0 |
| #define | STATUS_PORT_OFFSET 1 |
| #define | CONTROL_PORT_OFFSET 2 |
| #define | LPT1_PORT_STATUS 0x3bd |
| #define | LPT2_PORT_STATUS 0x379 |
| #define | LPT3_PORT_STATUS 0x279 |
| #define | LPT_MASK 0xff0 |
| #define | IRQ 0x10 |
| #define | NOTBUSY 0x80 |
| #define | HOST_LPT_BUSY (1 << 0) |
| #define | STATUS_REG_MASK 0x07 |
| #define | get_status(adap) (*(PUCHAR)((ULONG)(((PVDM_PROCESS_OBJECTS)(PsGetCurrentProcess()->VdmObjects))->PrinterStatus)+(ULONG)adap)) |
| #define | get_control(adap) (*(PUCHAR)((ULONG)(((PVDM_PROCESS_OBJECTS)(PsGetCurrentProcess()->VdmObjects))->PrinterControl)+(ULONG)adap)) |
| #define | host_lpt_status(adap) (*(PUCHAR)((ULONG)(((PVDM_PROCESS_OBJECTS)(PsGetCurrentProcess()->VdmObjects))->PrinterHostState)+(ULONG)adap)) |
| #define | set_status(adap, val) *(PUCHAR)((ULONG)(((PVDM_PROCESS_OBJECTS)(PsGetCurrentProcess()->VdmObjects))->PrinterStatus)+(ULONG)adap) = val |
Functions | |
| NTSTATUS | PspSetProcessIoHandlers (IN PEPROCESS Process, IN PVOID IoHandlerInformation, IN ULONG IoHandlerLength) |
| NTSTATUS | VdmFlushPrinterWriteData (USHORT Adapter) |
|
|
Definition at line 26 of file vdmprint.h. |
|
|
Definition at line 24 of file vdmprint.h. Referenced by VdmPrinterWriteData(). |
|
|
Definition at line 39 of file vdmprint.h. Referenced by VdmPrinterStatus(). |
|
|
Definition at line 38 of file vdmprint.h. Referenced by VdmPrinterStatus(). |
|
|
Definition at line 35 of file vdmprint.h. Referenced by VdmPrinterStatus(). |
|
|
Definition at line 40 of file vdmprint.h. Referenced by VdmPrinterStatus(). |
|
|
Definition at line 32 of file vdmprint.h. Referenced by VdmPrinterStatus(). |
|
|
Definition at line 28 of file vdmprint.h. |
|
|
Definition at line 29 of file vdmprint.h. |
|
|
Definition at line 30 of file vdmprint.h. |
|
|
Definition at line 31 of file vdmprint.h. |
|
|
Definition at line 34 of file vdmprint.h. Referenced by VdmPrinterStatus(). |
|
|
Definition at line 41 of file vdmprint.h. Referenced by VdmPrinterStatus(). |
|
|
Definition at line 25 of file vdmprint.h. Referenced by VdmPrinterStatus(). |
|
|
Definition at line 36 of file vdmprint.h. Referenced by VdmPrinterStatus(). |
|
||||||||||||||||
|
Definition at line 25 of file alpha/psvdm.c. Referenced by NtSetInformationProcess().
|
|
|
Definition at line 236 of file vdmprint.c. References DbgPrint, EXCEPTION_EXECUTE_HANDLER, FALSE, KeLowerIrql(), KeRaiseIrql(), NT_SUCCESS, NtDeviceIoControlFile(), NTSTATUS(), NULL, PAGED_CODE, PASSIVE_LEVEL, Status, VdmpGetVdmTib(), and VDMTIB_KMODE. Referenced by VdmpPrinterDirectIoClose(), VdmPrinterStatus(), and VdmPrinterWriteData().
|
1.3.7