IRDPViewerRenderingSurface::SetRenderingSurface method

Sets the rendering surface to be used by the viewer.

Syntax


HRESULT SetRenderingSurface(
  [in]  IUnknown *pRenderingSurface,
  [in]  long surfaceWidth,
  [in]  long surfaceHeight
);

Parameters

pRenderingSurface [in]

The address of the SurfaceImageSource object to use for the rendering surface.

surfaceWidth [in]

The width, in pixels, of the rendering surface.

surfaceHeight [in]

The height, in pixels, of the rendering surface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Rdpencomapi.h

IDL

Rdpencomapi.idl

Type library

Rdpencomapi.tlb

See also

IRDPViewerRenderingSurface

 

 

Show:
© 2014 Microsoft