PEXTEND_RES_CONTROL_CALL callback function (resapi.h)

Extends the timeout for a call to a resource control code. The PEXTEND_RES_CONTROL_CALL type defines a pointer to this function.

Syntax

PEXTEND_RES_CONTROL_CALL PextendResControlCall;

DWORD PextendResControlCall(
  [in] const PRES_CTL_CTX context,
  [in] DWORD newTimeoutInMs
)
{...}

Parameters

[in] context

The context to the resource control code that was called.

[in] newTimeoutInMs

The new timeout, in milliseconds.

Return value

ERROR_SUCCESS if the operation is successful; otherwise, a system error code.

Requirements

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

See also

Resource Control Codes

Resource DLL Callback Functions