Share via


Implementing Terminate

The Terminate entry point function is used to immediately end a process that does not shut down gracefully when the Offline function is called.

To implement Terminate

  1. Required: The Terminate entry point function can be called concurrently with the IsAlive, LooksAlive, Offline, Online, ResourceControl, and ResourceTypeControl entry point functions. Any resources that are accessed by these entry points must be properly guarded.

  2. Recommended: For optimal performance, return within 300 milliseconds. However, the Cluster service handles the situation properly if this time limit is exceeded.

Example

See Resource DLL Examples.