网站首页  计算机词典

请输入您要查询的字词:

 

字词 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
随便看

 

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

 

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