Method ITcRTimeSimulation:ChangeTickMode

Change the mode of the Usermode Runtime.

Syntax

virtual HRESULT TCOMAPI ChangeTickMode(ULONG rtTickMode) = 0; 

Parameter

Name

Type

Description

rtTickMode

ULONG

Sets the mode of the Usermode Runtime.

RtMode_FastAsPossible := 2
RtMode_Externaltick := 3
RtMode_Cyclic := 4

Method ITcRTimeSimulation:ChangeTickMode 1: Return value

If successful, S_OK ("0") or another positive value will be returned, cf. Return values. Extended messages refer in particular to the column HRESULT in ADS Return Codes.