Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IRDPSRAPISharingSession::GetDesktopSharedRect method

Retrieves the current desktop region being shared.

Syntax


HRESULT GetDesktopSharedRect(
  [out]  long *left,
  [out]  long *top,
  [out]  long *right,
  [out]  long *bottom
);

Parameters

left [out]

Type: long*

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

top [out]

Type: long*

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

right [out]

Type: long*

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

bottom [out]

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.