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.

42 lines
1.2 KiB

  1. /******************************Module*Header**********************************\
  2. *
  3. * *******************
  4. * * GDI SAMPLE CODE *
  5. * *******************
  6. *
  7. * Module Name: dbgext.h
  8. *
  9. * Common macros for debugger extensions
  10. *
  11. * Copyright (c) 1994-1998 3Dlabs Inc. Ltd. All rights reserved.
  12. * Copyright (c) 1995-1999 Microsoft Corporation. All rights reserved.
  13. \*****************************************************************************/
  14. #ifndef __DBGEXT__H__
  15. #define __DBGEXT__H__
  16. #include "precomp.h"
  17. #include "wdbgexts.h"
  18. #include "extparse.h"
  19. typedef LONG NTSTATUS;
  20. typedef struct _FLAGDEF
  21. {
  22. char* psz; // description
  23. FLONG fl; // flag
  24. } FLAGDEF;
  25. extern FLAGDEF afdSURF[];
  26. extern FLAGDEF afdCAPS[];
  27. extern FLAGDEF afdHOOK[];
  28. extern FLAGDEF afdSTATUS[];
  29. /**************************************************************************\
  30. *
  31. * move(dst, src ptr)
  32. *
  33. \**************************************************************************/
  34. #define move(dst, src) \
  35. ReadMemory((ULONG_PTR) (src), &(dst), sizeof(dst), NULL)
  36. #endif