modGlobal: MsgWaitObj

MsgWaitObj

The MsgWaitObj function replaces Sleep, WaitForSingleObject, WaitForMultipleObjects functions.
Unlike these functions, it doesnt block thread messages processing.



 Public Function MsgWaitObj(
	  Interval As Long,
	  Optional hObj As Long = 0 &,
	  Optional nObj As Long = 0 & ) As Long

Parameters

Interval
[ByRef] Long. Milliseconds
hObj
[ByRef] Optional. Long.  

Default: 0 &

nObj
[ByRef] Optional. Long.  

Default: 0 &

Return Values

Long - 

Remarks

See Also

Project pop2owa Overview Class modGlobal Overview modGlobal Properties modGlobal Methods MsgWaitForMultipleObjects (function) oPOP3