TapeClassCompareMemory

ULONG
    TapeClassCompareMemory(
        IN OUT PVOID
Source1,
        IN OUT PVOID
Source2,
        IN ULONG
Length
        );

TapeClassCompareMemory compares two memory buffers and returns the number of bytes that are equivalent.

Parameters

Source1
Points to the first buffer to be compared.
Source2
Points to the second buffer to be compared.
Length
Specifies the number of bytes to be compared.

Return Value

TapeClassCompareMemory returns the number of bytes that are equivalent.

Comments

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.

See Also

TapeMiniVerifyInquiry