VirtualBox

Ignore:
Timestamp:
May 17, 2023 1:48:57 PM (21 months ago)
Author:
vboxsync
Message:

*: A bunch of adjustments that allows using /permissive- with Visual C++ (qt 6.x necessity).

File:
1 edited

Legend:

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

    r98103 r99828  
    6969{
    7070    /** The actual method name the subscription is for. */
    71     char *pszMethod;
     71    const char *pszMethod;
    7272    /** A friendly name for the subscription. */
    73     char *pszSubscriptionName;
     73    const char *pszSubscriptionName;
    7474    /** The actual subscription UUID.
    7575     *  Should not be changed. */
    76     char *pszSubscriptionUUID;
     76    const char *pszSubscriptionUUID;
    7777} g_aSENSEvents[] = {
    7878    { "Logon",             "VBoxCredProv SENS Logon",             "{561D0791-47C0-4BC3-87C0-CDC2621EA653}" },
     
    284284            break;
    285285
    286         hr = g_pIEventSystem->Store(PROGID_EventSubscription, (IUnknown*)pIEventSubscription);
     286        hr = g_pIEventSystem->Store((BSTR)PROGID_EventSubscription, (IUnknown*)pIEventSubscription);
    287287        if (FAILED(hr))
    288288            break;
     
    346346        AssertContinue(SUCCEEDED(hr)); /* keep going */
    347347        int  iErrorIdX;
    348         hr = g_pIEventSystem->Remove(PROGID_EventSubscription, bstrSubToRemove.raw(), &iErrorIdX);
     348        hr = g_pIEventSystem->Remove((BSTR)PROGID_EventSubscription, bstrSubToRemove.raw(), &iErrorIdX);
    349349        if (FAILED(hr))
    350350        {
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