schemes.h
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. #ifndef _INC_SCHEMES_H
  2. #define _INC_SCHEMES_H
  3. // HACK - THESE VALUES ARE HARD CODED
  4. #define COLOR_MAX_95_NT4 25
  5. #define COLOR_MAX_97_NT5 29
  6. // Scheme data used locally by this app - NOTE: This structure
  7. // does NOT use or need the A and W forms for its members.  The other schemedata's
  8. // MUST use the A and W forms since that's how they are stored in the registry
  9. typedef struct {
  10. int nNameStringId;
  11. int nColorsUsed;
  12.     COLORREF rgb[COLOR_MAX_97_NT5];
  13. } SCHEMEDATALOCAL;
  14. struct WIZSCHEME
  15. {
  16. COLORREF m_rgb[COLOR_MAX_97_NT5];
  17. NONCLIENTMETRICS m_ncm;
  18. FILTERKEYS m_FILTERKEYS;
  19. MOUSEKEYS m_MOUSEKEYS;
  20. SERIALKEYS m_SERIALKEYS;
  21. STICKYKEYS m_STICKYKEYS;
  22. TOGGLEKEYS m_TOGGLEKEYS;
  23. SOUNDSENTRY m_SOUNDSENTRY;
  24. ACCESSTIMEOUT m_ACCESSTIMEOUT;
  25. HIGHCONTRAST m_HIGHCONTRAST;
  26. BOOL m_bShowSounds;
  27. BOOL m_bShowExtraKeyboardHelp;
  28. BOOL m_bSwapMouseButtons;
  29. int m_nIconSize;
  30. };
  31. int GetSchemeCount();
  32. void GetSchemeName(int nIndex, LPTSTR lpszName, int nLen);
  33. SCHEMEDATALOCAL &GetScheme(int nIndex);
  34. ///////////////////////////////////////////
  35. // Stuff for Fonts
  36. int GetFontCount();
  37. void GetFontLogFont(int nIndex, LOGFONT *pLogFont);
  38. #endif // _INC_SCHEMES_H