Terminate callback function
Immediately marks a resource as unavailable for use without waiting for cleanup processing to be completed. The PTERMINATE_ROUTINE type defines a pointer to this function.
VOID WINAPI Terminate( _In_ RESID Resource ); typedef VOID (WINAPI *PTERMINATE_ROUTINE)( _In_ RESID Resource );
- Resource [in]
Resource identifier for the resource to be made unavailable.
This callback function does not return a value.
The Terminate entry-point function instantly marks a resource as unavailable for use. If there is a thread processing an Online or Offline request for the resource, these requests are canceled and the resource is taken offline immediately.
For effective implementation strategies of the Terminate entry-point function, see Implementing Terminate.
Minimum supported client
Minimum supported server
|Windows Server 2003 Enterprise, Windows Server 2003 Datacenter [desktop apps only]|
Build date: 10/15/2013