Skip to content

Latest commit

 

History

History
88 lines (65 loc) · 3.35 KB

nn-windows-ui-xaml-media-dxinterop-isurfaceimagesourcenative.md

File metadata and controls

88 lines (65 loc) · 3.35 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:windows.ui.xaml.media.dxinterop.ISurfaceImageSourceNative
ISurfaceImageSourceNative (windows.ui.xaml.media.dxinterop.h)
Provides the implementation of a shared fixed-size surface for Direct2D drawing.
ISurfaceImageSourceNative
ISurfaceImageSourceNative interface [Windows Runtime]
ISurfaceImageSourceNative interface [Windows Runtime]
described
windows/ISurfaceImageSourceNative
winrt.isurfaceimagesourcenative
winrt\isurfaceimagesourcenative.htm
WinRT
55122048-FA3B-494F-8BD3-97D2C36E4579
12/05/2018
ISurfaceImageSourceNative, ISurfaceImageSourceNative interface [Windows Runtime], ISurfaceImageSourceNative interface [Windows Runtime],described, windows/ISurfaceImageSourceNative, winrt.isurfaceimagesourcenative
windows.ui.xaml.media.dxinterop.h
Windows
Windows 8.1 [desktop apps \| UWP apps]
Windows Server 2012 R2 [desktop apps \| UWP apps]
Windows.ui.xaml.media.dxinterop.idl
Windows.UI.Xaml.dll
Windows
19H1
ISurfaceImageSourceNative
windows.ui.xaml.media.dxinterop/ISurfaceImageSourceNative
c++
APIRef
kbSyntax
COM
Windows.UI.Xaml.dll
ISurfaceImageSourceNative

ISurfaceImageSourceNative interface

-description

Provides the implementation of a shared fixed-size surface for Direct2D drawing.

Note  If the surface is larger than the screen size, use IVirtualSurfaceImageSourceNative instead.
 

-inheritance

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

-remarks

This interface provides the native implementation of the SurfaceImageSource Windows runtime type. To obtain a pointer to ISurfaceImageSourceNative, you must cast a SurfaceImageSource instance to IInspectable or IUnknown, and call QueryInterface.

Microsoft::WRL::ComPtr<ISurfaceImageSourceNative>	m_sisNative;
// ...
IInspectable* sisInspectable = (IInspectable*) reinterpret_cast<IInspectable*>(surfaceImageSource);
sisInspectable->QueryInterface(__uuidof(ISurfaceImageSourceNative), (void **)&m_sisNative)
	

-see-also

DirectX and XAML interop

IUnknown

IVirtualSurfaceImageSourceNative

SurfaceImageSource