MediaPlayer.CopyFrameToVideoSurface MediaPlayer.CopyFrameToVideoSurface MediaPlayer.CopyFrameToVideoSurface MediaPlayer.CopyFrameToVideoSurface MediaPlayer.CopyFrameToVideoSurface Method

Definition

Overloads

CopyFrameToVideoSurface(IDirect3DSurface) CopyFrameToVideoSurface(IDirect3DSurface) CopyFrameToVideoSurface(IDirect3DSurface) CopyFrameToVideoSurface(IDirect3DSurface) CopyFrameToVideoSurface(IDirect3DSurface)

Copies the current video frame from the MediaPlayer to the provided IDirect3DSurface.

CopyFrameToVideoSurface(IDirect3DSurface, Rect) CopyFrameToVideoSurface(IDirect3DSurface, Rect) CopyFrameToVideoSurface(IDirect3DSurface, Rect) CopyFrameToVideoSurface(IDirect3DSurface, Rect) CopyFrameToVideoSurface(IDirect3DSurface, Rect)

Copies the current video frame from the MediaPlayer to the specified target rectangle within the provided IDirect3DSurface.

CopyFrameToVideoSurface(IDirect3DSurface) CopyFrameToVideoSurface(IDirect3DSurface) CopyFrameToVideoSurface(IDirect3DSurface) CopyFrameToVideoSurface(IDirect3DSurface) CopyFrameToVideoSurface(IDirect3DSurface)

Copies the current video frame from the MediaPlayer to the provided IDirect3DSurface.

public : void CopyFrameToVideoSurface(IDirect3DSurface destination)
void CopyFrameToVideoSurface(IDirect3DSurface destination) const;
public void CopyFrameToVideoSurface(IDirect3DSurface destination)
Public Sub CopyFrameToVideoSurface(destination As IDirect3DSurface)
mediaPlayer.copyFrameToVideoSurface(destination);

Parameters

destination
IDirect3DSurface IDirect3DSurface IDirect3DSurface

The IDirect3DSurface to which the video frame is copied.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

CopyFrameToVideoSurface(IDirect3DSurface, Rect) CopyFrameToVideoSurface(IDirect3DSurface, Rect) CopyFrameToVideoSurface(IDirect3DSurface, Rect) CopyFrameToVideoSurface(IDirect3DSurface, Rect) CopyFrameToVideoSurface(IDirect3DSurface, Rect)

Copies the current video frame from the MediaPlayer to the specified target rectangle within the provided IDirect3DSurface.

public : void CopyFrameToVideoSurface(IDirect3DSurface destination, Rect targetRectangle)
void CopyFrameToVideoSurface(IDirect3DSurface destination, Rect targetRectangle) const;
public void CopyFrameToVideoSurface(IDirect3DSurface destination, Rect targetRectangle)
Public Sub CopyFrameToVideoSurface(destination As IDirect3DSurface, targetRectangle As Rect)
mediaPlayer.copyFrameToVideoSurface(destination, targetRectangle);

Parameters

destination
IDirect3DSurface IDirect3DSurface IDirect3DSurface

The IDirect3DSurface to which the video frame is copied.

targetRectangle
Rect Rect Rect

The target rectangle within the IDirect3DSurface to which the video frame is copied.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)