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

Removes the dependency relationship between the calling process and the specified sponsor.

This function removes the dependency relationship from the Windows database between the Widnows process and the Sponsor registered with the given name (at the given location in the case of ntxUnregisterDependencyEx).

NTXSTATUS ntxUnregisterDependency(
    LPSTR lpszSponsorName 
);
NTXSTATUS ntxUnregisterDependencyEx(
    LPSTR lpszSponsorName,
    NTXLOCATION hLocation
);

Parameters

lpszSponsorName
Name of the Sponsor involved in the dependency relationship to be removed.
hLocation
The location handle for the Sponsor involved in the dependency relationship to be removed.

Return Values

E_OK
Success.
Error code
Failure. To determine the status, call ntxGetLastRtError.

Status

E_OK
No exceptional conditions occurred.
E_STATE
The specified sponsor does not exist or no dependency relationship has been established with the specified sponsor.
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 ntx.lib
INtime 4.01 (for 64-bit Windows) intime/nt/include/ntx.h ntx.h ntx64.lib
See Also