INtime SDK Help
ntxRegisterDependency(INtimeDotNet)
INtime SDK v7 > About INtime > Alternate APIs > INtimeDotNet > ntxRegisterDependency(INtimeDotNet)

Creates a dependency relationship between the calling process and the specified sponsor. This function looks up the name in the sponsor list and creates a dependency relationship to that sponsor process. dwMilliseconds determines the amount of time the call waits for the sponsor to register.

Visual Basic:

Sub ntxRegisterDependency(
  ByVal lpszSponsorName As String,
  ByVal dwMilliseconds As Integer)

Visual C#:

void ntxRegisterDependency (
  String lpszSponsorName,
  Int32 dwMilliseconds );

Parameters

lpszSponsorName
Name of the Sponsor with which to create a dependency relationship.
dwMilliseconds
The number of milliseconds to wait for the sponsor to register. INFINITE to wait forever.

Status

E_TIME
Specified time-out elapsed before the specified sponsor ever registered.
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