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.

54 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. local.h
  5. Abstract:
  6. local header to be included by all source files
  7. pertaining to the kdext dll
  8. Author:
  9. Ravisankar Pudipeddi
  10. Environment:
  11. User Mode.
  12. Revision History:
  13. --*/
  14. //
  15. // Util functions
  16. //
  17. VOID
  18. xdprintf(
  19. ULONG Depth,
  20. PCCHAR S,
  21. ...
  22. );
  23. BOOLEAN
  24. xReadMemory (
  25. ULONG64 Src,
  26. PVOID Dst,
  27. ULONG Len
  28. );
  29. ULONG64 GetPointerValue (PCHAR String);
  30. ULONG64 GetPointerFromAddress (ULONG64 Location);
  31. ULONG GetUlongValue (PCHAR String);
  32. ULONG GetUlongFromAddress (ULONG64 Location);
  33. ULONG GetFieldValueUlong32 (ULONG64 ul64addrStructureBase, PCHAR pchStructureType, PCHAR pchFieldname);
  34. ULONG64 GetFieldValueUlong64 (ULONG64 ul64addrStructureBase, PCHAR pchStructureType, PCHAR pchFieldname);
  35. ULONG FormatDateAndTime (ULONG64 ul64Time, PCHAR pszFormattedDateAndTime, ULONG ulBufferLength);
  36. ULONG FormatGUID (GUID guidValue, PCHAR pszFormattedGUID, ULONG ulBufferLength);