windows-nt/Source/XPSP1/NT/drivers/wdm/input/client/hidtest/buffer.h

41 lines
672 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#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