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.

73 lines
1.0 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. Common.h
  5. Abstract:
  6. (See module header of Common.cpp)
  7. Author:
  8. Abdullah Ustuner (AUstuner) 28-August-2002
  9. [Notes:]
  10. Header file for Common.cpp
  11. --*/
  12. #ifndef COMMON_H
  13. #define COMMON_H
  14. #if defined(_X86_)
  15. #define MCAPrintErrorRecord MCAPrintErrorRecordX86
  16. #elif defined (_AMD64_)
  17. #define MCAPrintErrorRecord MCAPrintErrorRecordAMD64
  18. #else
  19. #define MCAPrintErrorRecord MCAPrintErrorRecordIA64
  20. #endif
  21. //
  22. // Function prototypes for Common.cpp
  23. //
  24. BOOL
  25. MCAExtractErrorRecord(
  26. IN IWbemClassObject *Object,
  27. OUT PUCHAR *PRecordBuffer
  28. );
  29. BOOL
  30. MCAInitialize(
  31. VOID
  32. );
  33. BOOL
  34. MCAInitializeCOMLibrary(
  35. VOID
  36. );
  37. BOOL
  38. MCAInitializeWMISecurity(
  39. VOID
  40. );
  41. VOID
  42. MCAPrintErrorRecordX86(
  43. PUCHAR PErrorRecordBuffer
  44. );
  45. VOID
  46. MCAPrintErrorRecordAMD64(
  47. PUCHAR PErrorRecordBuffer
  48. );
  49. VOID
  50. MCAPrintErrorRecordIA64(
  51. PUCHAR PErrorRecordBuffer
  52. );
  53. #endif