IWTSBitmapRendererCallback::OnTargetSizeChanged method (tsvirtualchannels.h)

Called when the size of the render target has changed. The image passed to IWTSBitmapRenderer::Render must conform to this size.

Syntax

HRESULT OnTargetSizeChanged(
  [in] RECT rcNewSize
);

Parameters

[in] rcNewSize

A RECT structure that contains the new size of the render target.

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

IWTSBitmapRendererCallback