掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
GetFileSecurityのlpnLengthNeeded戻り値変わったのでしょうか (ID:54386)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
ちゃんと原典にあたりましょう。 http://msdn.microsoft.com/library/en-us/secauthz/security/getfilesecurity.asp 0が返る,というのが説明と間違っているような気もします。 まぁ,正しい結果かどうかは関数の戻り値を使い,実際の長さはGetSecurityDescriptorLength http://msdn.microsoft.com/library/en-us/secauthz/security/getsecuritydescriptorlength.asp で取得する,というのが安全なのでは?
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.