网站首页  词典首页

请输入您要查询的函数:

 

术语 rmgetfilterlist
释义 RmGetFilterList
语法:
C++
DWORD WINAPI RmGetFilterList(
__in DWORD dwSessionHandle,
__out_opt PBYTE pbFilterBuf,
__in DWORD cbFilterBuf,
__out LPDWORD cbFilterBufNeeded
);
RmGetFilterList功能
列举了关机的修改并重新启动已经被RmAddFilter功能适用于行动。该函数返回一个指向一个缓冲区包含关于已申请修改的信息。
参数
dwSessionHandle [in]
句柄到现有的重新启动管理会议。
pbFilterBuf [指出,可选]
一个缓冲区,其中包含修改信息的指针。
cbFilterBuf [in]
缓冲区包含修改的字节信息的大小。
cbFilterBufNeeded [out]
在需要的缓冲区的字节数。
返回值
这是最近收到的错误。该函数可以返回的系统错误在Winerror.h中定义的代码之一。
ValueMeaning
ERROR_SUCCESS
0The功能成功完成。
ERROR_BAD_ARGUMENTS
160One或多个参数不正确。此错误值返回的重新启动管理器的功能,如果一个NULL指针或0传递作为参数,需要一个非空和非零值。
ERROR_MORE_DATA
234This返回错误值由RmGetFilterList功能,如果pbFilterBuf缓冲区太小,无法容纳所有的应用程序列表中的信息或cbFilterBufNeeded未指定。
ERROR_SESSION_CREDENTIAL_CONFLICT
1219This错误中学时返回安装调用这个函数。此功能只适用于小学安装。
备注
返回pbFilterBuf缓冲区要类型转换为RM_FILTER_INFO访问筛选器列表。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderRestartManager.h
LibraryRstrtmgr.lib
DLLRstrtmgr.dll
参见
RmAddFilter
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==RmGetFilterList Function
Lists the modifications to shutdown and restart actions that have already been applied by the RmAddFilter function. The function returns a pointer to a buffer containing information about the modifications which have been applied.
Syntax
C++
DWORD WINAPI RmGetFilterList(
__in DWORD dwSessionHandle,
__out_opt PBYTE pbFilterBuf,
__in DWORD cbFilterBuf,
__out LPDWORD cbFilterBufNeeded
);
Parameters
dwSessionHandle [in]
A handle to an existing Restart Manager session.
pbFilterBuf [out, optional]
A pointer to a buffer that contains modification information.
cbFilterBuf [in]
The size of the buffer that contains modification information in bytes.
cbFilterBufNeeded [out]
The number of bytes needed in the buffer.
Return Value
This is the most recent error received. The function can return one of the system error codes that are defined in Winerror.h.
ValueMeaning
ERROR_SUCCESS
0The function completed successfully.
ERROR_BAD_ARGUMENTS
160One or more arguments are not correct. This error value is returned by the Restart Manager function if a NULL pointer or 0 is passed in as a parameter that requires a non-null and non-zero value.
ERROR_MORE_DATA
234This error value is returned by the RmGetFilterList function if the pbFilterBuf buffer is too small to hold all the application information in the list or if cbFilterBufNeeded was not specified.
ERROR_SESSION_CREDENTIAL_CONFLICT
1219This error is returned when a secondary installer calls this function. This function is only available to primary installers.

Remarks
The returned pbFilterBuf buffer has to be typecast to RM_FILTER_INFO to access the filter list.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderRestartManager.h
LibraryRstrtmgr.lib
DLLRstrtmgr.dll
See Also
RmAddFilter
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa373660(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:19:49