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.

40 lines
672 B

  1. #ifndef __BUFFER_H__
  2. #define __BUFFER_H__
  3. /*****************************************************************************
  4. /* External function declarations
  5. /*****************************************************************************/
  6. PVOID
  7. AllocateTestBuffer(
  8. IN ULONG BufferSize
  9. );
  10. VOID
  11. FillTestBuffer(
  12. IN PVOID Buffer,
  13. IN BYTE FillValue,
  14. IN ULONG NumBytes
  15. );
  16. VOID
  17. FreeTestBuffer(
  18. IN PVOID Buffer
  19. );
  20. BOOL
  21. ValidateTestBuffer(
  22. IN PVOID Buffer
  23. );
  24. VOID
  25. CompareTestBuffers(
  26. IN PUCHAR Buffer1,
  27. IN PUCHAR Buffer2,
  28. IN ULONG BufferLength,
  29. OUT PULONG BytesChanged,
  30. OUT PULONG BitsChanged
  31. );
  32. #endif