Partager via


IMsRdpClientAdvancedSettings::get_SmartSizing (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a value that indicates whether the display will be scaled to fit the client area of the ActiveX client control.

Syntax

HRESULT get_SmartSizing( 
    VARIANT_BOOL *pfSmartSizing
);

Parameters

  • pfSmartSizing
    [out] VARIANT_BOOL that indicates whether the display will be scaled to fit the client area of the ActiveX client control.

    If this parameter is VARIANT_TRUE, the display will be scaled. If this parameter is VARIANT_FALSE, the display will not be scaled.

Return Value

Returns S_OK if successful. Returns E_NOTIMPL for operating systems other than Windows Embedded CE.

Remarks

Unlike most other properties, the SmartSizing property can be set while the ActiveX client control is connected.

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::put_SmartSizing