麻烦请教一下ZeroMemory()函数,具体内容如下~

能介绍下它的作用与参数的意义吗

尚方宝剑之说
浏览 330回答 2
2回答

小怪兽爱吃肉

The ZeroMemory function fills a block of memory with zeros.VOID ZeroMemory(PVOID Destination, // memory blockSIZE_T Length // size of memory block);ParametersDestination[in] Pointer to the starting address of the block of memory to fill with zeros.Length[in] Size, in bytes, of the block of memory to fill with zeros.就是说这个函数实现的功能是将Destination制定的内存地址开始,Length字节长度的内存数据清零。

子衿沉夜

对传入的地址清零。
打开App,查看更多内容
随时随地看视频慕课网APP