FS2_Open
Open source remastering of the Freespace 2 engine
vdsetup.h File Reference
#include <windows.h>

Go to the source code of this file.

Classes

struct  _DSETUP_CB_UPGRADEINFO
 
struct  _DSETUP_CB_FILECOPYERROR
 

Macros

#define DSETUPERR_SUCCESS_RESTART   1
 
#define DSETUPERR_SUCCESS   0
 
#define DSETUPERR_BADWINDOWSVERSION   -1
 
#define DSETUPERR_SOURCEFILENOTFOUND   -2
 
#define DSETUPERR_BADSOURCESIZE   -3
 
#define DSETUPERR_BADSOURCETIME   -4
 
#define DSETUPERR_NOCOPY   -5
 
#define DSETUPERR_OUTOFDISKSPACE   -6
 
#define DSETUPERR_CANTFINDINF   -7
 
#define DSETUPERR_CANTFINDDIR   -8
 
#define DSETUPERR_INTERNAL   -9
 
#define DSETUPERR_NTWITHNO3D   -10 /* REM: obsolete, you'll never see this */
 
#define DSETUPERR_UNKNOWNOS   -11
 
#define DSETUPERR_USERHITCANCEL   -12
 
#define DSETUPERR_NOTPREINSTALLEDONNT   -13
 
#define DSETUP_DDRAWDRV   0x00000008 /* install DirectDraw Drivers */
 
#define DSETUP_DSOUNDDRV   0x00000010 /* install DirectSound Drivers */
 
#define DSETUP_DXCORE   0x00010000 /* install DirectX runtime */
 
#define DSETUP_DIRECTX   (DSETUP_DXCORE|DSETUP_DDRAWDRV|DSETUP_DSOUNDDRV)
 
#define DSETUP_TESTINSTALL   0x00020000 /* just test install, don't do anything */
 
#define DSETUP_DDRAW   0x00000001 /* OBSOLETE. install DirectDraw */
 
#define DSETUP_DSOUND   0x00000002 /* OBSOLETE. install DirectSound */
 
#define DSETUP_DPLAY   0x00000004 /* OBSOLETE. install DirectPlay */
 
#define DSETUP_DPLAYSP   0x00000020 /* OBSOLETE. install DirectPlay Providers */
 
#define DSETUP_DVIDEO   0x00000040 /* OBSOLETE. install DirectVideo */
 
#define DSETUP_D3D   0x00000200 /* OBSOLETE. install Direct3D */
 
#define DSETUP_DINPUT   0x00000800 /* OBSOLETE. install DirectInput */
 
#define DSETUP_DIRECTXSETUP   0x00001000 /* OBSOLETE. install DirectXSetup DLL's */
 
#define DSETUP_NOUI   0x00002000 /* OBSOLETE. install DirectX with NO UI */
 
#define DSETUP_PROMPTFORDRIVERS   0x10000000 /* OBSOLETE. prompt when replacing display/audio drivers */
 
#define DSETUP_RESTOREDRIVERS   0x20000000 /* OBSOLETE. restore display/audio drivers */
 
#define DSETUP_CB_MSG_NOMESSAGE   0
 
#define DSETUP_CB_MSG_CANTINSTALL_UNKNOWNOS   1
 
#define DSETUP_CB_MSG_CANTINSTALL_NT   2
 
#define DSETUP_CB_MSG_CANTINSTALL_BETA   3
 
#define DSETUP_CB_MSG_CANTINSTALL_NOTWIN32   4
 
#define DSETUP_CB_MSG_CANTINSTALL_WRONGLANGUAGE   5
 
#define DSETUP_CB_MSG_CANTINSTALL_WRONGPLATFORM   6
 
#define DSETUP_CB_MSG_PREINSTALL_NT   7
 
#define DSETUP_CB_MSG_NOTPREINSTALLEDONNT   8
 
#define DSETUP_CB_MSG_SETUP_INIT_FAILED   9
 
#define DSETUP_CB_MSG_INTERNAL_ERROR   10
 
#define DSETUP_CB_MSG_CHECK_DRIVER_UPGRADE   11
 
#define DSETUP_CB_MSG_OUTOFDISKSPACE   12
 
#define DSETUP_CB_MSG_BEGIN_INSTALL   13
 
#define DSETUP_CB_MSG_BEGIN_INSTALL_RUNTIME   14
 
#define DSETUP_CB_MSG_BEGIN_INSTALL_DRIVERS   15
 
#define DSETUP_CB_MSG_BEGIN_RESTORE_DRIVERS   16
 
#define DSETUP_CB_MSG_FILECOPYERROR   17
 
#define DSETUP_CB_UPGRADE_TYPE_MASK   0x000F
 
#define DSETUP_CB_UPGRADE_KEEP   0x0001
 
#define DSETUP_CB_UPGRADE_SAFE   0x0002
 
#define DSETUP_CB_UPGRADE_FORCE   0x0004
 
#define DSETUP_CB_UPGRADE_UNKNOWN   0x0008
 
#define DSETUP_CB_UPGRADE_HASWARNINGS   0x0100
 
#define DSETUP_CB_UPGRADE_CANTBACKUP   0x0200
 
#define DSETUP_CB_UPGRADE_DEVICE_ACTIVE   0x0800
 
#define DSETUP_CB_UPGRADE_DEVICE_DISPLAY   0x1000
 
#define DSETUP_CB_UPGRADE_DEVICE_MEDIA   0x2000
 

Typedefs

typedef struct _DSETUP_CB_UPGRADEINFO DSETUP_CB_UPGRADEINFO
 
typedef struct _DSETUP_CB_FILECOPYERROR DSETUP_CB_FILECOPYERROR
 

Macro Definition Documentation

#define DSETUP_CB_MSG_BEGIN_INSTALL   13

Definition at line 85 of file vdsetup.h.

#define DSETUP_CB_MSG_BEGIN_INSTALL_DRIVERS   15

Definition at line 87 of file vdsetup.h.

#define DSETUP_CB_MSG_BEGIN_INSTALL_RUNTIME   14

Definition at line 86 of file vdsetup.h.

#define DSETUP_CB_MSG_BEGIN_RESTORE_DRIVERS   16

Definition at line 88 of file vdsetup.h.

#define DSETUP_CB_MSG_CANTINSTALL_BETA   3

Definition at line 75 of file vdsetup.h.

#define DSETUP_CB_MSG_CANTINSTALL_NOTWIN32   4

Definition at line 76 of file vdsetup.h.

#define DSETUP_CB_MSG_CANTINSTALL_NT   2

Definition at line 74 of file vdsetup.h.

#define DSETUP_CB_MSG_CANTINSTALL_UNKNOWNOS   1

Definition at line 73 of file vdsetup.h.

#define DSETUP_CB_MSG_CANTINSTALL_WRONGLANGUAGE   5

Definition at line 77 of file vdsetup.h.

#define DSETUP_CB_MSG_CANTINSTALL_WRONGPLATFORM   6

Definition at line 78 of file vdsetup.h.

#define DSETUP_CB_MSG_CHECK_DRIVER_UPGRADE   11

Definition at line 83 of file vdsetup.h.

#define DSETUP_CB_MSG_FILECOPYERROR   17

Definition at line 89 of file vdsetup.h.

#define DSETUP_CB_MSG_INTERNAL_ERROR   10

Definition at line 82 of file vdsetup.h.

#define DSETUP_CB_MSG_NOMESSAGE   0

Definition at line 72 of file vdsetup.h.

#define DSETUP_CB_MSG_NOTPREINSTALLEDONNT   8

Definition at line 80 of file vdsetup.h.

#define DSETUP_CB_MSG_OUTOFDISKSPACE   12

Definition at line 84 of file vdsetup.h.

#define DSETUP_CB_MSG_PREINSTALL_NT   7

Definition at line 79 of file vdsetup.h.

#define DSETUP_CB_MSG_SETUP_INIT_FAILED   9

Definition at line 81 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_CANTBACKUP   0x0200

Definition at line 99 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_DEVICE_ACTIVE   0x0800

Definition at line 101 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_DEVICE_DISPLAY   0x1000

Definition at line 103 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_DEVICE_MEDIA   0x2000

Definition at line 104 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_FORCE   0x0004

Definition at line 95 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_HASWARNINGS   0x0100

Definition at line 98 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_KEEP   0x0001

Definition at line 93 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_SAFE   0x0002

Definition at line 94 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_TYPE_MASK   0x000F

Definition at line 92 of file vdsetup.h.

#define DSETUP_CB_UPGRADE_UNKNOWN   0x0008

Definition at line 96 of file vdsetup.h.

#define DSETUP_D3D   0x00000200 /* OBSOLETE. install Direct3D */

Definition at line 58 of file vdsetup.h.

#define DSETUP_DDRAW   0x00000001 /* OBSOLETE. install DirectDraw */

Definition at line 53 of file vdsetup.h.

#define DSETUP_DDRAWDRV   0x00000008 /* install DirectDraw Drivers */

Definition at line 44 of file vdsetup.h.

#define DSETUP_DINPUT   0x00000800 /* OBSOLETE. install DirectInput */

Definition at line 59 of file vdsetup.h.

#define DSETUP_DIRECTX   (DSETUP_DXCORE|DSETUP_DDRAWDRV|DSETUP_DSOUNDDRV)

Definition at line 47 of file vdsetup.h.

#define DSETUP_DIRECTXSETUP   0x00001000 /* OBSOLETE. install DirectXSetup DLL's */

Definition at line 60 of file vdsetup.h.

#define DSETUP_DPLAY   0x00000004 /* OBSOLETE. install DirectPlay */

Definition at line 55 of file vdsetup.h.

#define DSETUP_DPLAYSP   0x00000020 /* OBSOLETE. install DirectPlay Providers */

Definition at line 56 of file vdsetup.h.

#define DSETUP_DSOUND   0x00000002 /* OBSOLETE. install DirectSound */

Definition at line 54 of file vdsetup.h.

#define DSETUP_DSOUNDDRV   0x00000010 /* install DirectSound Drivers */

Definition at line 45 of file vdsetup.h.

#define DSETUP_DVIDEO   0x00000040 /* OBSOLETE. install DirectVideo */

Definition at line 57 of file vdsetup.h.

#define DSETUP_DXCORE   0x00010000 /* install DirectX runtime */

Definition at line 46 of file vdsetup.h.

#define DSETUP_NOUI   0x00002000 /* OBSOLETE. install DirectX with NO UI */

Definition at line 61 of file vdsetup.h.

#define DSETUP_PROMPTFORDRIVERS   0x10000000 /* OBSOLETE. prompt when replacing display/audio drivers */

Definition at line 62 of file vdsetup.h.

#define DSETUP_RESTOREDRIVERS   0x20000000 /* OBSOLETE. restore display/audio drivers */

Definition at line 63 of file vdsetup.h.

#define DSETUP_TESTINSTALL   0x00020000 /* just test install, don't do anything */

Definition at line 48 of file vdsetup.h.

#define DSETUPERR_BADSOURCESIZE   -3

Definition at line 31 of file vdsetup.h.

#define DSETUPERR_BADSOURCETIME   -4

Definition at line 32 of file vdsetup.h.

#define DSETUPERR_BADWINDOWSVERSION   -1

Definition at line 29 of file vdsetup.h.

#define DSETUPERR_CANTFINDDIR   -8

Definition at line 36 of file vdsetup.h.

#define DSETUPERR_CANTFINDINF   -7

Definition at line 35 of file vdsetup.h.

#define DSETUPERR_INTERNAL   -9

Definition at line 37 of file vdsetup.h.

#define DSETUPERR_NOCOPY   -5

Definition at line 33 of file vdsetup.h.

#define DSETUPERR_NOTPREINSTALLEDONNT   -13

Definition at line 41 of file vdsetup.h.

#define DSETUPERR_NTWITHNO3D   -10 /* REM: obsolete, you'll never see this */

Definition at line 38 of file vdsetup.h.

#define DSETUPERR_OUTOFDISKSPACE   -6

Definition at line 34 of file vdsetup.h.

#define DSETUPERR_SOURCEFILENOTFOUND   -2

Definition at line 30 of file vdsetup.h.

#define DSETUPERR_SUCCESS   0

Definition at line 28 of file vdsetup.h.

#define DSETUPERR_SUCCESS_RESTART   1

Definition at line 27 of file vdsetup.h.

#define DSETUPERR_UNKNOWNOS   -11

Definition at line 39 of file vdsetup.h.

#define DSETUPERR_USERHITCANCEL   -12

Definition at line 40 of file vdsetup.h.

Typedef Documentation