Windows NT 4.0 source code leak
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.

41 lines
1.0 KiB

4 years ago
  1. /***************************************************************************\*
  2. *
  3. * MISC.H
  4. *
  5. * Copyright (C) Microsoft Corporation 1988.
  6. * All Rights reserved.
  7. *
  8. *****************************************************************************
  9. *
  10. * Module Description: Include file defining basic types and constants.
  11. * Windows/PM version.
  12. *
  13. ****************************************************************************/
  14. /***************************************************************************\
  15. *
  16. * General Defines
  17. *
  18. ****************************************************************************/
  19. typedef struct {
  20. char rgchName[_MAX_FNAME];
  21. } FD, *QFD;
  22. #define FValidQFD(qfd) ((qfd)->rgchName[0] != '\0')
  23. // points and rectangles
  24. /*
  25. * Out of memory macro (OOM). This was all moved from misclyr.h for
  26. * consistency across platforms.
  27. */
  28. void FAR PASCAL Error(INT, WORD);
  29. void FAR PASCAL ErrorHwnd(HWND, INT, WORD);
  30. #define wERRA_DIE 2
  31. #define wERRS_OOM 2
  32. //** misc ***/
  33. #define Unreferenced(var) (var) // Get rid of compiler warnings