使用services.msc在Windows 2008 R2中用于启动和停止服务的API [英] API used for start and stop services in windows 2008 R2 using services.msc

查看:83
本文介绍了使用services.msc在Windows 2008 R2中用于启动和停止服务的API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





这是关于services.msc的查询。在Windows 2003和Windows 2008中,services.msc正在使用"StartService"。和"ControlService"分别启动和停止Windows服务。虽然在Windows 2008 r2中不是这种情况。

通过在windbg中调试services.msc,通过向上述函数添加断点来观察。您能否告诉我在Windows 2008 r2中的services.msc中进行的设计更改是什么以及它用于启动和停止服务的API。



 

谢谢,

Gulshan

Hi,

This is a query regarding services.msc. In windows 2003 and windows 2008, services.msc was using "StartService" and "ControlService" to start and stop a windows service respectively. Whereas this is not the case in windows 2008 r2.
This was observed by debugging services.msc in windbg by adding breakpoints to above functions. Can you please let me know what is the design change done in services.msc in windows 2008 r2 and what API it uses to start and stop services.

 
Thanks,
Gulshan

推荐答案

你好,

根据您的描述,我将此问题移至常规Windows桌面问题论坛以获得更好的支持。感谢您的理解。

According to your description, I move this issue to General Windows Desktop Issues forum for better support. Thanks for your understanding.

问候,


这篇关于使用services.msc在Windows 2008 R2中用于启动和停止服务的API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆