INtime SDK Help
ntxRegisterDependency
INtime SDK v6 > About INtime > INtime Kernel > Distributed Systems Manager > ntxRegisterDependency

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

NTXSTATUS ntxRegisterDependency( 
    LPSTR lpszSponsorName, 
    DWORD dwMilliseconds 
);

Parameters

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

Return Values

E_OK
Success.
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 Defined in Include Link to
INtime 3.0 intime/nt/include/ntx.h ntx.h ntxext.lib
INtime 4.01 (for 64-bit Windows) intime/nt/include/ntx.h ntx.h ntxext64.lib
See Also

DSM