从凭据提供程序登录而不提交按钮Windows 7 x64 [英] Login from Credential Provider without Submit button Windows 7 x64

查看:79
本文介绍了从凭据提供程序登录而不提交按钮Windows 7 x64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在为Windows 7 X64构建一个凭证提供程序。

我已经设法让示例工作,并将其剥离,因此它只显示tileimage和large文本,我用作状态指示器。

Hello, I am building a Credential Provider for Windows 7 X64.
I have managed to get the sample working, and have stripped it down so it only displays the tileimage and the large text, which I use as a status indicator.

我的目标是建立一个提供程序,根据它在USB记忆棒上找到的信息自动登录。如果没有插入USB记忆棒,它将无法登录。

My aim is to make a provider that will automatically log me in based on information it finds on a USB stick. Without the USB stick plugged in, it won't log in.

我想知道提交按钮调用的功能,或者我如何模拟按下提交按钮。

请注意,我删除了样本中对它的所有引用,实际显示的唯一内容是tileimage和大文本。

I want to know what function the submit button calls, or how I can simulate a submit button press.
Note that I removed all references to it in the sample and the only things actually showing up is the tileimage and large text.

如何模拟按钮按下?是否仍然可以发布消息并删除按钮?

How to simulate such button press? Is it still possible to post a message with the button being removed?

问候Ultimate-Tester

Greetings Ultimate-Tester

推荐答案

调用ICredentialProviderEvents :: CredentialsChanged(您在ICredentialProvider中有来自您的Advise成员的ICredentialProviderEvents * - 不要忘记AddRef它!)。

Call the ICredentialProviderEvents :: CredentialsChanged (You have an ICredentialProviderEvents* from your Advise member in ICredentialProvider - don't forget to AddRef it!).

这将告诉LogonUI重新加载您的提供商,您现在可以设置"自动登录"旗。这样就可以自动调用GetSerialization()。

This will tell the LogonUI to reload your provider and you can now set the "autologon" flag. This way your GetSerialization() will be called automatically.


这篇关于从凭据提供程序登录而不提交按钮Windows 7 x64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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