网站首页  词典首页

请输入您要查询的函数:

 

术语 getthreadpriorityboost
释义 GetThreadPriorityBoost
语法:
C++
BOOL WINAPI GetThreadPriorityBoost(
__in HANDLE hThread,
__out PBOOL pDisablePriorityBoost
);
GetThreadPriorityBoost功能
检索优先级提升指定线程控制的状态。
参数
hThread [in]
句柄到线程。句柄必须有THREAD_QUERY_INFORMATION或THREAD_QUERY_LIMITED_INFORMATION访问权限。有关更多信息,请参见线程安全和访问权限。
Windows Server 2003和Windows XP/2000操作系统:在处理必须有THREAD_QUERY_INFORMATION访问权限。
pDisablePriorityBoost [out]
一个变量,它接收优先级提升控制状态的指针。为TRUE值表示的动态促进被禁用。为FALSE值表示正常的行为。
返回值
如果函数成功,返回值为非零。在这种情况下,变量指出的pDisablePriorityBoost参数接收优先级提升的控制状态。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
OpenThread
优先Boosts
进程和线程函数
调度优先级
SetThreadPriorityBoost
主题
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetThreadPriorityBoost Function
Retrieves the priority boost control state of the specified thread.
Syntax
C++
BOOL WINAPI GetThreadPriorityBoost(
__in HANDLE hThread,
__out PBOOL pDisablePriorityBoost
);
Parameters
hThread [in]
A handle to the thread. The handle must have the THREAD_QUERY_INFORMATION or THREAD_QUERY_LIMITED_INFORMATION access right. For more information, see Thread Security and Access Rights .
Windows Server 2003 and Windows XP/2000: The handle must have the THREAD_QUERY_INFORMATION access right.
pDisablePriorityBoost [out]
A pointer to a variable that receives the priority boost control state. A value of TRUE indicates that dynamic boosting is disabled. A value of FALSE indicates normal behavior.
Return Value
If the function succeeds, the return value is nonzero. In that case, the variable pointed to by the pDisablePriorityBoost parameter receives the priority boost control state.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
OpenThread
Priority Boosts
Process and Thread Functions
Scheduling Priorities
SetThreadPriorityBoost
Threads
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683236(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 11:25:03