IWTSBitmapRenderer::Render method (tsvirtualchannels.h)

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

Syntax

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

Parameters

[in] imageFormat

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

[in] dwWidth

The width of the bitmap.

[in] dwHeight

The height of the bitmap.

[in] cbStride

The stride width of the bitmap.

[in] cbImageBuffer

The size, in bytes, of the pImageBuffer buffer.

[in] pImageBuffer

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

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header tsvirtualchannels.h

See also

IWTSBitmapRenderer