SampleAllControlsCredentialProvider

所属分类:对话框与窗口
开发工具:Visual C++
文件大小:76KB
下载次数:149
上传日期:2007-05-26 13:29:24
上 传 者zy26
说明:  微软的Vista的credential provider的全控件示例。此示例演示Vista登陆9个不同UI field类型。初学开发Vista登陆界面替换的可以参考,代码清晰规范。
(the credential provider controls the entire sample. This example demonstrated Vista landing nine different types of UI field. Beginners development Vista landing interface can replace the reference code clear norms.)

文件列表:
Unregister.reg (362, 2006-11-09)
common.h (3690, 2006-10-02)
CSampleCredential.cpp (16861, 2006-11-29)
CSampleCredential.h (6151, 2006-11-29)
CSampleProvider.cpp (7319, 2006-11-29)
CSampleProvider.h (2489, 2006-11-29)
Dll.cpp (3981, 2006-10-02)
Dll.h (481, 2006-10-02)
guid.cpp (40, 2006-10-02)
guid.h (113, 2006-10-02)
helpers.cpp (16989, 2006-11-29)
helpers.h (2234, 2006-11-29)
Register.reg (980, 2006-11-09)
resource.h (32, 2006-10-02)
resources.aps (50264, 2007-04-05)
resources.rc (107, 2006-11-09)
SampleAllControlsCredentialProvider.def (182, 2006-11-09)
SampleAllControlsCredentialProvider.vcproj (5803, 2006-11-16)
SampleAllControlsCredentialProvider.vcproj.E520.zy26.user (1385, 2007-04-05)
tileimage.bmp (49206, 2006-11-09)

// // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // Overview -------- This sample implements a simple credential provider that uses each UI field type. How to run this sample -------------------------------- Once you have built the project, copy SampleAllControlsCredentialProvider.dll to the System32 directory on a Vista machine and run Register.reg from an elevated command prompt. The credential should appear the next time a logon is invoked (such as logging off or rebooting). What this sample demonstrates ----------------------------- This sample demonstrates the use of each of the nine different UI field types. Parts of the sample ------------------- common.h - sets up what a tile looks like and how each of the UI controls will be displayed. CSampleCredential.h/CSampleCredential.cpp - implements ICredentialProviderCredential, which describes one tile. CSampleProvider.h/CSampleProvider.cpp - implements ICredentialProvider, which is the main interface used by LogonUI to talk to a credential provider. Dll.h/Dll.cpp - standard dll setup for a dll that implements COM objects helpers.h/helpers.cpp - useful functionality to deal with serializing credentials, UNICODE_STRING's, etc.

近期下载者

相关文件


收藏者