Source code of Windows XP (NT5)
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.

48 lines
882 B

  1. /****************************** Module Header ******************************\
  2. * Module Name: mpnotify.h
  3. *
  4. * Copyright (c) 1991, Microsoft Corporation
  5. *
  6. * Main header file for mpnotify
  7. *
  8. * History:
  9. * 01-12-93 Davidc Created.
  10. \***************************************************************************/
  11. #define UNICODE
  12. #ifndef RC_INVOKED
  13. #include <nt.h>
  14. #include <ntrtl.h>
  15. #include <nturtl.h>
  16. #endif
  17. #include <windows.h>
  18. //
  19. // Memory macros
  20. //
  21. #define Alloc(c) ((PVOID)LocalAlloc(LPTR, c))
  22. #define ReAlloc(p, c) ((PVOID)LocalReAlloc(p, c, LPTR | LMEM_MOVEABLE))
  23. #define Free(p) ((VOID)LocalFree(p))
  24. //
  25. // Define useful types
  26. //
  27. #define PLPTSTR LPTSTR *
  28. typedef HWND * PHWND;
  29. //
  30. // Define a debug print routine
  31. //
  32. #define MPPrint(s) KdPrint(("MPNOTIFY: ")); \
  33. KdPrint(s); \
  34. KdPrint(("\n"));