57 RtlZeroMemory(&result,
sizeof(result));
63 OPENCBM_VERSION_SUBMINOR, OPENCBM_VERSION_DEVEL);
74 if (!Pdx->ParallelPortAllocatedInterrupt)
99 RtlCopyMemory(ReturnBuffer, &result, *ReturnLength);
101 FUNC_LEAVE_NTSTATUS_CONST(STATUS_SUCCESS);
struct CBMT_I_INSTALL_OUT CBMT_I_INSTALL_OUT
NTSTATUS ParPortAllowInterruptIoctl(PDEVICE_EXTENSION Pdx)
Set registry key such that we can get the interrupt of a parallel port.
Define the IOCTL codes for the opencbm driver.
#define CBMT_I_INSTALL_OUT_MAKE_VERSION(_x, _y, _z, _w)
#define CBMT_I_INSTALL_OUT_MAKE_VERSION_EX(_w)
NTSTATUS cbm_install(IN PDEVICE_EXTENSION Pdx, OUT PCBMT_I_INSTALL_OUT ReturnBuffer, IN OUT PULONG ReturnLength)
Complete driver installation.
Defining OpenCBM version.
#define CBM_I_DRIVER_INSTALL_0M_NO_INTERRUPT
CBMCTRL_I_INSTALL: No interrupt available.
Definitions for the opencbm driver.