Mercurial > trustbridge
comparison common/util.h @ 1030:76cae27b5d83
Clarify doc of has_high_integrity
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 04 Sep 2014 11:11:36 +0200 |
parents | 6684e5012b7a |
children | 78798d3af8f0 |
comparison
equal
deleted
inserted
replaced
1029:6684e5012b7a | 1030:76cae27b5d83 |
---|---|
136 */ | 136 */ |
137 bool create_restricted_directory (LPWSTR path); | 137 bool create_restricted_directory (LPWSTR path); |
138 | 138 |
139 /**@briefu Check the integrity level of the token | 139 /**@briefu Check the integrity level of the token |
140 * | 140 * |
141 * Returns true if the token has SECURITY_MANADTORY_HIGH_RID or | 141 * Returns true if the token has at least SECURITY_MANADTORY_HIGH_RID or |
142 * SECURITY_MANDATORY_SYSTEM_RID and false otherwise. | 142 * higher. |
143 * | 143 * |
144 * @param[in] hToken the Token to check | 144 * @param[in] hToken the Token to check |
145 * | 145 * |
146 * @returns true if the token has at least high integrity. | 146 * @returns true if the token has at least high integrity. False on error |
147 * or otherwise. | |
147 */ | 148 */ |
148 bool has_high_integrity(HANDLE hToken); | 149 bool has_high_integrity(HANDLE hToken); |
149 | 150 |
150 #endif | 151 #endif |
151 | 152 |