IServiceThreadPoolConfig::SelectThreadPool メソッド (comsvcs.h)

アクティビティを通じて送信された作業を実行するスレッド プールを選択します。

構文

HRESULT SelectThreadPool(
  [in] CSC_ThreadPool threadPool
);

パラメーター

[in] threadPool

CSC_ThreadPool 列挙体の値。

戻り値

このメソッドは、E_INVALIDARG、E_OUTOFMEMORY、E_FAIL、S_OKの標準戻り値を返すことができます。

要件

   
サポートされている最小のクライアント SP1 を使用した Windows XP [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2003 (デスクトップ アプリのみ)
対象プラットフォーム Windows
ヘッダー comsvcs.h

関連項目

IServiceThreadPoolConfig