Partager via


OnSharedDesktopSettingsChanged event

Called when a shared desktop setting changes.

Syntax

void OnSharedDesktopSettingsChanged(
  [in] long width,
  [in] long height,
  [in] long colordepth
);

Parameters

width [in]

The control's remote desktop width, in pixels.

height [in]

The control's remote desktop height, in pixels.

colordepth [in]

The color depth for the control's connection.

Return value

This event does not return a value.

Requirements

Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
RdpEncomAPI.h
IDL
RdpEncomAPI.idl
Type library
RdpEncomAPI.tlb
DLL
RdpEncom.dll

See also

_IRDPSessionEvents