CSecurityAttributes::Set
更新 : 2007 年 11 月
CSecurityAttributes オブジェクトの属性を設定します。
void Set(
const CSecurityDesc & rSecurityDescriptor,
bool bInheritHandle = false
) throw(...);
パラメータ
rSecurityDescriptor
セキュリティ記述子への参照。bInheritHandle
新しいプロセスの作成時に、返されるハンドルを継承するかどうかを示す値。このメンバが true の場合、新しいプロセスはハンドルを継承します。
解説
このメソッドは、CSecurityAttributes オブジェクトを初期化するためにコンストラクタが使用します。
必要条件
ヘッダー : atlsecurity.h