Skip to main content
IWTSBitmapRendererCallback::OnTargetSizeChanged method

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

rcNewSize [in]

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

TSVirtualChannels.idl

See also

IWTSBitmapRendererCallback