ICryptAttribute::InitializeFromValues メソッド (certenroll.h)

InitializeFromValues メソッドは、IX509Attributes オブジェクトを使用して暗号化属性を初期化します。

構文

HRESULT InitializeFromValues(
  [in] IX509Attributes *pAttributes
);

パラメーター

[in] pAttributes

属性コレクションを含む IX509Attributes インターフェイスへのポインター。

戻り値

関数が成功した場合、関数は S_OKを返します。

関数が失敗した場合は、エラーを示す HRESULT 値を返します。 一般的なエラー コードの一覧については、「 共通 HRESULT 値」を参照してください。

注釈

InitializeFromValues メソッドは、コレクション内の最初の IX509Attribute オブジェクトを使用します。

要件

要件
サポートされている最小のクライアント Windows Vista [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2008 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー certenroll.h
[DLL] CertEnroll.dll

こちらもご覧ください

ICryptAttribute

ICryptAttributes

IX509Attribute

IX509Attributes