网站首页  词典首页

请输入您要查询的函数:

 

术语 isguithread
释义 IsGUIThread
语法:
BOOL IsGUIThread( BOOL bConvert
);
IsGUIThread功能
该IsGUIThread功能检查调用线程是否已经是一个图形用户界面(GUI)线程。它也可以选择转换线程一个GUI线程。
参数
bConvert
[in]如果真和线程不是一个GUI线程,转换线程的GUI线程。
返回值
该函数返回一个非零值以下情况:
否则,该函数返回零。
如果调用线程已经是一个GUI线程。
如果bConvert为TRUE,函数的线程成功地转换到一个GUI线程。
如果bConvert为TRUE,该函数不能成功地转换到一个线程GUI线程,IsGUIThread返回ERROR_NOT_ENOUGH_MEMORY。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
XP的最低经营systemsWindows
参见
视窗概述
==英文原文==IsGUIThread Function
The IsGUIThread function tests whether the calling thread is already a graphical user interface (GUI) thread. It can also optionally convert the thread to a GUI thread.
Syntax
BOOL IsGUIThread( BOOL bConvert
);
Parameters
bConvert
[in] If TRUE and the thread is not a GUI thread, convert thread to a GUI thread.
Return Value
The function returns a nonzero value in the following situations:
Otherwise, the function returns zero.
If the calling thread is already a GUI thread.
If bConvert is TRUE and the function successfully converts the thread to a GUI thread.
If bConvert is TRUE and the function cannot successfully convert the thread to a GUI thread, IsGUIThread returns ERROR_NOT_ENOUGH_MEMORY.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows XP
See Also
Windows Overview
==原始网址==http://msdn.microsoft.com/en-us/library/ms633525(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:22:58