PendingTimeout Property for Resources

The PendingTimeout property provides the number of milliseconds that the Resource Monitor waits after the resource returns a status of ERROR_IO_PENDING from its Online or Offline entry point functions.

Quick Info

Type: DWORD
Access: Read/write
Function: ClusterResourceControl
Structure: CLUSPROP_DWORD
Control Code: CLUSCTL_RESOURCE_GET_COMMON_PROPERTIES

Remarks

When ClusterResourceControl processes the CLUSCTL_RESOURCE_GET_COMMON_PROPERTIES control code, it returns a property list that includes the PendingTimeout property as one of the entries. The property value portion of the entry contains a CLUSPROP_DWORD structure that is set as follows:

DWORD PendingTimeoutData = 4;
CLUSPROP_DWORD PendingTimeoutValue;
PendingTimeoutValue.Syntax = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
PendingTimeoutValue.cbLength = sizeof(DWORD);
PendingTimeoutValue.dw = PendingTimeoutData;
 

When the amount of time specified by the PendingTimeout property has passed, and the resource has not transitioned to the ClusterResourceOnline or ClusterResourceOffline state, the Resource Monitor terminates the resource by calling its Terminate entry point function.

If the PendingTimeout property is not specified, the Resource Monitor uses a default value of 3 minutes.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.