IsAlive

IsAlive callback function

Determines whether a resource is available for use. The PIS_ALIVE_ROUTINE type defines a pointer to this function.

Syntax


BOOL WINAPI IsAlive(
  _In_ RESID Resource
);

typedef BOOL (WINAPI *PIS_ALIVE_ROUTINE)(
    _In_ RESID Resource
);

Parameters

Resource [in]

Resource identifier for the resource to poll.

Return value

TRUE

1

The resource is online and functioning properly.

FALSE

0

The resource is not functioning properly.

Remarks

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

Examples

See Resource DLL Examples.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

Header

ResApi.h

See also

Resource DLL Entry-Point Functions
NetShareGetInfo

 

 

Show:
© 2016 Microsoft