PSIGNAL_FAILURE_ROUTINE callback function

Reports that there was a failure in a resource instance. The PSIGNAL_FAILURE_ROUTINE type defines a pointer to this function.

Syntax

PSIGNAL_FAILURE_ROUTINE PsignalFailureRoutine;

DWORD PsignalFailureRoutine(
  RESOURCE_HANDLE ResourceHandle,
  FAILURE_TYPE FailureType,
  DWORD ApplicationSpecificErrorCode
)
{...}

Parameters

ResourceHandle

A handle to the resource instance.

FailureType

A FAILURE_TYPE enumeration value that describes the failure type.

Windows Server 2012:  Not supported.

ApplicationSpecificErrorCode

An application error code.

Return Value

Returns ERROR_SUCCESS (0), if the operation succeeds; otherwise returns a system error code.

Requirements

   
Windows version None supported Windows Server 2012
Target Platform Windows
Header resapi.h

See Also

Resource DLL Callback Functions