Windows apps
Collapse the table of content
Expand the table of content
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.

IRDPViewerRenderingSurface::SetRenderingSurface method

Sets the rendering surface to be used by the viewer.

Syntax


HRESULT SetRenderingSurface(
  [in] IUnknown *pRenderingSurface,
  [inlong     surfaceWidth,
  [inlong     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 the method succeeds, the return value is S_OK. Otherwise, the return value is an 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

DLL

RdpEncom.dll

See also

IRDPViewerRenderingSurface

 

 

Show:
© 2017 Microsoft