Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
wolSetup.h File Reference
#include <windows.h>

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN
 

Functions

void checkInstalledWolapiVersion (void)
 
void setupGenerals (const char *genPath, const char *genSerial)
 

Variables

HINSTANCE g_hInst
 
unsigned long g_wolapiRegistryVersion
 
unsigned long g_wolapiRealVersion
 
bool g_wolapiInstalled
 
char g_wolapiRegFilename [MAX_PATH]
 
char g_wolapiRealFilename [MAX_PATH]
 
char g_generalsFilename [MAX_PATH]
 
char g_generalsSerial []
 

Macro Definition Documentation

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 26 of file wolSetup.h.

Function Documentation

◆ checkInstalledWolapiVersion()

void checkInstalledWolapiVersion ( void )

checkInstalledWolapiVersion inits WOLAPI if possible and gets its version number. It also saves off its install path from the registry.

Definition at line 191 of file wolInit.cpp.

◆ setupGenerals()

void setupGenerals ( const char * genPath,
const char * genSerial )

Definition at line 140 of file wolInit.cpp.

Variable Documentation

◆ g_generalsFilename

char g_generalsFilename[MAX_PATH]
extern

Definition at line 44 of file wolInit.cpp.

◆ g_generalsSerial

char g_generalsSerial[]
extern

Definition at line 45 of file wolInit.cpp.

◆ g_hInst

HINSTANCE g_hInst
extern

Definition at line 55 of file wolSetup.cpp.

◆ g_wolapiInstalled

bool g_wolapiInstalled
extern

Definition at line 41 of file wolInit.cpp.

◆ g_wolapiRealFilename

char g_wolapiRealFilename[MAX_PATH]
extern

Definition at line 43 of file wolInit.cpp.

◆ g_wolapiRealVersion

unsigned long g_wolapiRealVersion
extern

Definition at line 40 of file wolInit.cpp.

◆ g_wolapiRegFilename

char g_wolapiRegFilename[MAX_PATH]
extern

Definition at line 42 of file wolInit.cpp.

◆ g_wolapiRegistryVersion

unsigned long g_wolapiRegistryVersion
extern

Definition at line 39 of file wolInit.cpp.