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. A process can only register a single sponsor name. Any subsequent calls to register a sponsor name will fail with E_STATE.
NTXSTATUS ntxRegisterSponsor(
LPSTR lpszSponsorName
);
lpszSponsorName
E_OK
E_OK
E_CONTEXT
E_NTX_INTERNAL_ERROR
| 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 |