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
);
lpszSponsorName
dwMilliseconds
E_OK
E_TIME
E_NTX_INTERNAL_ERROR
| 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 |