Redigera

Dela via


ID3D10Multithread::SetMultithreadProtected method (d3d10.h)

Turn multithreading on or off.

Syntax

BOOL SetMultithreadProtected(
  [in] BOOL bMTProtect
);

Parameters

[in] bMTProtect

Type: BOOL

True to turn multithreading on, false to turn it off.

Return value

Type: BOOL

True if multithreading was turned on prior to calling this method, false otherwise.

Requirements

Requirement Value
Target Platform Windows
Header d3d10.h
Library D3D10.lib

See also

ID3D10Multithread Interface