PIS_ALIVE_ROUTINE callback function (resapi.h)
Determines whether a resource is available for use. The PIS_ALIVE_ROUTINE type defines a pointer to this function.
Syntax
PIS_ALIVE_ROUTINE PisAliveRoutine;
BOOL PisAliveRoutine(
[in] RESID Resource
)
{...}
Parameters
[in] Resource
Resource identifier for the resource to poll.
Return value
Return code/value | Description |
---|---|
|
The resource is online and functioning properly. |
|
The resource is not functioning properly. |
Remarks
For effective implementation strategies of the IsAlive entry-point function, see Implementing IsAlive.
Examples
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
Target Platform | Windows |
Header | resapi.h |