2.4.173 MTRSettings

The MTRSettings record specifies multithreaded calculation settings.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

frtHeader

...

...

fMTREnabled

fUserSetThreadCount

cUserThreadCount

frtHeader (12 bytes): An FrtHeader structure. The frtHeader.rt field MUST be 0x089A.

fMTREnabled (4 bytes): A Boolean (section 2.5.14) that specifies whether the multithreaded calculation is enabled. MUST be a value from the following table:

Value

Meaning

0x00000000

Multithreaded calculation is disabled.

0x00000001

Multithreaded calculation is enabled.

fUserSetThreadCount (4 bytes):  A Boolean that specifies whether the thread count was manually specified by the user. MUST be a value from the following table:

Value

Meaning

0x00000000

The thread count cUserThreadCount was not manually specified by the user.

0x00000001

The thread count cUserThreadCount was manually specified by the user.

cUserThreadCount (4 bytes): A signed integer that specifies the count of calculation threads. MUST be greater than or equal to 0x00000001 and MUST be less than or equal to 0x00000400. If fMTREnabled is 0x00000000 or fUserSetThreadCount is 0x00000000, the value of this field MUST be ignored.