Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
MainWindow Class Reference

#include <autorun.h>

Inherits Window.

Public Member Functions

 MainWindow (void)
 
BOOL Is_Product_Registered (void)
 
void Create_Buttons (HWND hWnd, RECT *dlg_rect)
 
unsigned int Run_Auto_Update (HWND hWnd, RECT *rect)
 
unsigned int Run_Demo (HWND hWnd, RECT *rect, int cd_drive)
 
BOOL Run_Explorer (char *, HWND hWnd, RECT *rect)
 
unsigned int Run_Game (HWND hWnd, RECT *rect)
 
unsigned int Run_WorldBuilder (HWND hWnd, RECT *rect)
 
unsigned int Run_PatchGet (HWND hWnd, RECT *rect)
 
unsigned int Run_New_Account (HWND hWnd, RECT *rect)
 
unsigned int Run_Register (HWND hWnd, RECT *rect)
 
unsigned int Run_Setup (HWND hWnd, RECT *rect, int cd_drive)
 
unsigned int Run_Uninstall (HWND hWnd, RECT *rect)
 
unsigned int Run_OpenFile (int cd_drive, const char *filename, bool wait=false)
 
LRESULT Window_Proc (HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam)
 
- Public Member Functions inherited from Window
HWND GetHandle (void)
 
BOOL Show (int nCmdShow)
 
void Update (void)
 

Static Public Member Functions

static void Register (void)
 
static void Reset_Class_Name (char *string)
 

Static Protected Attributes

static char szClassName [100] = CLASS_NAME
 

Additional Inherited Members

- Protected Attributes inherited from Window
HWND hWnd
 

Detailed Description

Definition at line 210 of file autorun.h.

Constructor & Destructor Documentation

◆ MainWindow()

MainWindow::MainWindow ( void )

Definition at line 1047 of file autorun.cpp.

Member Function Documentation

◆ Create_Buttons()

void MainWindow::Create_Buttons ( HWND hWnd,
RECT * dlg_rect )

Definition at line 2169 of file autorun.cpp.

◆ Is_Product_Registered()

BOOL MainWindow::Is_Product_Registered ( void )

Definition at line 1232 of file autorun.cpp.

◆ Register()

void MainWindow::Register ( void )
static

Definition at line 979 of file autorun.cpp.

◆ Reset_Class_Name()

static void MainWindow::Reset_Class_Name ( char * string)
inlinestatic

Definition at line 221 of file autorun.h.

◆ Run_Auto_Update()

unsigned int MainWindow::Run_Auto_Update ( HWND hWnd,
RECT * rect )

Definition at line 1992 of file autorun.cpp.

◆ Run_Demo()

unsigned int MainWindow::Run_Demo ( HWND hWnd,
RECT * rect,
int cd_drive )

Definition at line 1667 of file autorun.cpp.

◆ Run_Explorer()

BOOL MainWindow::Run_Explorer ( char * szString,
HWND hWnd,
RECT * rect )

Definition at line 1448 of file autorun.cpp.

◆ Run_Game()

unsigned int MainWindow::Run_Game ( HWND hWnd,
RECT * rect )

Definition at line 1531 of file autorun.cpp.

◆ Run_New_Account()

unsigned int MainWindow::Run_New_Account ( HWND hWnd,
RECT * rect )

Definition at line 1868 of file autorun.cpp.

◆ Run_OpenFile()

unsigned int MainWindow::Run_OpenFile ( int cd_drive,
const char * filename,
bool wait = false )

Definition at line 1715 of file autorun.cpp.

◆ Run_PatchGet()

unsigned int MainWindow::Run_PatchGet ( HWND hWnd,
RECT * rect )

Definition at line 1629 of file autorun.cpp.

◆ Run_Register()

unsigned int MainWindow::Run_Register ( HWND hWnd,
RECT * rect )

Definition at line 1942 of file autorun.cpp.

◆ Run_Setup()

unsigned int MainWindow::Run_Setup ( HWND hWnd,
RECT * rect,
int cd_drive )

Definition at line 1793 of file autorun.cpp.

◆ Run_Uninstall()

unsigned int MainWindow::Run_Uninstall ( HWND hWnd,
RECT * rect )

Definition at line 2037 of file autorun.cpp.

◆ Run_WorldBuilder()

unsigned int MainWindow::Run_WorldBuilder ( HWND hWnd,
RECT * rect )

Definition at line 1591 of file autorun.cpp.

◆ Window_Proc()

LRESULT MainWindow::Window_Proc ( HWND hWnd,
UINT iMessage,
WPARAM wParam,
LPARAM lParam )
virtual

Implements Window.

Definition at line 1115 of file autorun.cpp.

Member Data Documentation

◆ szClassName

char MainWindow::szClassName = CLASS_NAME
staticprotected

Definition at line 214 of file autorun.h.


The documentation for this class was generated from the following files: