[UWP] [C ++ / CX]支持“CreateToolhelp32Snapshot” Api in< TlHelp32.h> Windows Runtime Componenet(通用Windows 10)项目。 [英] [UWP][C++/CX]Support for "CreateToolhelp32Snapshot" Api in <TlHelp32.h> Windows Runtime Componenet (Universal Windows 10) project.

查看:72
本文介绍了[UWP] [C ++ / CX]支持“CreateToolhelp32Snapshot” Api in< TlHelp32.h> Windows Runtime Componenet(通用Windows 10)项目。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我们可以使用   CreateToolhelp32Snapshot( TH32CS_SNAPMODULE ,ProcessID )  Api  
来自<
TlHelp32.h >
header-file   在Windows Runtime Componenet C ++ / CX(通用Windows)项目。 C ++ / CX项目是否支持此API?


https://msdn.microsoft.com/en-us/library/windows/desktop/ms682489 %28v = vs.85%29.aspx


如果支持,商店上传是否会成功?



谢谢,


Jyotiranjan

解决方案


Hi
< span style ="font-size:10.0pt; font-family:'Segoe UI',sans-serif;颜色:#454545;背景:白色"> Jyotiranjan



从文档中,它显示API仅是桌面应用程序,这意味着它无法在
中使用
Windows运行时组件。我还检查了支持win32 API文档:

Win32和UWP应用的COM API

.NET Standard 2.0 API浏览器
但无法找到此API。似乎UWP不支持此API。





最好的问候,



罗伊


Hi,

Can we use  CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, ProcessID) Api  from <TlHelp32.h> header-file  in Windows Runtime Componenet C++/CX (Universal Windows) project. Is this API supported in C++/CX project ?

https://msdn.microsoft.com/en-us/library/windows/desktop/ms682489%28v=vs.85%29.aspx

If supported, whether store upload will be success?

Thanks,

Jyotiranjan

解决方案

Hi Jyotiranjan,

From the document, it shows the API is desktop apps only which means it could not be used in Windows Runtime Component. I also checked the support win32 API document: Win32 and COM APIs for UWP apps and .NET Standard 2.0 API Browser but could not find this API. It seems this API is not supported in UWP.

Best regards,

Roy


这篇关于[UWP] [C ++ / CX]支持“CreateToolhelp32Snapshot” Api in&lt; TlHelp32.h&gt; Windows Runtime Componenet(通用Windows 10)项目。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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