ID3D11Multithread::SetMultithreadProtected method (d3d11_4.h)

Turns multithread protection on or off.

Syntax

BOOL SetMultithreadProtected(
  [in] BOOL bMTProtect
);

Parameters

[in] bMTProtect

Type: BOOL

Set to true to turn multithread protection on, false to turn it off.

Return value

Type: BOOL

True if multithread protection was already turned on prior to calling this method, false otherwise.

Requirements

Requirement Value
Target Platform Windows
Header d3d11_4.h
Library D3d11_4.lib
DLL D3d11_4.dll

See also

GetMultithreadProtected

ID3D11Multithread