EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

IVirtualSurfaceImageSourceNative::RegisterForUpdatesNeeded method

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

Syntax


HRESULT RegisterForUpdatesNeeded(
  [in] IVirtualSurfaceUpdatesCallbackNative *pCallback
);

Parameters

pCallback [in]

Pointer to an implementation of IVirtualSurfaceUpdatesCallbackNative.

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
IVirtualSurfaceUpdatesCallbackNative
DirectX and XAML interop

 

 

コミュニティの追加

表示:
© 2015 Microsoft