OpenCBM
Data Structures | Macros | Typedefs | Functions
lib/plugin/xum1541/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 "libmisc.h"
#include "version.h"
#include "archlib.h"
#include "archlib-windows.h"

Go to the source code of this file.

Data Structures

struct  xu1541_parameter_s
 The parameter which are given on the command-line. More...
 

Macros

#define DBG_USERMODE
 
#define DBG_PROGNAME   "OPENCBM-XUM1541.DLL"
 
#define OPENCBM_PLUGIN   1
 mark: we are exporting plugin functions
 

Typedefs

typedef struct xu1541_parameter_s xu1541_parameter_t
 The parameter which are given on the command-line.
 

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/xum1541/WINDOWS/install.c.

Macro Definition Documentation

#define DBG_PROGNAME   "OPENCBM-XUM1541.DLL"

The name of the executable

Definition at line 27 of file lib/plugin/xum1541/WINDOWS/install.c.

#define DBG_USERMODE

Mark: We are in user-space (for debug.h)

Definition at line 23 of file lib/plugin/xum1541/WINDOWS/install.c.

Function Documentation

BOOL CBMAPIDECL opencbm_plugin_install_do_install ( void *  Context)

@@@

Todo:
document
Parameters
Context
Returns

Definition at line 302 of file lib/plugin/xum1541/WINDOWS/install.c.

References DBG_PREFIX, DBG_PRINT, FUNC_ENTER, and FUNC_LEAVE_BOOL.

BOOL CBMAPIDECL opencbm_plugin_install_do_uninstall ( void *  Context)

@@@

Todo:
document
Parameters
Context
Returns

Definition at line 324 of file lib/plugin/xum1541/WINDOWS/install.c.

References DBG_PREFIX, DBG_PRINT, FUNC_ENTER, and FUNC_LEAVE_BOOL.

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 348 of file lib/plugin/xum1541/WINDOWS/install.c.

References FUNC_ENTER, and FUNC_LEAVE_UINT.

unsigned int CBMAPIDECL opencbm_plugin_install_process_commandline ( CbmPluginInstallProcessCommandlineData_t Data)

@@@

Todo:
document
Parameters
Data
Returns

Definition at line 228 of file lib/plugin/xum1541/WINDOWS/install.c.

References DBG_ASSERT, FUNC_ENTER, FUNC_LEAVE_UINT, and xu1541_parameter_s::OsVersion.