#include <wdm.h>
#include "cbm_driver.h"
#include "iec.h"
#include "version.h"
Go to the source code of this file.
Functions | |
| NTSTATUS | cbm_lock_parport (IN PDEVICE_EXTENSION Pdx) |
| Lock the parallel port for the driver. | |
| NTSTATUS | cbm_unlock_parport (IN PDEVICE_EXTENSION Pdx) |
| Unlock the parallel port for the driver. | |
| NTSTATUS | cbm_lock (IN PDEVICE_EXTENSION Pdx) |
| Lock the parallel port for the driver. | |
| NTSTATUS | cbm_unlock (IN PDEVICE_EXTENSION Pdx) |
| Unlock the parallel port for the driver. | |
**************************************************************
Definition in file lockunlock.c.
|
|
Lock the parallel port for the driver. This function locks the driver onto the parallel port. This way, no other program or driver can allocate the parallel port and interfere with the communication.
Definition at line 174 of file lockunlock.c. References DBG_PREFIX, DBG_PRINT, and FUNC_ENTER. |
|
|
Lock the parallel port for the driver. This function locks the driver onto the parallel port, so we can use the port afterwards.
Definition at line 40 of file lockunlock.c. References cbm_isr(), cbmiec_init(), cbmiec_release_bus(), DBG_ASSERT, DBG_PREFIX, DBG_PRINT, FUNC_ENTER, ParPortAllocate(), ParPortAllocInterrupt(), ParPortFree(), ParPortFreeInterrupt(), ParPortSetMode(), and ParPortUnsetMode(). Referenced by cbm_execute_createopen(), and cbm_init_registry(). |
|
|
Unlock the parallel port for the driver. This function unlocks the driver from the parallel port. This way, other programs and drivers can allocate the parallel port and do their own communication with whatever device they use.
Definition at line 203 of file lockunlock.c. References DBG_PREFIX, DBG_PRINT, and FUNC_ENTER. |
|
|
Unlock the parallel port for the driver. This function unlocks the driver from the parallel port after the port has been used.
Definition at line 123 of file lockunlock.c. References cbmiec_release_bus(), DBG_ASSERT, DBG_PREFIX, DBG_PRINT, FUNC_ENTER, ParPortFree(), ParPortFreeInterrupt(), and ParPortUnsetMode(). Referenced by cbm_execute_close(), and DriverUnload(). |
1.4.2