网站首页  计算机词典

请输入您要查询的字词:

 

字词 destroycursor
释义 DestroyCursor
语法:
BOOL DestroyCursor( HCURSOR hCursor
);
DestroyCursor功能
该DestroyCursor函数销毁游标并释放任何内存光标占领。不要使用此函数来摧毁一个共同的光标。
参数
hCursor
[in]光标句柄被摧毁。光标不能使用。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
该DestroyCursor函数摧毁一个非共享光标。不要使用此函数来摧毁一个共同的光标。一个共享光标一样从它所加载的模块长期有效保留在内存中。下面的函数获取共享游标:
LoadCursor
LoadCursorFromFile
的LoadImage(如果您使用LR_SHARED旗)
CopyImage(如果您使用LR_COPYRETURNORG国旗和hImage参数是一个共享光标)
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
游标概述,CopyCursor,CopyImage,CreateCursor,LoadCursor,LoadCursorFromFile,的LoadImage
==英文原文==DestroyCursor Function
The DestroyCursor function destroys a cursor and frees any memory the cursor occupied. Do not use this function to destroy a shared cursor.
Syntax
BOOL DestroyCursor( HCURSOR hCursor
);
Parameters
hCursor
[in] Handle to the cursor to be destroyed. The cursor must not be in use.
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
The DestroyCursor function destroys a nonshared cursor. Do not use this function to destroy a shared cursor. A shared cursor is valid as long as the module from which it was loaded remains in memory. The following functions obtain a shared cursor:
LoadCursor
LoadCursorFromFile
LoadImage (if you use the LR_SHARED flag)
CopyImage (if you use the LR_COPYRETURNORG flag and the hImage parameter is a shared cursor)
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Cursors Overview , CopyCursor , CopyImage , CreateCursor , LoadCursor , LoadCursorFromFile , LoadImage
==原始网址==http://msdn.microsoft.com/en-us/library/ms648386(VS.85).aspx\n
随便看

 

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

 

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