VirtualBox

Ignore:
Timestamp:
Sep 11, 2010 6:02:17 PM (14 years ago)
Author:
vboxsync
Message:

scm cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredProv.cpp

    r30252 r32431  
    6969
    7070
    71 /* 
     71/*
    7272 * SetUsageScenario is the provider's cue that it's going to be asked for tiles
    7373 * 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.
    7575 */
    7676HRESULT VBoxCredProv::SetUsageScenario(CREDENTIAL_PROVIDER_USAGE_SCENARIO cpUsageScenario,
     
    105105                {
    106106                    hr = m_pCred->Initialize(m_cpUsageScenario,
    107                                              s_rgCredProvFieldDescriptors, 
     107                                             s_rgCredProvFieldDescriptors,
    108108                                             s_rgFieldStatePairs);
    109109                }
     
    134134        case CPUS_CREDUI:
    135135        case CPUS_PLAP:
    136        
     136
    137137            hr = E_NOTIMPL;
    138138            break;
     
    149149
    150150
    151 /* 
     151/*
    152152 * SetSerialization takes the kind of buffer that you would normally return to LogonUI for
    153153 * an authentication attempt.  It's the opposite of ICredentialProviderCredential::GetSerialization.
     
    168168
    169169
    170 /* 
     170/*
    171171 * Called by LogonUI to give you a callback.  Providers often use the callback if they
    172172 * some event would cause them to need to change the set of tiles (visible UI elements)
    173  * that they enumerated. 
     173 * that they enumerated.
    174174 */
    175175HRESULT VBoxCredProv::Advise(ICredentialProviderEvents *pcpEvents,
     
    187187    /*
    188188     * Save advice context for later use when binding to
    189      * certain ICredentialProviderEvents events. 
     189     * certain ICredentialProviderEvents events.
    190190     */
    191191    m_upAdviseContext = upAdviseContext;
     
    199199    Log(("VBoxCredProv::UnAdvise\n"));
    200200    if (m_pCredProvEvents != NULL)
    201     {     
     201    {
    202202        m_pCredProvEvents->Release();
    203203        m_pCredProvEvents = NULL;
     
    208208
    209209
    210 /* 
     210/*
    211211 * Called by LogonUI to determine the number of fields in your tiles. This
    212212 * does mean that all your tiles must have the same number of fields.
     
    248248
    249249
    250 /* 
     250/*
    251251 * Sets pdwCount to the number of tiles that we wish to show at this time.
    252252 * Sets pdwDefault to the index of the tile which should be used as the default.
     
    317317       && ppCredProvCredential)
    318318    {
    319         hr = m_pCred->QueryInterface(IID_ICredentialProviderCredential, 
     319        hr = m_pCred->QueryInterface(IID_ICredentialProviderCredential,
    320320                                     reinterpret_cast<void**>(ppCredProvCredential));
    321321    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette