File:  [WindowsNT SDKs] / q_a / samples / printer / lookup.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:19 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-jun-1992, HEAD
Microsoft Windows NT Build 297 06-28-1992

/************************************************************************\
*
*                             LOOKUP.H
*
\************************************************************************/



/************************************************************************\
*                              TYPEDEFS
\************************************************************************/

union LOOKUPINDEX
{
  int    iIndex;
  WORD   wIndex;
  DWORD  dwIndex;
};

union LOOKUPVALUE
{
  int    iValue;
  DWORD  dwValue;
};

typedef struct {

  union LOOKUPINDEX x;
  union LOOKUPVALUE v;
  LPSTR lpszValue;

} LOOKUPENTRY, *PLOOKUPENTRY;


/************************************************************************\
*                         FUNCTION PROTOTYPES
\************************************************************************/

DWORD  dwLookupWord  (PLOOKUPENTRY, WORD, int);
int    iLookupWord   (PLOOKUPENTRY, WORD, int);
LPTSTR lpszLookupInt (PLOOKUPENTRY, int,  int);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.