VirtualBox

Changeset 69806 in vbox


Ignore:
Timestamp:
Nov 22, 2017 12:20:54 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119228
Message:

VirtualBoxClient: Dropped the WMI non-sense to get service status, because the information is readily available in the structure with the service account from. Also, only request minimum SCM access rights when doing the query. [doxygen]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/VirtualBoxClientImpl.cpp

    r69805 r69806  
    377377
    378378# ifdef VBOX_WITH_SDS
     379/**
     380 * Gets the service account name and start type for the given service.
     381 *
     382 * @returns IPRT status code (for some reason).
     383 * @param   pwszServiceName The name of the service.
     384 * @param   pwszAccountName Where to return the account name.
     385 * @param   cwcAccountName  The length of the account name buffer (in WCHARs).
     386 * @param   puStartType     Where to return the start type.
     387 */
    379388int VirtualBoxClient::i_getServiceAccountAndStartType(const wchar_t *pwszServiceName,
    380389                                                      wchar_t *pwszAccountName, size_t cwcAccountName, uint32_t *puStartType)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette