术语 | 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 |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。