windows-nt/Source/XPSP1/NT/drivers/wdm/input/client/hidtest/buffer.h
2020-09-26 16:20:57 +08:00

41 lines
672 B
C

#ifndef __BUFFER_H__
#define __BUFFER_H__
/*****************************************************************************
/* External function declarations
/*****************************************************************************/
PVOID
AllocateTestBuffer(
IN ULONG BufferSize
);
VOID
FillTestBuffer(
IN PVOID Buffer,
IN BYTE FillValue,
IN ULONG NumBytes
);
VOID
FreeTestBuffer(
IN PVOID Buffer
);
BOOL
ValidateTestBuffer(
IN PVOID Buffer
);
VOID
CompareTestBuffers(
IN PUCHAR Buffer1,
IN PUCHAR Buffer2,
IN ULONG BufferLength,
OUT PULONG BytesChanged,
OUT PULONG BitsChanged
);
#endif