VirtualBox

Changeset 99828 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 17, 2023 1:48:57 PM (20 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/Frontends/VBoxAutostart/VBoxAutostart-win.cpp

    r98103 r99828  
    386386                                LSA_UNICODE_STRING lwsPrivilege;
    387387                                // Create an LSA_UNICODE_STRING for the privilege names.
    388                                 lwsPrivilege.Buffer = L"SeServiceLogonRight";
     388                                lwsPrivilege.Buffer = (PWSTR)L"SeServiceLogonRight";
    389389                                size_t cwPrivilege = wcslen(lwsPrivilege.Buffer);
    390390                                lwsPrivilege.Length = (USHORT)cwPrivilege * sizeof(WCHAR);
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