IVirtualSurfaceImageSourceNative interface

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.
This topic has not yet been rated - Rate this topic

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)
	

See also

DirectX and XAML interop

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.