_IRDPSessionEvents::OnViewingSizeChanged method

Called when the viewer cropping size has changed. You should resize your surface image source in response to this event.

Syntax


void OnViewingSizeChanged(
  [inlong left,
  [inlong top,
  [inlong right,
  [inlong bottom
);

Parameters

left [in]

The x-coordinate of the upper-left corner of the cropping rectangle.

top [in]

The y-coordinate of the upper-left corner of the cropping rectangle.

right [in]

The x-coordinate of the lower-right corner of the cropping rectangle.

bottom [in]

The y-coordinate of the lower-right corner of the cropping rectangle.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

_IRDPSessionEvents

 

 

Show: