Примітка
Доступ до цієї сторінки потребує авторизації. Можна спробувати ввійти або змінити каталоги.
Доступ до цієї сторінки потребує авторизації. Можна спробувати змінити каталоги.
The TapeClassCompareMemory routine compares two memory buffers and returns the number of bytes that are equivalent.
Syntax
SCSIPORT_API ULONG TapeClassCompareMemory(
[in, out] PVOID Source1,
[in, out] PVOID Source2,
[in] ULONG Length
);
Parameters
[in, out] Source1
Pointer to the first buffer to be compared.
[in, out] Source2
Pointer to the second buffer to be compared.
[in] Length
Specifies the number of bytes to be compared.
Return value
TapeClassCompareMemory returns the number of bytes that are equivalent.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | minitape.h (include Minitape.h) |
Library | Tape.lib |