You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
//***************************************************************************
|
|
//* Copyright (c) Microsoft Corporation 1995. All rights reserved. *
|
|
//***************************************************************************
|
|
//* *
|
|
//* GLOBALS.H - Global Context save / restore *
|
|
//* *
|
|
//***************************************************************************
|
|
|
|
#ifndef _GLOBALS_H_
|
|
#define _GLOBALS_H_
|
|
|
|
typedef struct {
|
|
WORD wOSVer;
|
|
WORD wQuietMode;
|
|
BOOL bUpdHlpDlls;
|
|
HINSTANCE hSetupLibrary;
|
|
BOOL fOSSupportsINFInstalls;
|
|
LPSTR lpszTitle;
|
|
HWND hWnd;
|
|
DWORD dwSetupEngine;
|
|
BOOL bCompressed;
|
|
char szBrowsePath[MAX_PATH];
|
|
HINF hInf;
|
|
BOOL bHiveLoaded;
|
|
CHAR szRegHiveKey[MAX_PATH];
|
|
} ADVCONTEXT, *PADVCONTEXT;
|
|
|
|
extern ADVCONTEXT ctx;
|
|
extern HINSTANCE g_hInst;
|
|
extern HANDLE g_hAdvLogFile;
|
|
|
|
|
|
BOOL SaveGlobalContext();
|
|
BOOL RestoreGlobalContext();
|
|
|
|
// related to logging
|
|
VOID AdvStartLogging();
|
|
VOID AdvWriteToLog(LPCSTR pcszFormatString, ...);
|
|
VOID AdvLogDateAndTime();
|
|
VOID AdvStopLogging();
|
|
|
|
#endif // _GLOBALS_H_
|
|
|