TOKEN_PRIVILEGES&LUID_AND_ATTRIBUTES structure
来源:互联网 发布:本溪 农业 盘古网络 编辑:程序博客网 时间:2024/06/05 14:09
typedef struct _TOKEN_PRIVILEGES
{
ULONG PrivilegeCount; //数组元素的个数
LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY]; //数组.类型为LUID_AND_ATTRIBUTES
} TOKEN_PRIVILEGES, *PTOKEN_PRIVILEGES;
有关LUID_AND_ATTRIBUTES,请查阅MSDN.
成员
PrivilegeCount
指定 特权数组的个数(因为下一个参数是一个数组)
Privileges
一个LUID_AND_ATTRIBUTES结构体. 每个结构体包括LUID和特权的属性. 特权的属性可以是下列值的组合:
属性
描述
SE_PRIVILEGE_ENABLED_BY_DEFAULT
特权默认启用
SE_PRIVILEGE_ENABLED
特权启用.
SE_PRIVILEGE_USED_FOR_ACCESS
特权被用来访问一个对象或服务。
这个标志 被用于 标识有关特权,因为
通过一组客户端应用程序,可能包含不必要的特权
LUID_AND_ATTRIBUTES structure
SyntaxC++
typedef struct _LUID_AND_ATTRIBUTES {
LUID Luid;
DWORD Attributes;
} LUID_AND_ATTRIBUTES, *PLUID_AND_ATTRIBUTES;
Members
Luid
Specifies an LUID value.
Attributes
Specifies attributes of the LUID. This value contains up to 32 one-bit flags. Its meaning is dependent on the definition and use of the LUID.
Remarks
An LUID_AND_ATTRIBUTES structure can represent an LUID whose attributes change frequently, such as when the LUID is used to represent privileges in thePRIVILEGE_SET structure. Privileges are represented by LUIDs and have attributes indicating whether they are currently enabled or disabled.
- TOKEN_PRIVILEGES&LUID_AND_ATTRIBUTES structure
- LUID_AND_ATTRIBUTES
- LUID_AND_ATTRIBUTES
- TOKEN_PRIVILEGES
- TOKEN_PRIVILEGES
- TOKEN_PRIVILEGES 结构体
- structure
- 结构 Structure
- QAForum Structure
- id3v2_4_0 structure
- File Structure
- Data Structure
- Structure Packing
- Controlfile Structure
- MPEGLAYER3WAVEFORMAT Structure
- WIN32_FIND_DATA Structure
- NMCUSTOMDRAW Structure
- Structure Packing
- 常用开源工具介绍(不定期更新)
- HDU ACM:1003 Max Sum
- java 内存分配 详解
- ajax中文处理
- BZOJ 3192([JLOI2013]删除物品-双堆转头并头队列)
- TOKEN_PRIVILEGES&LUID_AND_ATTRIBUTES structure
- 多线程切换以及线程进程之间关系
- poj 3252 Round Numbers 排列组合 杨辉三角
- 迅雷一道上机题:nxn的方格,去掉一条对角线的两个对角...
- 定制自己的操作系统(fedora,参照官方指南)
- Northcott Game + nim博弈
- 分页效果(无刷新)
- poj2777线段树+lazy思想
- 模板类要注意的地方