IddCxSwapChainGetDirtyRects function

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

Syntax

HRESULT IddCxSwapChainGetDirtyRects(
  IDDCX_SWAPCHAIN              SwapChainObject,
  const IDARG_IN_GETDIRTYRECTS *pInArgs,
  IDARG_OUT_GETDIRTYRECTS      *pOutArgs
);

Parameters

SwapChainObject

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

pInArgs

Input arguments of the function

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

   
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