IVirtualSurfaceUpdatesCallbackNative interface (windows.ui.xaml.media.dxinterop.h)

Provides an interface for the implementation of drawing behaviors when a VirtualSurfaceImageSource requests an update.

Inheritance

The IVirtualSurfaceUpdatesCallbackNative interface inherits from the IUnknown interface. IVirtualSurfaceUpdatesCallbackNative also has these types of members:

Methods

The IVirtualSurfaceUpdatesCallbackNative interface has these methods.

 
IVirtualSurfaceUpdatesCallbackNative::UpdatesNeeded

Performs the drawing behaviors when an update to VirtualSurfaceImageSource is requested.

Remarks

This interface is implemented by the developer to provide specific drawing behaviors for updates to a VirtualSurfaceImageSource. Classes that implement this interface are provided to the IVirtualSurfaceImageSourceNative::RegisterForUpdatesNeeded, which calls the UpdatesNeeded method implementation whenever an update is requested.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header windows.ui.xaml.media.dxinterop.h

See also

DirectX and XAML interop

IVirtualSurfaceImageSourceNative

IVirtualSurfaceImageSourceNative::RegisterForUpdatesNeeded

VirtualSurfaceImageSource