Leaked source code of windows server 2003
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.

61 lines
2.1 KiB

  1. //**************************************************************************
  2. //
  3. // GCKERNEL.H -- Xena Gaming Project
  4. //
  5. // Version 3.XX
  6. //
  7. // Copyright (c) 1998 Microsoft Corporation. All rights reserved.
  8. //
  9. // Global includes and definitions for GcKernel driver interface
  10. //
  11. //**************************************************************************
  12. #ifndef _GCKERNEL_H
  13. #define _GCKERNEL_H
  14. #ifndef RC_INVOKED
  15. #include <profile.h>
  16. #endif
  17. //---------------------------------------------------------------------------
  18. // Version Information
  19. //---------------------------------------------------------------------------
  20. #define GCKERNEL_Major 0x03
  21. #define GCKERNEL_Minor 0x00
  22. #define GCKERNEL_Build 0x00
  23. #define GCKERNEL_Version_Rc GCKERNEL_Major,GCKERNEL_Minor,0,GCKERNEL_Build
  24. #define GCKERNEL_Version_Int ((GCKERNEL_Build << 16)+(GCKERNEL_Major << 8)+(GCKERNEL_Minor))
  25. #define GCKERNEL_Company_Str "Microsoft Corporation\0"
  26. #define GCKERNEL_Version_Str "3.00.00\0"
  27. #define GCKERNEL_Product_Str "Game Device Profiler Kernel Driver\0"
  28. #define GCKERNEL_Copyright_Str "Copyright � Microsoft Corporation, 1998\0"
  29. #ifdef _NTDDK_
  30. #define GCKERNEL_Filename_Str "Gckernel.Sys\0"
  31. #else
  32. #define GCKERNEL_Filename_Str "Gckernel.Vxd\0"
  33. #endif
  34. //---------------------------------------------------------------------------
  35. // Definitions
  36. //---------------------------------------------------------------------------
  37. #define GCKERNEL_DEVICE_ID 0xE1
  38. #define MAX_ACTIVE_DEVICES 4 // maximum active devices
  39. #define MAX_ACTIVE_PROFILES 4 // maximum active profiles
  40. #define GCKNOTIFY_MACROINPROGRESS 1
  41. #define GCKNOTIFY_IDLE 2
  42. #ifdef WIN_NT
  43. #define GCKERNEL_DEVICE_NAME TEXT("\\Device\\GcKernel")
  44. #define GCKERNEL_DEVICE_NAME_U L"\\Device\\GcKernel"
  45. #define GCKERNEL_SYMBOLIC_NAME TEXT("\\DosDevices\\GcKernel")
  46. #define GCKERNEL_SYMBOLIC_NAME_U L"\\DosDevices\\GcKernel"
  47. #endif // WIN_NT
  48. #endif // _GCKERNEL_H
  49. //===========================================================================
  50. // End
  51. //===========================================================================