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.

76 lines
906 B

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1995 - 1999
  3. All rights reserved.
  4. Module Name:
  5. wow64.h
  6. Abstract:
  7. printui wow64 related functions.
  8. Author:
  9. Lazar Ivanov (LazarI) 10-Mar-2000
  10. Revision History:
  11. --*/
  12. #ifndef _WOW64_H
  13. #define _WOW64_H
  14. #ifdef __cplusplus
  15. extern "C"
  16. {
  17. #endif
  18. //
  19. // Win64 APIs, types and data structures.
  20. //
  21. typedef enum
  22. {
  23. RUN32BINVER = 4,
  24. RUN64BINVER = 8
  25. } ClientVersion;
  26. typedef enum
  27. {
  28. NATIVEVERSION = 0,
  29. THUNKVERSION = 1
  30. } ServerVersion;
  31. typedef enum
  32. {
  33. kPlatform_IA64,
  34. kPlatform_x86,
  35. } PlatformType;
  36. ClientVersion
  37. OSEnv_GetClientVer(
  38. VOID
  39. );
  40. ServerVersion
  41. OSEnv_GetServerVer(
  42. VOID
  43. );
  44. BOOL
  45. IsRunningWOW64(
  46. VOID
  47. );
  48. PlatformType
  49. GetCurrentPlatform(
  50. VOID
  51. );
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55. #endif // ndef _WOW64_H