PEXTEND_RES_TYPE_CONTROL_CALL callback function (resapi.h)

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

Syntax

PEXTEND_RES_TYPE_CONTROL_CALL PextendResTypeControlCall;

DWORD PextendResTypeControlCall(
  [in] const PRESTYPE_CTL_CTX context,
  [in] DWORD newTimeoutInMs
)
{...}

Parameters

[in] context

The context to the resource type 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 DLL Callback Functions

Resource Type Control Codes