OpenCBM
|
Program to install and uninstall the OPENCBM driver. More...
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <direct.h>
#include "arch.h"
#include "cbmioctl.h"
#include "i_opencbm.h"
#include "libmisc.h"
#include "opencbm-plugin.h"
#include "opencbm-plugin-install.h"
#include "version.h"
#include <getopt.h>
#include "debug.h"
#include "instcbm.h"
Go to the source code of this file.
Data Structures | |
struct | InstallPluginCallback_context_s |
@@@ More... | |
Macros | |
#define | DBG_USERMODE |
#define | DBG_PROGNAME "INSTCBM.EXE" |
#define | DBG_IS_DEBUG_C |
#define | KERNEL32_DLL "kernel32.dll" |
#define | KERNEL32API_GetNativeSystemInfo "GetNativeSystemInfo" |
#define | VER_SUITE_WH_SERVER 0x00008000 |
#define | SM_SERVERR2 89 |
#define | VER_SUITE_STORAGE_SERVER 0x00002000 |
Typedefs | |
typedef void(WINAPI * | PGetNativeSystemInfo )(LPSYSTEM_INFO) |
typedef BOOL | HandleNeededFilesCallback_t (const char *DestinationPath, const char *File) |
Type of the callback function for HandleNeededFiles() More... | |
typedef struct InstallPluginCallback_context_s | InstallPluginCallback_context_t |
@@@ More... | |
Functions | |
void | GetProcessorArchitecture (WORD wProcessorArchitecture, char szOS[]) |
HMODULE | LoadLocalOpenCBMDll (void) |
@@@ More... | |
int __cdecl | main (int Argc, char **Argv) |
Main function. More... | |
#define DBG_IS_DEBUG_C |
#define DBG_PROGNAME "INSTCBM.EXE" |
#define DBG_USERMODE |
#define KERNEL32_DLL "kernel32.dll" |
typedef BOOL HandleNeededFilesCallback_t(const char *DestinationPath, const char *File) |
typedef struct InstallPluginCallback_context_s InstallPluginCallback_context_t |
@@@
HMODULE LoadLocalOpenCBMDll | ( | void | ) |
@@@
Definition at line 1479 of file instcbm.c.
References FUNC_ENTER, and FUNC_LEAVE_HMODULE.
Referenced by get_all_installed_plugins().
int __cdecl main | ( | int | Argc, |
char ** | Argv | ||
) |
Main function.
This function performs the action the user has given on the command-line.
Argc | The count of arguments, as given to main(). |
Argv | The arguments vector, as given to main(). |
Definition at line 2134 of file instcbm.c.
References DBG_PREFIX, DBG_PRINT, FUNC_ENTER, FUNC_LEAVE_INT, and PluginListFree().