// iddcx.h
HRESULT IddCxSwapChainGetDirtyRects(
[in] IDDCX_SWAPCHAIN SwapChainObject,
[in] const IDARG_IN_GETDIRTYRECTS *pInArgs,
[out] IDARG_OUT_GETDIRTYRECTS *pOutArgs
);
View the official Windows Driver Kit DDI referenceNo description available.
An OS callback function the driver calls when it wants retrieve the dirty rects for the current frame
SwapChainObject [in]The swap-chain object whose current frame is being queried.
pInArgs [in]Input arguments of the function
pOutArgs [out]Output arguments of the function
(NTSTATUS) The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method may return an appropriate NTSTATUS error code.