Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IRDPSRAPISharingSession2::SetDesktopSharedRect method

Sets the desktop region that will be shared.

Syntax


HRESULT SetDesktopSharedRect(
  [inlong left,
  [inlong top,
  [inlong right,
  [inlong 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

Minimum supported server

Windows Server 2008

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

IRDPSRAPISharingSession2
IRDPSRAPISharingSession

 

 

Show:
© 2015 Microsoft