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

Registers the calling process as a Sponsor with the given name.

This function allows the Windows Process to register as a sponsor under the given name. This allows other processes to register as dependent on this process.

NTXSTATUS ntxRegisterSponsor( 
    LPSTR lpszSponsorName 
);

Parameters

lpszSponsorName
Name by which the sponsor will be registered and accessed by dependents.

Return Values

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

Status

E_OK
No exceptional conditions occurred.
E_CONTEXT
The specified sponsor name has already been used.
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 ntxext.lib
INtime 4.01 (for 64-bit Windows) intime/nt/include/ntx.h ntx.h ntx64.lib ntxext64.lib
See Also

DSM