Share via


IThreadPoolKnobs::GetMaxThreads-Methode (comsvcs.h)

Ruft die maximale Anzahl von Threads ab, die im Pool zulässig sind.

Syntax

HRESULT GetMaxThreads(
  [out] long *plcMaxThreads
);

Parameter

[out] plcMaxThreads

Die maximale Anzahl von Threads, die im Pool zulässig sind. Ein Nullwert gibt an, dass der Pool ohne Begrenzung wachsen kann.

Rückgabewert

Diese Methode kann die Standardrückgabewerte E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL und S_OK zurückgeben.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 2000 Professional [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows 2000 Server [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile comsvcs.h

Weitere Informationen

IThreadPoolKnobs