INtime SDK Help
ntxNotifyEvent(INtimeDotNet)
INtime SDK v6 > About INtime > Alternate APIs > INtimeDotNet > ntxNotifyEvent(INtimeDotNet)

Blocks until one of the desired notifications is received. Use this function to get notifications about any combination of system, sponsor, or dependent events.

The call fills the lpEventInfo buffer with information about the event notification. For a description of possible event types, see the NTXEVENTINFO structure.

Visual Basic:

Sub ntxNotifyEvent(
  ByVal dwEventFlags As Integer,
  ByVal dwMilliseconds As Integer,
  ByRef lpEventInfo As NTXEVENTINFO) 

Visual C#:

void ntxNotifyEvent (
  Int32 dwEventFlags,
  Int32 dwMilliseconds,
  ref INtime.NTXEVENTINFO lpEventInfo);

Parameters

dwEventFlags
Specifies a combination of the following notification types the function will receive:

NTX_SYSTEM_EVENT_NOTIFICATIONS
NTX_CLIENT_NOTIFICATIONS
NTX_SPONSOR_NOTIFICATIONS
NTX_DEPENDENT_NOTIFICATIONS
dwMilliseconds
Specifies the length of time the thread blocks, waiting for the notification to occur.
lpEventInfo
An NTXEVENTINFO structure into which the event information is placed.

INtimeException Status

E_TIME
The specified dwMilliseconds elapsed before any event was received.
E_NTX_INTERNAL_ERROR
The DLL could not contact the RT kernel to complete the request.

Requirements

Versions Reference
INtime 3.0 INtimeDotNet

See Also

INtimeDotNet system calls, Distributed systems manager calls, Process system calls, NTXEVENTINFO