This topic has not yet been rated - Rate this topic

IRDPSRAPISharingSession::SetDesktopSharedRect method

Sets the desktop region that will be shared.

Syntax


HRESULT SetDesktopSharedRect(
  [in]  long left,
  [in]  long top,
  [in]  long right,
  [in]  long bottom
);

Parameters

left [in]

Type: long

X-coordinate of the upper-left corner of the shared rectangle.

top [in]

Type: long

Y-coordinate of the upper-left corner of the shared rectangle.

right [in]

Type: long

X-coordinate of the lower-right corner of the shared rectangle.

bottom [in]

Type: long

Y-coordinate of the lower-right corner of the shared rectangle.

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Rdpencomapi.h

IDL

Rdpencomapi.idl

Type library

Rdpencomapi.tlb

See also

IRDPSRAPISharingSession

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.