在Credential Provider中使用WinRT API? [英] Using WinRT APIs in Credential Provider?

查看:66
本文介绍了在Credential Provider中使用WinRT API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在编写一个针对Windows 8 / 8.1 / 10的V2凭据提供程序,我发现我现在使用的是现有的Win32 API在内部使用它有一些问题,但不再维护,微软的一般建议是
开始使用WinRT API。我想知道在凭证提供商的背景下这样做是否安全?我问的原因是由于以下建议:



"我们建议您仅对任何加载的加载项组件使用C语言和Win32 API核心操作系统流程。核心操作系统进程的两个示例是Winlogon.exe和Lsass.exe。 -

Microsoft支持

I'm currently writing a V2 Credential Provider targeting Windows 8/8.1/10 and I've found that the existing Win32 APIs that I'm currently using inside it have some issues but are no longer being maintained, with the general recommendation from Microsoft being to start using the WinRT APIs. I was wondering if this is safe to do in the context of a Credential Provider? The reason I ask is because of the following recommendation:

"We recommend that you only use C languages and Win32 APIs for any add-in components that are loaded by core operating system processes. Two examples of core operating system processes are Winlogon.exe and Lsass.exe." - Microsoft Support

由于我不知道WinRT API的内幕发生了什么,并且在上面的链接中没有提到它们,只是在没有确认安全的情况下转移到新的API我感到不舒服。


$
提前致谢,

As I have no idea what is happening under-the-hood of the WinRT APIs, and there is no mention of them on the above link, I'm not comfortable just moving to the new APIs without some confirmation that it is safe to do so.

Thanks in advance,

Joe Holman

Joe Holman

推荐答案

嗨Joe Holman,

Hi Joe Holman,

感谢您在此发布。

>> As我不知道WinRT API的内幕是什么,在上面的链接中没有提到它们,我不习惯只是转移到新的API而没有确认这样做是安全的。

根据您提供的文档,核心操作系统进程加载的组件中任何高级语言,框架或运行时的行为未定义。请提供有关您使用哪些WinRT API的更多信息,也许
在MSDN文档中有一些详细解释。

According to the document you provided, the behavior of any high-level language, framework, or runtime in the components that are loaded by core operating system processes is undefined. Please provide more information about which WinRT APIs do you use, maybe there has some detailed explanations in MSDN documents.

在我看来,你可以
connect
给微软发布此问题,将为您提供更多专业支持。

In my opinion, you could connect to Microsoft and post this issue on it, there will be more professional support for you.

您的理解与合作将不胜感激。

Your understanding and cooperation will be grateful.

最诚挚的问候,

Baron Bi


这篇关于在Credential Provider中使用WinRT API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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