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.

55 lines
853 B

  1. /*++
  2. Copyright (c) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. win30def.h
  5. Abstract:
  6. Windows 3.0 ( and 95) definitions
  7. Environment:
  8. Windows NT printer drivers
  9. Revision History:
  10. 10/31/96 -eigos-
  11. Created it.
  12. --*/
  13. #ifndef _WIN30DEF_H_
  14. #define _WIN30DEF_H_
  15. //
  16. // The Windows 3.0 defintion of a POINT. Note that the definition actually
  17. // uses int rather than short, but in a 16 bit environment, an int is
  18. // 16 bits, and so for NT we explicitly make them shorts.
  19. // The same applies to the RECT structure.
  20. //
  21. typedef struct
  22. {
  23. short x;
  24. short y;
  25. } POINTw;
  26. typedef struct
  27. {
  28. short left;
  29. short top;
  30. short right;
  31. short bottom;
  32. } RECTw;
  33. #ifndef max
  34. #define max(a,b) (((a) > (b)) ? (a) : (b))
  35. #endif
  36. #endif // _WIN30DEF_H_