调用PdhEnumObjects()重新启动Windows Telephony服务。 [英] Call to PdhEnumObjects() restart the Windows Telephony services.

查看:98
本文介绍了调用PdhEnumObjects()重新启动Windows Telephony服务。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的问题是调用PdhEnumObjects()会重启Windows电话服务。默认情况下,此服务在Windows中关闭,我们需要手动启动它。每当我的应用程序调用PdhEnumObjects()函数时,它都会重新启动电话服务。
我用以下参数调用了PdhEnumObjects(),

I am facing issue where calls to PdhEnumObjects() restart the Windows Telephony Service. By default this service is off in windows and we need to start it manually. Whenever my application calls the PdhEnumObjects() function it restart the telephony services. I have called the PdhEnumObjects() with following parameters,

DWORD dwTemp = 0;

DWORD dwTemp =0;

PDH_STATUS stat = PdhEnumObjects(NULL,  NULL,NULL和& dwTemp,PERF_DETAIL_WIZARD,true);

任何帮助都将不胜感激。

Any help would be appreciated.

谢谢!

推荐答案

您好PSB,

欢迎光临!

请与我分享更多系统详细信息,例如系统版本等。

Please share more system detailed info with me, such as system version etc.

问候!


这篇关于调用PdhEnumObjects()重新启动Windows Telephony服务。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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