This topic has not yet been rated - Rate this topic

LooksAlive callback function

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

Syntax


BOOL WINAPI LooksAlive(
  _In_  RESID Resource
);

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

Parameters

Resource [in]

Resource identifier for the resource to poll.

Return value

Return code/valueDescription
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

Minimum supported client

None supported [desktop apps only]

Minimum supported server

Windows 2000 Server Advanced Server, Windows 2000 Server Datacenter [desktop apps only]

Header

ResApi.h

See also

Resource DLL Entry-Point Functions

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.