RtlCompareMemory
The RtlCompareMemory routine compares blocks of memory and returns the number of bytes that are equivalent.
SIZE_T
RtlCompareMemory(
IN CONST VOID *Source1 ,
IN CONST VOID *Source2 ,
IN SIZE_T Length
);
- Pointer to a block of memory to compare. Source2
- Pointer to a block of memory to compare. Length
- Specifies the number of bytes to be compared.
Parameters
Source1Return Value
RtlCompareMemory returns the number of bytes that compare as equal. If all bytes compare as equal, the input Length is returned.
Comments
Callers of RtlCompareMemory can be running at any IRQL if both blocks of memory are resident.
Requirements
IRQL: Any level (See Comments section)
Headers: Declared in Wdm.h . Include Wdm.h , Ntddk.h, or Ntifs.h .
RtlCompareMemory详解
本文详细介绍了RtlCompareMemory函数的使用方法,该函数用于比较两块内存区域,并返回相同字节数。文中还提供了参数说明及返回值解释。
1006

被折叠的 条评论
为什么被折叠?



