SetThreadCount

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Sets the global thread count, and assigns that count to the current thread.

Syntax

HRESULT WINAPI SetThreadCount(int threadCount);  

Parameters

[in] threadCount
The number of threads to use.

Return Value

An [HRESULT]() with the [SUCCEEDED]() bit set if the thread count was updated.

Requirements

Header: FileTracker.h