IVirtualSurfaceImageSourceNative::GetUpdateRects method (windows.ui.xaml.media.dxinterop.h)

Gets the set of regions that must be updated on the shared surface.

Syntax

HRESULT GetUpdateRects(
  [in]  RECT  *updates,
  [out] DWORD count
);

Parameters

[in] updates

The number of regions that must be updated. You obtain this by calling GetUpdateRectCount.

[out] count

Receives a list of regions that must be updated.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [UWP apps only]
Minimum supported server Windows Server 2012 R2 [UWP apps only]
Target Platform Windows
Header windows.ui.xaml.media.dxinterop.h
DLL Windows.UI.Xaml.dll

See also

DirectX and XAML interop

IVirtualSurfaceImageSourceNative