VirtualBox

Changeset 36283 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 15, 2011 1:03:12 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70563
Message:

VBoxGINA: Also handle SAS on computer locked notice.

File:
1 edited

Legend:

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

    r36258 r36283  
    335335{
    336336    Log(("VBoxGINA::WlxDisplayLockedNotice\n"));
    337     /* Forward call to MSGINA. */
    338     GWlxDisplayLockedNotice(pWlxContext);
     337
     338    /* check if there are credentials for us, if so simulate C-A-D */
     339    if (credentialsAvailable())
     340    {
     341        Log(("VBoxGINA::WlxDisplayLockedNotice: simulating C-A-D\n"));
     342        /* automatic C-A-D */
     343        pWlxFuncs->WlxSasNotify(hGinaWlx, WLX_SAS_TYPE_CTRL_ALT_DEL);
     344    }
     345    else
     346    {
     347        Log(("VBoxGINA::WlxDisplayLockedNotice: starting credentials poller\n"));
     348        /* start the credentials poller thread */
     349        credentialsPollerCreate();
     350        /* Forward call to MSGINA. */
     351        GWlxDisplayLockedNotice(pWlxContext);
     352    }
    339353}
    340354
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