ZeromeMory Macro

xiaoxiao2021-03-06  77

ZeromeMoryzeromeMory Macro

The ZeromeMory Macro Fills A Block of Memory With Zeros.ZeromeMory macro uses 0 to populate a memory area.

To Avoid Undesired Effects of Optimizing Compilers, Use The SecurezeromeMory Function. To avoid an accidental impact of optimizing the compiler, use the SecureZerMemory function.

Void ZeromeMory (pvoid destination, size_t length);

Parameters parameters:

Destination [in] Poin The Starting Address of The Block of Memory To Fill with Zeros. Points to a start address of the memory area that is ready to populate.

Length [in] Size of the Block of Memory To Fill with Zeros, in Bytes. Preparation of the size of the memory area filled with 0, calculated by bytes.

Return VALUES Return Value:

This function has not returned the value.

Remarks Remarks:

This function is defined as the rtlzeromemory macro. For more information, see will.h and winnt.h. This function is defined as RTLzeromeMory macro. For more information, see WinBase.h and Winnt.h. Two headers.

Requirements necessary condition:

Client: Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server.Header: Declared in Winbase.h; include Windows .

See Also See

Memory Management Overview, Memory Management Functions, CopyMemory, Fillmemory, MoveMemory, SecurezerMemory

转载请注明原文地址:https://www.9cbs.com/read-107457.html

New Post(0)