summaryrefslogtreecommitdiffstats
path: root/private/unimodem/new/mic/globals.cpp
blob: b25209b6dee6661aa044bd5e078c56f2351c9c9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
//		Copyright (c) 1996 Microsoft Corporation
//
//
//		GLOBALS.CPP		-- Defines global data:
//							CInfSymbolTable gSymtab;
//
//		History:
//			05/27/96	JosephJ		Created
//
//
#include "common.h"

//----------------------- gSymtab -------------------------------
// Global symbol table.
CInfSymbolTable gSymtab;



// --------------------- Global Property Symbols ----------------
const CInfSymbol *g_pSymPropCopyFilesSection;
const CInfSymbol *g_pSymPropManufacturerSection;
const CInfSymbol *g_pSymPropAddRegSection;

LPCTSTR lpctszPropCopyFilesSection		= TEXT("InfCFS");
LPCTSTR lpctszPropManufacturerSection	= TEXT("InfMS");
LPCTSTR lpctszPropAddRegSection			= TEXT("InfARS");

BOOL InitializePropertySymbols(void);


BOOL InitGlobals(void)
{
	return InitializePropertySymbols();
}


BOOL InitializePropertySymbols(void)
{
	g_pSymPropCopyFilesSection = gSymtab.Lookup(
									lpctszPropCopyFilesSection,
									TRUE
									);
	g_pSymPropManufacturerSection = gSymtab.Lookup(
										lpctszPropManufacturerSection,
										TRUE
										);
	g_pSymPropAddRegSection = gSymtab.Lookup(lpctszPropAddRegSection, TRUE);

	return	g_pSymPropCopyFilesSection
			&&	g_pSymPropManufacturerSection
			&&	g_pSymPropAddRegSection;
}