IWTSBitmapRenderer::Render method

Called by a dynamic virtual channel plug-in to render bitmaps.

Syntax


HRESULT Render(
  [in]                         GUID  imageFormat,
  [in]                         DWORD dwWidth,
  [in]                         DWORD dwHeight,
  [in]                         DWORD cbStride,
  [in]                         DWORD cbImageBuffer,
  [in, size_is(cbImageBuffer)] BYTE  *pImageBuffer
);

Parameters

imageFormat [in]

Specifies the format of the data in the pImageBuffer buffer. This parameter is ignored and only bitmaps can be rendered.

dwWidth [in]

The width of the bitmap.

dwHeight [in]

The height of the bitmap.

cbStride [in]

The stride width of the bitmap.

cbImageBuffer [in]

The size, in bytes, of the pImageBuffer buffer.

pImageBuffer [in]

An array of bytes that contains the data to render.

Return value

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

TSVirtualChannels.idl

See also

IWTSBitmapRenderer

 

 

Show: