#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <direct.h>
#include "cbmioctl.h"
#include "version.h"
#include "arch.h"
#include <getopt.h>
#include "debug.h"
#include "instcbm.h"
Go to the source code of this file.
Defines | |
| #define | DBG_USERMODE |
| #define | DBG_PROGNAME "INSTCBM.EXE" |
| #define | DBG_IS_DEBUG_C |
Typedefs | |
| typedef enum osversion_e | osversion_t |
| typedef parameter_s | parameter_t |
| The parameter which are given on the command-line. | |
Enumerations | |
| enum | osversion_e { WINUNSUPPORTED, WINNT3, WINNT4, WIN2000, WINXP, WINNEWER } |
Functions | |
| PCHAR | FormatErrorMessage (DWORD Error) |
| Format a returned error code into a string. | |
| int __cdecl | main (int Argc, char **Argv) |
| Main function. | |
**************************************************************
Definition in file instcbm.c.
|
|
This file is "like" debug.c, that is, define some variables |
|
|
The name of the executable |
|
|
Mark: We are in user-space (for debug.h) |
|
|
This type describes the operating system we are running on |
|
|
This type describes the operating system we are running on |
|
|
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(). |
|
||||||||||||
|
Main function. This function performs the action the user has given on the command-line.
Definition at line 1266 of file instcbm.c. References parameter_s::CheckInstall, DBG_PREFIX, DBG_PRINT, parameter_s::EnumerateParport, FUNC_ENTER, FUNC_LEAVE_INT, parameter_s::NoExecute, parameter_s::OsVersion, parameter_s::Remove, parameter_s::Update, and WINUNSUPPORTED. |
1.4.2