Changeset 32431 in vbox for trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredProv.cpp
- Timestamp:
- Sep 11, 2010 6:02:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredProv.cpp
r30252 r32431 69 69 70 70 71 /* 71 /* 72 72 * SetUsageScenario is the provider's cue that it's going to be asked for tiles 73 73 * in a subsequent call. This call happens after the user pressed CTRL+ALT+DEL 74 * and we need to handle the CPUS_LOGON event. 74 * and we need to handle the CPUS_LOGON event. 75 75 */ 76 76 HRESULT VBoxCredProv::SetUsageScenario(CREDENTIAL_PROVIDER_USAGE_SCENARIO cpUsageScenario, … … 105 105 { 106 106 hr = m_pCred->Initialize(m_cpUsageScenario, 107 s_rgCredProvFieldDescriptors, 107 s_rgCredProvFieldDescriptors, 108 108 s_rgFieldStatePairs); 109 109 } … … 134 134 case CPUS_CREDUI: 135 135 case CPUS_PLAP: 136 136 137 137 hr = E_NOTIMPL; 138 138 break; … … 149 149 150 150 151 /* 151 /* 152 152 * SetSerialization takes the kind of buffer that you would normally return to LogonUI for 153 153 * an authentication attempt. It's the opposite of ICredentialProviderCredential::GetSerialization. … … 168 168 169 169 170 /* 170 /* 171 171 * Called by LogonUI to give you a callback. Providers often use the callback if they 172 172 * some event would cause them to need to change the set of tiles (visible UI elements) 173 * that they enumerated. 173 * that they enumerated. 174 174 */ 175 175 HRESULT VBoxCredProv::Advise(ICredentialProviderEvents *pcpEvents, … … 187 187 /* 188 188 * Save advice context for later use when binding to 189 * certain ICredentialProviderEvents events. 189 * certain ICredentialProviderEvents events. 190 190 */ 191 191 m_upAdviseContext = upAdviseContext; … … 199 199 Log(("VBoxCredProv::UnAdvise\n")); 200 200 if (m_pCredProvEvents != NULL) 201 { 201 { 202 202 m_pCredProvEvents->Release(); 203 203 m_pCredProvEvents = NULL; … … 208 208 209 209 210 /* 210 /* 211 211 * Called by LogonUI to determine the number of fields in your tiles. This 212 212 * does mean that all your tiles must have the same number of fields. … … 248 248 249 249 250 /* 250 /* 251 251 * Sets pdwCount to the number of tiles that we wish to show at this time. 252 252 * Sets pdwDefault to the index of the tile which should be used as the default. … … 317 317 && ppCredProvCredential) 318 318 { 319 hr = m_pCred->QueryInterface(IID_ICredentialProviderCredential, 319 hr = m_pCred->QueryInterface(IID_ICredentialProviderCredential, 320 320 reinterpret_cast<void**>(ppCredProvCredential)); 321 321 }
Note:
See TracChangeset
for help on using the changeset viewer.