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.

87 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. cathelper.h
  5. Abstract:
  6. Private header for wow64log.dll
  7. Author:
  8. 03-May-2001 KenCoope
  9. Revision History:
  10. --*/
  11. #ifndef _CATHELPER_INCLUDE
  12. #define _CATHELPER_INCLUDE
  13. //
  14. // Max API Cetegory Mappings
  15. //
  16. #define MAX_API_MAPPINGS 2048
  17. //
  18. // Api Category structure
  19. //
  20. typedef struct _ApiCategory
  21. {
  22. char *CategoryName;
  23. ULONG CategoryFlags;
  24. ULONG TableNumber;
  25. } API_CATEGORY, *PAPI_CATEGORY;
  26. //
  27. // Api Category Flags
  28. //
  29. #define CATFLAG_ENABLED 0x0001
  30. #define CATFLAG_LOGONFAIL 0x0002
  31. //
  32. // Enum of current Api Categories
  33. //
  34. typedef enum
  35. {
  36. APICAT_EXECUTIVE,
  37. APICAT_IO,
  38. APICAT_KERNEL,
  39. APICAT_LPC,
  40. APICAT_MEMORY,
  41. APICAT_OBJECT,
  42. APICAT_PNP,
  43. APICAT_POWER,
  44. APICAT_PROCESS,
  45. APICAT_REGISTRY,
  46. APICAT_SECURITY,
  47. APICAT_XCEPT,
  48. APICAT_NTWOW64,
  49. APICAT_BASEWOW64,
  50. APICAT_UNCLASS_WHNT32,
  51. APICAT_UNCLASS_WHCON,
  52. APICAT_UNCLASS_WHWIN32,
  53. APICAT_UNCLASS_WHBASE,
  54. };
  55. //
  56. // Api Category Mapping structure
  57. //
  58. typedef struct _ApiCategoryMapping
  59. {
  60. char *ApiName;
  61. ULONG ApiCategoryIndex;
  62. ULONG ApiFlags;
  63. } API_CATEGORY_MAPPING, *PAPI_CATEGORY_MAPPING;
  64. //
  65. // Api Flags
  66. //
  67. #define APIFLAG_ENABLED 0x0001
  68. #define APIFLAG_LOGONFAIL 0x0002
  69. #endif