IRDPSRAPIWindow::Shared property

Gets or sets the sharing property for a window.

Whether a window is shared or not also depends on the state of the parent application object and on the enabled state of the sharing filter. For more information about the enabled state of the sharing filter, see Enabled Property of IRDPSRAPIApplicationFilter.

This property is read/write.

Syntax


HRESULT put_Shared(
  [in]  VARIANT_BOOL NewVal
);

HRESULT get_Shared(
  [out] VARIANT_BOOL *pRetVal
);

Property value

VARIANT_BOOL that enables or disables the shared state of the current window.

Error codes

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

IRDPSRAPIWindow

 

 

Show: