home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / odbc / admndemo / ini.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-10-06  |  1.4 KB  |  44 lines

  1. //*---------------------------------------------------------------------------------
  2. //|  ODBC System Administrator
  3. //|
  4. //|  This code is furnished on an as-is basis as part of the ODBC SDK and is
  5. //|  intended for example purposes only.
  6. //|
  7. //|   Title:   INI.H
  8. //|      This file contains the prototypes and defines for executing SQL
  9. //|         statements and displaying their results.
  10. //*---------------------------------------------------------------------------------
  11. #ifndef ini_DEFS
  12. #define ini_DEFS
  13.  
  14. #include <windows.h>
  15. #include "standard.h"
  16. #include "errcheck.h"
  17.  
  18.  
  19. //*---------------------------------------------------------------------------------
  20. //|   Global variables
  21. //*---------------------------------------------------------------------------------
  22. extern dCSEG(char) szLABINI[];
  23. extern dCSEG(char) szSCREEN[];
  24. extern dCSEG(char) szMAX[];
  25. extern dCSEG(char) szCONNECTOPTIONS[];
  26. extern dCSEG(char) szMAXRESULTS[];
  27. extern dCSEG(char) szFONTSIZE[];
  28. extern dCSEG(char) szMSSansSerif[];
  29.  
  30.  
  31. //*---------------------------------------------------------------------------------
  32. //|   Function prototypes
  33. //*---------------------------------------------------------------------------------
  34. VOID INTFUN ResolveIniFile();
  35. LOGFONT FAR * GetDefaultFont(LOGFONT FAR * lf);
  36. COLORREF GetDefaultRGB(void);
  37. void GetPipeNames(LPSTR szPipes, int size);
  38. void PromptForFontName(HWND hwndOwner);
  39.  
  40.  
  41.  
  42.  
  43. #endif
  44.