网站首页  词典首页

请输入您要查询的函数:

 

术语 avsetmmthreadpriority
释义 AvSetMmThreadPriority
语法:
C++
BOOL WINAPI AvSetMmThreadPriority(
__in HANDLE AvrtHandle,
__in AVRT_PRIORITY Priority
);
AvSetMmThreadPriority功能
调整调用线程的相对执行相同任务的其他线程的线程优先级。
参数
AvrtHandle [in]
句柄的任务。这种处理是由AvSetMmThreadCharacteristics或AvSetMmMaxThreadCharacteristics函数返回。
优先 [in]
该线程的线程优先级的相对执行类似任务的其他线程。此参数可以是下列值之一。
NameValue
AVRT_PRIORITY_CRITICAL2
AVRT_PRIORITY_HIGH1
AVRT_PRIORITY_LOW - 1
AVRT_PRIORITY_NORMAL0
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderAvrt.h
LibraryAvrt.lib
DLLAvrt.dll
参见
多媒体类计划程序服务
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==AvSetMmThreadPriority Function
Adjusts the thread priority of the calling thread relative to other threads performing the same task.
Syntax
C++
BOOL WINAPI AvSetMmThreadPriority(
__in HANDLE AvrtHandle,
__in AVRT_PRIORITY Priority
);
Parameters
AvrtHandle [in]
A handle to the task. This handle is returned by the AvSetMmThreadCharacteristics or AvSetMmMaxThreadCharacteristics function.
Priority [in]
The relative thread priority of this thread to other threads performing a similar task. This parameter can be one of the following values.
NameValue
AVRT_PRIORITY_CRITICAL2
AVRT_PRIORITY_HIGH1
AVRT_PRIORITY_LOW-1
AVRT_PRIORITY_NORMAL0

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 .
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderAvrt.h
LibraryAvrt.lib
DLLAvrt.dll
See Also
Multimedia Class Scheduler Service
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms681975(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:24:18