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.

57 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. kdext.h
  5. Abstract:
  6. Header files for KD extension
  7. Author:
  8. Stephane Plante (splante) 21-Mar-1997
  9. Based on Code by:
  10. Peter Wieland (peterwie) 16-Oct-1995
  11. Environment:
  12. User Mode.
  13. Revision History:
  14. --*/
  15. #ifndef _FLAGS_H_
  16. #define _FLAGS_H_
  17. #define DUMP_FLAG_NO_INDENT 0x000001
  18. #define DUMP_FLAG_NO_EOL 0x000002
  19. #define DUMP_FLAG_SINGLE_LINE 0x000004
  20. #define DUMP_FLAG_TABLE 0x000008
  21. #define DUMP_FLAG_LONG_NAME 0x000010
  22. #define DUMP_FLAG_SHORT_NAME 0x000020
  23. #define DUMP_FLAG_SHOW_BIT 0x000040
  24. #define DUMP_FLAG_ALREADY_INDENTED 0x000080
  25. typedef struct _FLAG_RECORD {
  26. ULONGLONG Bit;
  27. PCCHAR ShortName;
  28. PCCHAR LongName;
  29. PCCHAR NotShortName;
  30. PCCHAR NotLongName;
  31. } FLAG_RECORD, *PFLAG_RECORD;
  32. ULONG
  33. dumpFlags(
  34. IN ULONGLONG Value,
  35. IN PFLAG_RECORD FlagRecords,
  36. IN ULONG FlagRecordSize,
  37. IN ULONG IndentLEvel,
  38. IN ULONG Flags
  39. );
  40. #endif