Share via


IMsTscAx::get_DesktopWidth

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method retrieves the value of the DesktopWidth property, the width in pixels of the current control's remote desktop.

Syntax

HRESULT get_DesktopWidth(
  LONG* pVal
);

Parameters

  • pVal
    [out] A pointer to the value of the DesktopWidth property.

Return Value

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Requirements

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

See Also

Reference

IMsTscAx
IMsTscAx::get_DesktopHeight