OpenCBM
Data Structures | Macros | Typedefs | Enumerations | Functions
lib/plugin/xa1541/WINDOWS/install.c File Reference

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...
 

Detailed Description

Helper functions for installing the plugin on a Windows machine.



Author
Spiro Trikaliotis

Definition in file lib/plugin/xa1541/WINDOWS/install.c.

Macro Definition Documentation

#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.

Enumeration Type Documentation

use WDM driver or NT4 driver

Enumerator
driver_cbm4wdm 

use WDM driver

Definition at line 140 of file lib/plugin/xa1541/WINDOWS/install.c.

Function Documentation

BOOL CBMAPIDECL opencbm_plugin_install_do_install ( void *  Context)
BOOL CBMAPIDECL opencbm_plugin_install_do_uninstall ( void *  Context)

@@@

Todo:
document
Parameters
Context
Returns

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 
)

@@@

Todo:
document
Parameters
Data
Destination
Returns

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)