MS Credential Provider Sample“SampleHardwareEventCredentialProvider”什么都不行? [英] MS Credential Provider Sample "SampleHardwareEventCredentialProvider" does'nt work ???

查看:82
本文介绍了MS Credential Provider Sample“SampleHardwareEventCredentialProvider”什么都不行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在"CCommandWindow :: _ WndProc"中这个示例的函数(CommandWindow.cpp文件),WM_DEVICECHANGE代码是写的,但从未被调用。

这里是评论:
//最初我们打算插入和删除USB密钥,但它看起来好像这些事件并没有在安全桌面上找到我们。但是,你//可能会在CredUI中看到一些messagebox。
// TODO:删除如果我们不能使用LogonUI。

好的谢谢:),但是如何检测usb密钥插入???


In the "CCommandWindow::_WndProc" function (CommandWindow.cpp file) of this sample, WM_DEVICECHANGE code is written, but never called.

Here is the comments :
    // Originally we were going to work with USB keys being inserted and removed, but it
    // seems as though these events don't get to us on the secure desktop. However, you
    // might see some messageboxi in CredUI.
    // TODO: Remove if we can't use from LogonUI.

OK thanks :) , but how do I detect usb key insertion ???


推荐答案

如果没有人回答你的问题,你可以尝试这些想法找到:


1.
Dan Griffen在MSDN杂志上写了一篇热门文章: 创建自定义
使用Creden登录体验适用于Windows Vista的代码提供商

1.       Dan Griffen wrote a popular article in MSDN Magazine: Create Custom Login Experiences With Credential Providers For Windows Vista.

2. 设置
的Vista Credential Provider示例
Microsoft下载中心带有额外文档

2.       This set of Vista Credential Provider samples on Microsoft Download center comes with extra documentation.

3. 在MDSN中搜索
文章,
论坛和关于凭据提供商的博客文章

3.       Search in MDSN for articles, forum and blog posts about Credential Provider.

4. < span style ="color:rgb(152,72,6)">电子邮件 credprov@microsoft.com ,它是创建样本的Shell团队的

< span style ="color:rgb(152,72,6)">

- Karin

|| Karin Meier || Windows SDK PM || 样本 社区 || http://blogs.msdn.com/KarinM ||

||Karin Meier||Windows SDK PM||Samples.Community||http://blogs.msdn.com/KarinM||


这篇关于MS Credential Provider Sample“SampleHardwareEventCredentialProvider”什么都不行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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