网站首页  计算机词典

请输入您要查询的字词:

 

字词 zeromemory
释义 ZeroMemory
语法:
C++
void ZeroMemory(
[in] PVOID Destination,
[in] SIZE_T Length
);
ZeroMemory宏
填充用零一个内存块。
为了避免优化编译器的任何不良影响,使用SecureZeroMemory功能。
参数
Destination [in]
是对的内存块的起始地址指针,以填补零。
Length [in]
该内存块的大小,以填补零,以字节为单位。
返回值
此宏没有返回值。
备注
许多编程语言,包括复杂的变量初始化为零语法。可以有与这些行动的结果和ZeroMemory功能的差异。使用ZeroMemory清除任何编程语言的内存块。
这个宏被定义为RtlZeroMemory宏。有关更多信息,请参阅Winbase.h和WINNT.H中。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
参见
CopyMemory
FillMemory
MoveMemory
SecureZeroMemory
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==ZeroMemory Macro
Fills a block of memory with zeros.
To avoid any undesired effects of optimizing compilers, use the SecureZeroMemory function.
Syntax
C++
void ZeroMemory(
[in] PVOID Destination,
[in] SIZE_T Length
);
Parameters
Destination [in]
A pointer to the starting address of the block of memory to fill with zeros.
Length [in]
The size of the block of memory to fill with zeros, in bytes.
Return Value
This macro has no return value.
Remarks
Many programming languages include syntax for initializing complex variables to zero. There can be differences between the results of these operations and the ZeroMemory function. Use ZeroMemory to clear a block of memory in any programming language.
This macro is defined as the RtlZeroMemory macro. For more information, see Winbase.h and Winnt.h.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
See Also
CopyMemory
FillMemory
MoveMemory
SecureZeroMemory
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa366920(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 20:43:44