网站首页  计算机词典

请输入您要查询的字词:

 

字词 heapdestroy
释义 HeapDestroy
语法:
C++
BOOL WINAPI HeapDestroy(
__in HANDLE hHeap
);
HeapDestroy功能
销毁指定的堆对象。它可以收回并释放所有的私营堆对象页,它的句柄无效堆。
参数
hHeap [in]
阿堆句柄被摧毁。这种处理是由HeapCreate函数返回。不要使用句柄进程堆的GetProcessHeap函数返回。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
流程可以调用HeapDestroy不首先调用HeapFree函数来释放内存从堆中分配。
实例
他列举了堆
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
堆函数
HeapCreate
内存管理功能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==HeapDestroy Function
Destroys the specified heap object. It decommits and releases all the pages of a private heap object, and it invalidates the handle to the heap.
Syntax
C++
BOOL WINAPI HeapDestroy(
__in HANDLE hHeap
);
Parameters
hHeap [in]
A handle to the heap to be destroyed. This handle is returned by the HeapCreate function. Do not use the handle to the process heap returned by the GetProcessHeap function.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
Processes can call HeapDestroy without first calling the HeapFree function to free memory allocated from the heap.
Examples
Enumerating a Heap
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
Heap Functions
HeapCreate
Memory Management Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa366700(VS.85).aspx\n
随便看

 

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

 

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