术语 | rmremovefilter |
释义 | RmRemoveFilter 语法: C++ DWORD WINAPI RmRemoveFilter( __in DWORD dwSessionHandle, __in_opt LPCWSTR strFilename, __in_opt RM_UNIQUE_PROCESS *Application, __in_opt LPCWSTR strShortServiceName ); RmRemoveFilter功能 删除任何修改关机或重新启动已经应用的使用RmAddFilter功能的行动。主要安装程序可以调用RmRemoveFilter函数多次。 参数 dwSessionHandle [in] 句柄到现有的重新启动管理会议。 strFilename [中,可选] 一个指向 null 结尾的字符串指针值,它包含了应用程序的可执行文件的完整路径。该RmRemoveFilter函数删除任何修改引用的应用程序的关机或重新启动以前RmAddFilter功能适用于行动。此参数必须为NULL,如果应用程序或strServiceShortName参数非空。 应用[中,可选] 应用程序的RM_UNIQUE_PROCESS结构。该RmRemoveFilter函数删除任何修改引用的应用程序的关机或重新启动以前RmAddFilter功能适用于行动。此参数必须为NULL,如果strFilename或strShortServiceName参数非空。 strShortServiceName [中,可选] 一个指向 null 结尾的字符串指针值,包含短期服务的名称。该RmRemoveFilter函数删除任何修改引用服务的关机或重新启动以前RmAddFilter功能适用于行动。此参数必须为NULL,如果strFilename或应用参数非空。 返回值 这是最近收到的错误。该函数可以返回的系统错误在Winerror.h中定义的代码之一。 ValueMeaning ERROR_SUCCESS 0The功能成功完成。 ERROR_FILE_NOT_FOUND 1The指定过滤器找不到。 ERROR_SESSION_CREDENTIAL_CONFLICT 1219This错误中学时返回安装调用这个函数。此功能只适用于小学安装。 要求: client最低支持Vista server最低支持 Windows Server 2008 HeaderRestartManager.h LibraryRstrtmgr.lib DLLRstrtmgr.dll 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月30日 ==英文原文==RmRemoveFilter Function Removes any modifications to shutdown or restart actions that have been applied using the RmAddFilter function. The primary installer can call the RmRemoveFilter function multiple times. Syntax C++ DWORD WINAPI RmRemoveFilter( __in DWORD dwSessionHandle, __in_opt LPCWSTR strFilename, __in_opt RM_UNIQUE_PROCESS *Application, __in_opt LPCWSTR strShortServiceName ); Parameters dwSessionHandle [in] A handle to an existing Restart Manager session. strFilename [in, optional] A pointer to a null-terminated string value that contains the full path for the application's executable file. The RmRemoveFilter function removes any modifications to the referenced application's shutdown or restart actions previously applied by the RmAddFilter function. This parameter must be NULL if the Application or strServiceShortName parameter is non-NULL. Application [in, optional] The RM_UNIQUE_PROCESS structure for the application. The RmRemoveFilter function removes any modifications to the referenced application's shutdown or restart actions previously applied by the RmAddFilter function. This parameter must be NULL if the strFilename or strShortServiceName parameter is non-NULL. strShortServiceName [in, optional] A pointer to a null-terminated string value that contains the short service name. The RmRemoveFilter function removes any modifications to the referenced service's shutdown or restart actions previously applied by the RmAddFilter function. This parameter must be NULL if the strFilename or Application parameter is non-NULL. 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_FILE_NOT_FOUND 1The specified filter could not be found. ERROR_SESSION_CREDENTIAL_CONFLICT 1219This error is returned when a secondary installer calls this function. This function is only available to primary installers. Requirements Minimum supported clientWindows Vista Minimum supported serverWindows Server 2008 HeaderRestartManager.h LibraryRstrtmgr.lib DLLRstrtmgr.dll Send comments about this topic to Microsoft Build date: 7/30/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/aa373664(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。