IVirtualSurfaceImageSourceNative::GetUpdateRects method

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

Syntax


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

Parameters

count [in]

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

pUpdates [out]

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

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Header

Windows.ui.xaml.media.dxinterop.h

IDL

Windows.ui.xaml.media.dxinterop.idl

DLL

Windows.UI.Xaml.dll

See also

IVirtualSurfaceImageSourceNative
DirectX and XAML interop

 

 

Show: