// minitape.h
SCSIPORT_API ULONG TapeClassCompareMemory(
[in, out] PVOID Source1,
[in, out] PVOID Source2,
[in] ULONG Length
);
View the official Windows Driver Kit DDI referenceNo description available.
The TapeClassCompareMemory routine compares two memory buffers and returns the number of bytes that are equivalent.
Source1 [in, out]Pointer to the first buffer to be compared.
Source2 [in, out]Pointer to the second buffer to be compared.
Length [in]Specifies the number of bytes to be compared.
TapeClassCompareMemory returns the number of bytes that are equivalent.
A tape miniclass driver uses TapeClassCompareMemory to compare memory in a portable way. For example, a miniclass driver uses TapeClassCompareMemory in its TapeMiniVerifyInquiry routine to determine whether a given product ID matches one of the devices the driver supports.