如何动态重新加载(刷新)Windows登录背景图像? [英] How to reload (refresh) windows logon background image dynamically?

查看:84
本文介绍了如何动态重新加载(刷新)Windows登录背景图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Windows 7开发Windows凭据提供程序,当用户在UI元素中设置一些值时,我需要动态更改后台登录图像。我怎么能这样做?请帮助我。

I am developing windows credential provider for windows 7 and I need to change background logon image dynamically when user sets some values in UI elements. How I can to do this? Please help me.

推荐答案

您好,

您只能更改"图标",而不是背景这是硬编码的。

You can only change the "icon", not the background which is hardcoded.

"icon"仅适用于Credential Provider v1(查找
Windows 8更改
 其中该图标代表用户,由logonui设置。

The "icon" is available only for Credential Provider v1 (look for the Windows 8 changes where the icon represents the user and which is set by logonui).

要更改图标,您必须使用ICredentialProvider :: Advise返回的ICredentialProviderEvents对象重新枚举凭据。

To change the Icon, you have to re-enumerate the credentials using the ICredentialProviderEvents object returned by ICredentialProvider::Advise.

问候,

vincent


这篇关于如何动态重新加载(刷新)Windows登录背景图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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