PEXTEND_RES_TYPE_CONTROL_CALL callback function

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(
  const PRESTYPE_CTL_CTX context,
  DWORD newTimeoutInMs
)
{...}

Parameters

context

The context to the resource type control code that was called.

newTimeoutInMs

The new timeout, in milliseconds.

Return Value

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

Requirements

   
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