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 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 |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
See also