PSIGNAL_FAILURE_ROUTINE callback function (resapi.h)

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(
  [in] RESOURCE_HANDLE ResourceHandle,
  [in] FAILURE_TYPE FailureType,
  [in] DWORD ApplicationSpecificErrorCode
)
{...}

Parameters

[in] ResourceHandle

A handle to the resource instance.

[in] FailureType

A FAILURE_TYPE enumeration value that describes the failure type.

Windows Server 2012:  Not supported.

[in] ApplicationSpecificErrorCode

An application error code.

Return value

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

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header resapi.h

See also

Resource DLL Callback Functions