在Windows XP上寻找QueryProcessCycleTime()替代方案,... [英] Looking for QueryProcessCycleTime() alternative on Windows XP,...

查看:142
本文介绍了在Windows XP上寻找QueryProcessCycleTime()替代方案,...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在寻找Windows XP的QueryProcessCycleTime()等替代函数或公式,可以针对特定过程进行计算.在内部,它使用NtQueryProcessInformation()和一些0x26的值作为PROCESSINFOCLASS,但是我不是 确定是否在XP中实现了该功能.目前我没有XP系统,可以在其上进行检查.

TIA

最好

K.


------------------------- BesteGrüsse/最好的问候/Votre bien devoue KeremGümrükcühttp://entwicklung.junetz.de -------------------------此回复按原样提供,没有明示或暗示的担保."

Hi,

i am looking for an alternative function like QueryProcessCycleTime() fpr Windows XP or a formula how this can be calculated for a specific process. Internally it uses NtQueryProcessInformation() and some value of 0x26 as PROCESSINFOCLASS, but i am not sure whether this is implemented in XP or not. Currently i dont have a XP system i can check that on it.

TIA

best

K.


------------------------- Beste Grüsse / Best regards / Votre bien devoue Kerem Gümrükcü http://entwicklung.junetz.de ------------------------- "This reply is provided as is, without warranty express or implied."

推荐答案



XP似乎不支持0x26,或者我错过了什么吗?缓冲区分配大小为0x8,但结果为!STATUS_SUCCESS.如果您有示例,请随时在此处发布...

最好

K.
Hi,

0x26 does not seem to be supported on XP, or did i miss something? Buffer allocation size is 0x8 but the result is !STATUS_SUCCESS. If you have a example, feel free to post here,...

best

K.


这篇关于在Windows XP上寻找QueryProcessCycleTime()替代方案,...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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