SECURITY_IMPERSONATION_LEVEL枚举 (wudfddi.h)
[仅适用于 UMDF]
SECURITY_IMPERSONATION_LEVEL 枚举包含标识安全模拟级别的值。
语法
typedef enum _SECURITY_IMPERSONATION_LEVEL {
SecurityAnonymous,
SecurityIdentification,
SecurityImpersonation,
SecurityDelegation
} SECURITY_IMPERSONATION_LEVEL;
常数
SecurityAnonymous 驱动程序无法模拟或标识客户端。 |
SecurityIdentification 驱动程序可以获取客户端的标识和特权,但无法模拟客户端。 |
SecurityImpersonation 驱动程序可以在本地系统上模拟客户端的安全上下文。 |
SecurityDelegation 驱动程序可以在远程系统上模拟客户端的安全上下文。 |
言论
有关 UMDF 中的模拟的详细信息,请参阅 处理客户端模拟。
UMDF 驱动程序向 IWDFIoRequest::Impersonate 方法提供 SECURITY_IMPERSONATION_LEVEL 值之一来设置安全模拟级别。
有关安全模拟级别的详细信息,请参阅 Microsoft Windows SDK 文档中 SECURITY_IMPERSONATION_LEVEL 枚举类型。
要求
要求 | 价值 |
---|---|
标头 | wudfddi.h (包括 Wudfddi.h) |