网站首页  词典首页

请输入您要查询的函数:

 

术语 getprocesspriorityboost
释义 GetProcessPriorityBoost
语法:
C++
BOOL WINAPI GetProcessPriorityBoost(
__in HANDLE hProcess,
__out PBOOL pDisablePriorityBoost
);
GetProcessPriorityBoost功能
检索优先级提升指定过程控制的状态。
参数
hProcess [in]
句柄的进程。这种处理必须有PROCESS_QUERY_INFORMATION或PROCESS_QUERY_LIMITED_INFORMATION访问权限。有关更多信息,请参见过程的安全性和访问权限。
Windows Server 2003和Windows XP/2000操作系统:在处理必须有PROCESS_QUERY_INFORMATION访问权。
pDisablePriorityBoost [out]
一个变量,它接收优先级提升控制状态的指针。为TRUE值表示的动态促进被禁用。为FALSE值表示正常的行为。
返回值
如果函数成功,返回值为非零。在这种情况下,变量指出的pDisablePriorityBoost参数接收优先级提升的控制状态。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
优先Boosts
进程和线程函数
过程
调度优先级
SetProcessPriorityBoost
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetProcessPriorityBoost Function
Retrieves the priority boost control state of the specified process.
Syntax
C++
BOOL WINAPI GetProcessPriorityBoost(
__in HANDLE hProcess,
__out PBOOL pDisablePriorityBoost
);
Parameters
hProcess [in]
A handle to the process. This handle must have the PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION access right. For more information, see Process Security and Access Rights .
Windows Server 2003 and Windows XP/2000: The handle must have the PROCESS_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
Priority Boosts
Process and Thread Functions
Processes
Scheduling Priorities
SetProcessPriorityBoost
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683220(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:17:41