ClusterRegGetKeySecurity 関数 (clusapi.h)
指定した クラスター データベース キーを保護するセキュリティ記述子のコピーを返します。
構文
LONG ClusterRegGetKeySecurity(
[in] HKEY hKey,
[in] SECURITY_INFORMATION RequestedInformation,
[out] PSECURITY_DESCRIPTOR pSecurityDescriptor,
[in, out] LPDWORD lpcbSecurityDescriptor
);
パラメーター
[in] hKey
クラスター データベース キーを処理します。
[in] RequestedInformation
要求されたセキュリティ記述子を示す SECURITY_INFORMATION 構造体。
[out] pSecurityDescriptor
要求されたセキュリティ記述子のコピーを含む SECURITY_DESCRIPTOR 構造体へのポインター。
[in, out] lpcbSecurityDescriptor
入力時に、 pSecurityDescriptor が指すバッファー内のバイト数へのポインター。 出力時に、バッファーに書き込まれたバイト数のカウントへのポインター。
戻り値
操作が成功した場合、関数は ERROR_SUCCESSを返します。
操作が失敗した場合、関数は システム エラー コードを返します。
要件
要件 | 値 |
---|---|
サポートされている最小のクライアント | サポートなし |
サポートされている最小のサーバー | Windows Server 2008 Enterprise、Windows Server 2008 Datacenter |
対象プラットフォーム | Windows |
ヘッダー | clusapi.h |
Library | ClusAPI.lib |
[DLL] | ClusAPI.dll |