OpenCBM
|
Helper functions for installing the plugin on a Windows machine. More...
#include <windows.h>
#include <windowsx.h>
#include "debug.h"
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include "cbmioctl.h"
#include "i_opencbm.h"
#include "libmisc.h"
#include "version.h"
#include "archlib.h"
#include "archlib-windows.h"
Go to the source code of this file.
Data Structures | |
struct | xa1541_parameter_s |
The parameter which are given on the command-line. More... | |
Macros | |
#define | DBG_USERMODE |
#define | DBG_PROGNAME "OPENCBM-XA1541.DLL" |
#define | OPENCBM_PLUGIN 1 |
mark: we are exporting plugin functions | |
Typedefs | |
typedef struct xa1541_parameter_s | xa1541_parameter_t |
The parameter which are given on the command-line. | |
typedef enum driver_to_use_e | driver_to_use_t |
use WDM driver or NT4 driver | |
Enumerations | |
enum | driver_to_use_e { driver_cbm4wdm = 1 } |
use WDM driver or NT4 driver More... | |
Functions | |
unsigned int CBMAPIDECL | opencbm_plugin_install_process_commandline (CbmPluginInstallProcessCommandlineData_t *Data) |
@@@ More... | |
BOOL CBMAPIDECL | opencbm_plugin_install_do_install (void *Context) |
@@@ More... | |
BOOL CBMAPIDECL | opencbm_plugin_install_do_uninstall (void *Context) |
@@@ More... | |
unsigned int CBMAPIDECL | opencbm_plugin_install_get_needed_files (CbmPluginInstallProcessCommandlineData_t *Data, opencbm_plugin_install_neededfiles_t *Destination) |
@@@ More... | |
Helper functions for installing the plugin on a Windows machine.
Definition in file lib/plugin/xa1541/WINDOWS/install.c.
#define DBG_PROGNAME "OPENCBM-XA1541.DLL" |
The name of the executable
Definition at line 27 of file lib/plugin/xa1541/WINDOWS/install.c.
#define DBG_USERMODE |
Mark: We are in user-space (for debug.h)
Definition at line 23 of file lib/plugin/xa1541/WINDOWS/install.c.
enum driver_to_use_e |
use WDM driver or NT4 driver
Enumerator | |
---|---|
driver_cbm4wdm |
use WDM driver |
Definition at line 140 of file lib/plugin/xa1541/WINDOWS/install.c.
BOOL CBMAPIDECL opencbm_plugin_install_do_install | ( | void * | Context | ) |
@@@
Context |
Definition at line 471 of file lib/plugin/xa1541/WINDOWS/install.c.
References xa1541_parameter_s::AutomaticStart, CbmCheckDriver(), CbmInstall(), cbmlibmisc_strcat(), cbmlibmisc_strfree(), DBG_ERROR, DBG_PREFIX, DBG_PRINT, driver_cbm4wdm, xa1541_parameter_s::ForceNt4, FUNC_ENTER, FUNC_LEAVE_BOOL, OPENCBM_DRIVERNAME, and xa1541_parameter_s::OsVersion.
BOOL CBMAPIDECL opencbm_plugin_install_do_uninstall | ( | void * | Context | ) |
@@@
Context |
Definition at line 540 of file lib/plugin/xa1541/WINDOWS/install.c.
References CbmCheckPresence(), CbmRemove(), DBG_PREFIX, DBG_PRINT, FUNC_ENTER, FUNC_LEAVE_BOOL, and OPENCBM_DRIVERNAME.
unsigned int CBMAPIDECL opencbm_plugin_install_get_needed_files | ( | CbmPluginInstallProcessCommandlineData_t * | Data, |
opencbm_plugin_install_neededfiles_t * | Destination | ||
) |
@@@
Data | |
Destination |
Definition at line 586 of file lib/plugin/xa1541/WINDOWS/install.c.
References FUNC_ENTER, and FUNC_LEAVE_UINT.
unsigned int CBMAPIDECL opencbm_plugin_install_process_commandline | ( | CbmPluginInstallProcessCommandlineData_t * | Data | ) |
@@@
Data |
Definition at line 293 of file lib/plugin/xa1541/WINDOWS/install.c.
References xa1541_parameter_s::AutomaticOrOnDemandStart, xa1541_parameter_s::AutomaticStart, DBG_ASSERT, xa1541_parameter_s::ForceNt4, FUNC_ENTER, FUNC_LEAVE_UINT, xa1541_parameter_s::IecCableType, xa1541_parameter_s::Lpt, xa1541_parameter_s::OsVersion, and xa1541_parameter_s::PermanentlyLock.