msffdefs.h
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 2k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. /*----------------------------------------------------------------------------
  2. | Module    : hildefs.h
  3. |
  4. | Purpose   : platform dependent include file for HALO Imaging Library for
  5. |             Microsoft Windows NT
  6. |
  7. | History   : 4/21/94
  8. |
  9. | Copyright 1990-1994 Media Cybernetics, Inc.
  10. |-----------------------------------------------------------------------------*/
  11. #ifdef __cplusplus
  12. extern "C" {            /* Assume C declarations for C++ */
  13. #endif  /* __cplusplus */
  14. /*-----------------------------------------------------------------
  15. | Define the platform
  16. |------------------------------------------------------------------*/
  17. #define HIL_WINDOWS32     1
  18. #ifndef _WINDOWS_
  19. #define WIN32_LEAN_AND_MEAN
  20. #include <windows.h>
  21. #endif
  22. #define DllExport __declspec(dllexport)
  23. #define DllImport __declspec(dllimport)
  24. #ifdef _X86_
  25. #define FLTAPI __stdcall
  26. #else
  27. #define FLTAPI __cdecl
  28. #endif
  29. #define HILAPI __cdecl
  30. typedef float *                 LPFLOAT;
  31. typedef double *                LPDOUBLE;
  32. typedef void *                  HPVOID;
  33. typedef LPBYTE *                LPLPBYTE;
  34. #ifndef LPBOOL
  35. typedef BOOL *                  LPBOOL;
  36. #endif
  37. typedef short *                 LPSHORT;
  38. #ifndef S_IRUSR
  39. #define S_IRUSR 00400
  40. #endif
  41. #ifndef S_IWUSR
  42. #define S_IWUSR 00200
  43. #endif
  44. #ifndef S_IRGRP
  45. #define S_IRGRP 00040
  46. #endif
  47. #ifndef S_IWGRP
  48. #define S_IWGRP 00020
  49. #endif
  50. #ifndef S_IROTH
  51. #define S_IROTH 00004
  52. #endif
  53. #ifndef S_IWOTH
  54. #define S_IWOTH 00002
  55. #endif
  56. #ifdef __cplusplus
  57. }
  58. #endif  /* __cplusplus */