PLOOKS_ALIVE_ROUTINE callback function (resapi.h)

Determines whether a resource appears to be available for use. The PLOOKS_ALIVE_ROUTINE type defines a pointer to this function.

Syntax

PLOOKS_ALIVE_ROUTINE PlooksAliveRoutine;

BOOL PlooksAliveRoutine(
  [in] RESID Resource
)
{...}

Parameters

[in] Resource

Resource identifier for the resource to poll.

Return value

Return code/value Description
TRUE
1
The resource is probably online and available for use.
FALSE
0
The resource may not be functioning properly.

Remarks

For effective implementation strategies of the LooksAlive entry-point function, see Implementing LooksAlive.

Examples

See Resource DLL 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

See also

Resource DLL Entry-Point Functions