INtime SDK Help
Finish

This handler is invoked when the UninstallRtServiceDescriptor is called. It is intended to be used to ensure that any service-dependent resources are cleaned up before the service process is killed.

If implementation is not required, the pFinish field of the SERVICEDESC structure should be set to NULL.

void Finish(
    LPSERVICEDESC pService,
    LPWORD pExcep
);

Return Values

Return status code in pExcep.

See Also

RT Service handlers, UninstallRtServiceDescriptor, SERVICEDESC