Go to the source code of this file.
Defines | |
| #define | REGKEY_EVENTLOG "System\\CurrentControlSet\\Services\\Eventlog\\System\\opencbm" |
Functions | |
| PCHAR | FormatErrorMessage (DWORD Error) |
| Format a returned error code into a string. | |
| BOOL | CbmInstall (IN LPCTSTR DriverName, IN LPCTSTR ServiceExe, IN BOOL AutomaticStart) |
| Install the driver. | |
| BOOL | CbmRemove (IN LPCTSTR DriverName) |
| Remove the driver. | |
| BOOL | CbmCheckPresence (IN LPCTSTR DriverName) |
| Check for the presence of the driver. | |
| BOOL | CbmCheckCorrectInstallation (VOID) |
| Check if the driver was correctly installed. | |
| VOID | CbmParportRestart (VOID) |
| Restart the parallel port. | |
| BOOL | CbmUpdateParameter (IN ULONG DefaultLpt, IN ULONG IecCableType, IN ULONG PermanentlyLock, IN BOOL DebugFlagsDriverPresent, IN ULONG DebugFlagsDriver, IN BOOL DebugFlagsDllPresent, IN ULONG DebugFlagsDll) |
| Update the parameter of the driver. | |
| VOID | CbmInstallUpdate (VOID) |
| Tell the driver to update its settings. | |
**************************************************************
Definition in file instcbm.h.
|
|
Registry key where the opencbm driver is located (under HKLM) Definition at line 24 of file instcbm.h. Referenced by CbmRemove(), and CreateLogRegistryKeys(). |
|
|
Check if the driver was correctly installed. This function checks if the driver was correctly installed.
If there was no interrupt available, it tries to enable it on the parallel port. Definition at line 444 of file startstop.c. References CBM_I_DRIVER_INSTALL_0M_NO_INTERRUPT, cbm_i_driver_start(), cbm_i_driver_stop(), cbm_i_i_driver_install(), CbmParportRestart(), DBG_PREFIX, DBG_PRINT, FUNC_ENTER, FUNC_LEAVE_BOOL, and IsDriverStartedAutomatically(). |
|
|
Check for the presence of the driver. This function checks if the driver is present.
Definition at line 497 of file service.c. References FUNC_ENTER, and FUNC_LEAVE_BOOL. |
|
||||||||||||||||
|
Install the driver. This function installs the opencbm driver on the machine.
Definition at line 281 of file service.c. References cbm_i_driver_start(), CreateLogRegistryKeys(), DBG_ERROR, DBG_PREFIX, DBG_SUCCESS, DBG_WARN, FormatErrorMessage(), FUNC_ENTER, and FUNC_LEAVE_BOOL. |
|
|
Tell the driver to update its settings. This function tells the driver to update its settings after they have been changed.
Definition at line 47 of file install/i_opencbm.c. References CBM_FILE, cbm_ioctl(), cbmarch_driver_close(), cbmarch_driver_open(), CBMCTRL, FUNC_ENTER, and FUNC_LEAVE. Referenced by CbmUpdateParameter(). |
|
|
Restart the parallel port. This function tries to restart the parallel port, so that registry changes can take effect. Definition at line 142 of file parport.c. References DBG_ASSERT, DBG_ERROR, DBG_PREFIX, DBG_SUCCESS, DBGDO, FUNC_ENTER, and FUNC_LEAVE. Referenced by CbmCheckCorrectInstallation(). |
|
|
Remove the driver. This function removes the opencbm driver from the machine.
Definition at line 424 of file service.c. References cbm_i_driver_stop(), DBG_ERROR, DBG_PREFIX, DBG_SUCCESS, FormatErrorMessage(), FUNC_ENTER, FUNC_LEAVE_BOOL, and REGKEY_EVENTLOG. |
|
||||||||||||||||||||||||||||||||
|
Update the parameter of the driver. This function updates the parameters of the driver.
Definition at line 391 of file service.c. References CbmInstallUpdate(), FUNC_ENTER, and FUNC_LEAVE_BOOL. |
|
|
Format a returned error code into a string. This function formats a returned error code into a string.
Definition at line 56 of file instcbm.c. Referenced by CbmInstall(), and CbmRemove(). |
1.4.2