IddCxSwapChainGetDirtyRects function (iddcx.h)

An OS callback function the driver calls when it wants retrieve the dirty rects for the current frame

Syntax

HRESULT IddCxSwapChainGetDirtyRects(
  [in]  IDDCX_SWAPCHAIN              SwapChainObject,
  [in]  const IDARG_IN_GETDIRTYRECTS *pInArgs,
  [out] IDARG_OUT_GETDIRTYRECTS      *pOutArgs
);

Parameters

[in] SwapChainObject

The swap-chain object whose current frame is being queried.

[in] pInArgs

Input arguments of the function

[out] pOutArgs

Output arguments of the function

Return value

(NTSTATUS) The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method may return an appropriate NTSTATUS error code.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header iddcx.h
Library IddCxStub.lib
DLL IddCx.dll
IRQL Must_inspect_result