将字符串格式安全描述符为有效,函数安全说明符。
bool FromString(
LPCTSTR pstr
) throw(...);
参数
- pstr
到包含要转换的 字符串格式安全说明符 的一个Null结尾的字符串的指针。
返回值
返回true在成功。在失败时引发的异常。
备注
使用 CSecurityDesc::ToString,该字符串可以创建。转换安全描述符为字符串可以更轻松地存储和传输。
因为它调用 ConvertStringSecurityDescriptorToSecurityDescriptor,此方法对于Windows 2000才可用和更高版本。
要求
标头: atlsecurity.h