Share via


IMsRdpClientAdvancedSettings::put_PerformanceFlags (Windows Embedded CE 6.0)

1/6/2010

This method sets a value that indicates the set of features at the remote server that are made unavailable to improve performance.

Syntax

HRESULT put_PerformanceFlags( 
    LONG DisableList
);

Parameters

  • DisableList
    [in] Indicates the new flags that are set to make features at the remote server unavailable to improve performance. See the Remarks section for a list of possible values.

    The default value is zero (TS_PERF_DISABLE_NOTHING 0x00000000).

Return Value

Returns S_OK if successful.

Remarks

The flags that can be set in pDisableList include the following.

Flag Value Description

TS_PERF_DISABLE_NOTHING

0x00000000

No features are unavailable to improve performance.

TS_PERF_DISABLE_WALLPAPER

0x00000001

Wallpaper on the desktop is not displayed to improve performance.

TS_PERF_DISABLE_FULLWINDOWDRAG

0x00000002

Full-window drag is not available to improve performance; only the window outline is displayed when the window is moved.

TS_PERF_DISABLE_MENUANIMATIONS

0x00000004

Menu animations are not available to improve performance.

TS_PERF_DISABLE_THEMING

0x00000008

GUI themes are not available to improve performance.

TS_PERF_ENABLE_ENHANCED_GRAPHICS

0x00000010

Enhanced graphics are not available to improve performance.

TS_PERF_DISABLE_CURSOR_SHADOW

0x00000020

The cursor shadow is not available to improve performance.

TS_PERF_DISABLE_CURSORSETTINGS

0x00000040

Cursor blinking is not available to improve performance.

For more information on the user preferences that can be set, see Terminal Services Client Configuration through the .rdp File.

Requirements

Header mstsax.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsRdpClientAdvancedSettings Methods for Customization and Performance
IMsRdpClientAdvancedSettings
IMsRdpClientAdvancedSettings::get_PerformanceFlags