VirtualBox

Ignore:
Timestamp:
Feb 28, 2012 10:33:00 AM (13 years ago)
Author:
vboxsync
Message:

VBoxCredProv: Rewritten VirtualBox credential provider; now uses proper (optional) guest logging, added auto-logon facility status reporting.

File:
1 edited

Legend:

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

    r27860 r40268  
    1717    credUiInfo.hwndParent = NULL;
    1818
    19     DWORD rc = CredUIPromptForWindowsCredentials(&(credUiInfo), 0, &(authPackage),
    20                                                  NULL, 0, &authBuffer, &authBufferSize, &(save), 0);
    21     printf("Test returned %ld\n", rc);
    22     return rc;
     19    DWORD dwErr = CredUIPromptForWindowsCredentials(&(credUiInfo), 0, &(authPackage),
     20                                                    NULL, 0, &authBuffer, &authBufferSize, &(save), 0);
     21    printf("Test returned %ld\n", dwErr);
     22   
     23    return dwERR == ERROR_SUCCESS ? 0 : 1;
    2324}
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