CSecurityDesc::GetControl

从安全说明符检索控件信息。

bool GetControl(
   SECURITY_DESCRIPTOR_CONTROL * psdc 
) const throw( );

参数

  • psdc
    为获取安全说明符的控件的信息。SECURITY_DESCRIPTOR_CONTROL 结构的指针。

返回值

返回true,则方法成功,错误;如果失败。

备注

此方法仅是有意义的,在使用Windows 2000或更高版本时,将象调用 GetSecurityDescriptorControl

要求

Header: atlsecurity.h

请参见

参考

CSecurityDesc选件类

CSecurityDesc::GetDacl

CSecurityDesc::GetGroup

CSecurityDesc::GetOwner

CSecurityDesc::GetSacl

CSecurityDesc::SetControl