请输入您要查询的百科知识:

 

词条 ZeroMemory()
释义

ZeroMemory宏用0来填充一块内存区域。

为了避免优化编译器的意外的影响,请使用SecureZeroMemory函数。

void ZeroMemory(

PVOID Destination,

SIZE_T Length

);

参数:

Destination :指向一块准备用0来填充的内存区域的开始地址。

Length :准备用0来填充的内存区域的大小,按字节来计算。

返回值:无

备注:

这个函数被定义为RtlZeroMemory宏。至于更多信息,请查看Winbase.h与Winnt.h这两个头文件。

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/2/7 15:51:11