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.

32 lines
910 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: pw32kevt.h
  3. *
  4. * Copyright (c) 1996-1999 Microsoft Corporation
  5. *
  6. \**************************************************************************/
  7. //
  8. // NOTE: The following structure has to be in nonpaged memory. It also
  9. // has to be the same as in videoprt.h.
  10. //
  11. typedef struct _ENG_EVENT {
  12. PKEVENT pKEvent;
  13. ULONG fFlags;
  14. } ENG_EVENT, *PENG_EVENT;
  15. //
  16. // Manifest constants for fFlags field of ENG_EVENT
  17. //
  18. #define ENG_EVENT_FLAG_IS_MAPPED_USER 0x1
  19. typedef enum {
  20. type_delete,
  21. type_unmap
  22. } MANAGE_TYPE;
  23. #define ENG_KEVENTALLOC(size) (PENG_EVENT)GdiAllocPoolNonPagedNS((size), 'msfD')
  24. #define ENG_KEVENTFREE(ptr) GdiFreePool((ptr))
  25. #define ENG_ALLOC(size) (PENG_EVENT)GdiAllocPool( (size), 'msfD')
  26. #define ENG_FREE(ptr) GdiFreePool((ptr))