Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.5 KiB

  1. //
  2. // Sample Locale values
  3. // Complete Locale definitions are in winnt.h
  4. //
  5. #define LOCALE_ANY LANG_NEUTRAL // MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT)
  6. #define LOCALE_USENGLISH LANG_ENGLISH // MAKELANGID (LANG_ENGLISH, SUBLANG_ENGLISH_US)
  7. #define LOCALE_JAPANESE LANG_JAPANESE //MAKELANGID (LANG_JAPANESE, 0)
  8. #define LOCALE_UKENGLISH MAKELANGID (LANG_ENGLISH, SUBLANG_ENGLISH_UK)
  9. #define LOCALE_GERMAN MAKELANGID (LANG_GERMAN, SUBLANG_GERMAN)
  10. #define LOCALE_FRENCH MAKELANGID (LANG_FRENCH, SUBLANG_FRENCH)
  11. //
  12. // OS values (BUGBUG. Needs syncing with any already defined ones)
  13. //
  14. #define OS_WINNT VER_PLATFORM_WIN32_NT
  15. #define OS_WIN95 VER_PLATFORM_WIN32_WINDOWS
  16. #define OS_WIN31 VER_PLATFORM_WIN32s
  17. //
  18. // Processor values (BUGBUG. Add JavaVM)
  19. //
  20. #define HW_ANY PROCESSOR_ARCHITECTURE_UNKNOWN
  21. #define HW_X86 PROCESSOR_ARCHITECTURE_INTEL
  22. #define HW_MIPS PROCESSOR_ARCHITECTURE_MIPS
  23. #define HW_ALPHA PROCESSOR_ARCHITECTURE_ALPHA
  24. #define HW_PPC PROCESSOR_ARCHITECTURE_PPC
  25. #define MAKEARCHITECTURE(h,o) (h << 8 + o)
  26. //
  27. // Context values (BUGBUG. Needs syncing with any already defined ones)
  28. //
  29. #define CTX_LOCAL_SERVER CLSCTX_LOCAL_SERVER // x04
  30. #define CTX_INPROC_SERVER CLSCTX_INPROC_SERVER // x01
  31. #define CTX_INPROC_HANDLER CLSCTX_INPROC_HANDLER // x02
  32. #define CTX_REMOTE_SERVER CLSCTX_REMOTE_SERVER //0x10,