|
|
1.1 root 1: /************************************************************************\
2: *
3: * LOOKUP.H
4: *
5: \************************************************************************/
6:
7:
8:
9: /************************************************************************\
10: * TYPEDEFS
11: \************************************************************************/
12:
13: union LOOKUPINDEX
14: {
15: int iIndex;
16: WORD wIndex;
17: DWORD dwIndex;
18: };
19:
20: union LOOKUPVALUE
21: {
22: int iValue;
23: DWORD dwValue;
24: };
25:
26: typedef struct {
27:
28: union LOOKUPINDEX x;
29: union LOOKUPVALUE v;
30: LPSTR lpszValue;
31:
32: } LOOKUPENTRY, *PLOOKUPENTRY;
33:
34:
35: /************************************************************************\
36: * FUNCTION PROTOTYPES
37: \************************************************************************/
38:
39: DWORD dwLookupWord (PLOOKUPENTRY, WORD, int);
40: int iLookupWord (PLOOKUPENTRY, WORD, int);
41: LPTSTR lpszLookupInt (PLOOKUPENTRY, int, int);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.