VirtualBox

Changeset 40268 in vbox for trunk/src/VBox/Additions/WINNT


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.

Location:
trunk/src/VBox/Additions/WINNT/VBoxCredProv
Files:
12 added
15 deleted
2 edited
2 moved

Legend:

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

    • Property svn:eol-style deleted
    • Property svn:keywords deleted
    r32188 r40268  
    1 # $Id$
     1# $Id: Makefile.kmk 65483 2010-09-02 08:35:30Z michael $
    22## @file
    33# Sub-Makefile for VBoxCredProv.
     
    55
    66#
    7 # Copyright (C) 2009 Oracle Corporation
     7# Copyright (C) 2009-2012 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2121DLLS += VBoxCredProv
    2222VBoxCredProv_TEMPLATE    = VBOXGUESTR3DLL
    23 VBoxCredProv_DEFS        = LOG_TO_BACKDOOR VBGL_VBOXGUEST VBOX_WITH_HGCM UNICODE
     23VBoxCredProv_DEFS        = VBGL_VBOXGUEST VBOX_WITH_HGCM UNICODE
    2424VBoxCredProv_SDKS.x86    = WINDDK
    2525VBoxCredProv_SOURCES  = \
    26         dll.cpp \
    27         guid.cpp \
    28         helpers.cpp \
    29         VBoxCredential.cpp \
    30         VBoxCredPoller.cpp \
    31         VBoxCredProv.cpp \
    32         VBoxCredProv.def \
    33         VBoxCredProv.rc
     26        VBoxCredentialProvider.cpp \
     27        VBoxCredentialProvider.def \
     28        VBoxCredentialProvider.rc \
     29        VBoxCredProvFactory.cpp \
     30        VBoxCredProvProvider.cpp \
     31        VBoxCredProvCredential.cpp \
     32        VBoxCredProvPoller.cpp \
     33        VBoxCredProvUtils.cpp
    3434
    3535#
  • trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredentialProvider.def

    • Property svn:eol-style deleted
    • Property svn:keywords deleted
  • trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredentialProvider.rc

    • Property svn:eol-style deleted
    • Property svn:keywords deleted
    r40090 r40268  
    1 /* $Id$ */
     1/* $Id: VBoxCredProv.rc 65753 2010-09-10 12:13:11Z fmehnert $ */
    22/** @file
    33 * VBoxCredProv - Resource file containing version info and icon.
     
    55
    66/*
    7  * Copyright (C) 2009-2010 Oracle Corporation
     7 * Copyright (C) 2012 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
  • 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