// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file.
DWORD WellKnownCapabilityToRid(WellKnownCapabilities capability) { switch (capability) { case kInternetClient: return SECURITY_CAPABILITY_INTERNET_CLIENT; case kInternetClientServer: return SECURITY_CAPABILITY_INTERNET_CLIENT_SERVER; case kPrivateNetworkClientServer: return SECURITY_CAPABILITY_PRIVATE_NETWORK_CLIENT_SERVER; case kPicturesLibrary: return SECURITY_CAPABILITY_PICTURES_LIBRARY; case kVideosLibrary: return SECURITY_CAPABILITY_VIDEOS_LIBRARY; case kMusicLibrary: return SECURITY_CAPABILITY_MUSIC_LIBRARY; case kDocumentsLibrary: return SECURITY_CAPABILITY_DOCUMENTS_LIBRARY; case kEnterpriseAuthentication: return SECURITY_CAPABILITY_ENTERPRISE_AUTHENTICATION; case kSharedUserCertificates: return SECURITY_CAPABILITY_SHARED_USER_CERTIFICATES; case kRemovableStorage: return SECURITY_CAPABILITY_REMOVABLE_STORAGE; case kAppointments: return SECURITY_CAPABILITY_APPOINTMENTS; case kContacts: return SECURITY_CAPABILITY_CONTACTS; default: break;
} return0;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.