Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IVirtualSurfaceImageSourceNative interface

Provides the implementation of a large (greater than the screen size) shared surface for DirectX drawing.

Members

The IVirtualSurfaceImageSourceNative interface inherits from ISurfaceImageSourceNative. IVirtualSurfaceImageSourceNative also has these types of members:

Methods

The IVirtualSurfaceImageSourceNative interface has these methods.

MethodDescription
GetUpdateRectCount

Gets the total number of regions of the surface that must be updated.

GetUpdateRects

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

GetVisibleBounds

Gets the boundaries of the visible region of the shared surface.

Invalidate

Invalidates a specific region of the shared surface for drawing.

RegisterForUpdatesNeeded

Registers for the callback that will perform the drawing when an update to the shared surface is requested.

Resize

Resizes the surface.

 

Remarks

This interface provides the native implementation of the Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource Windows runtime type. To obtain a pointer to IVirtualSurfaceImageSourceNative, you must cast a VirtualSurfaceImageSource instance to IInspectable or IUnknown, and call QueryInterface.



Microsoft::WRL::ComPtr<IVirtualSurfaceImageSourceNative>	m_vsisNative;
// ...
IInspectable* vsisInspectable = (IInspectable*) reinterpret_cast<IInspectable*>(virtualSurfaceImageSource);
vsisInspectable->QueryInterface(__uuidof(IVirtualSurfaceImageSourceNative), (void **)&m_vsisNative)
	

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

IID

IID_IVirtualSurfaceImageSourceNative is defined as e9550983-360b-4f53-b391-afd695078691

See also

DirectX and XAML interop

 

 

Community Additions

Show:
© 2014 Microsoft