Copyright © 2011-2019 MultiMedia Soft

ConsoleWait method

Previous pageReturn to chapter overviewNext page

Remarks

 

Utility function which allows waiting for a given amount of time when running the API from a console application.

This call avoids taking too much CPU while waiting for a keystroke without blocks on the console application.

 

 

Syntax

 

[Visual Basic]

Public Sub ConsoleWait (

nWaitTimeMs as Int32

)


 

[C#]

public void ConsoleWait (

Int32 nWaitTimeMs

);


 

[C++]

public: void ConsoleWait (

Int32 nWaitTimeMs

);


 

 

Parameter

Description

 

 

nWaitTimeMs

Time to wait expressed in milliseconds